Repository navigation
[#472] 🐛 - Dogfooding reconcile completed issue metadata and native closed status - #473
Conversation
…tadata-and-native-closed-status
…tadata-and-native-closed-status
|
To preview the documentation for this pull request, visit the following URL:
|
There was a problem hiding this comment.
Current status: All findings originating in this review are resolved.
Last reconciled on0e347f4. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem when commit f742118 was analyzed. This snapshot is historical; use the status block above for current state. 1 finding is linked to changed code.
Findings
- low: Reject lifecycle labels that collide with progress labels —
src/domain/issue_completion.ts:35
Bugbot: 1 finding needs attention
Findings
|
Copilot approval · Human review neededStatus: A protected workflow, policy, or trust-boundary file changed. Technical evidenceRevision: |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #473 +/- ##
===========================================
+ Coverage 93.01% 93.03% +0.01%
===========================================
Files 847 850 +3
Lines 26036 26203 +167
Branches 7446 7515 +69
===========================================
+ Hits 24217 24377 +160
- Misses 742 743 +1
- Partials 1077 1083 +6
🚀 New features to boost your workflow:
|
|
/copilot fix "src/domain/issue_completion.ts:35:lifecycle-progress-collision" |
Request could not be completed
Action: Correct the input and retry. Retained state: No new state or external effect was created. Error code: Retryable: No Reference: |
There was a problem hiding this comment.
Current status: All findings originating in this review are resolved.
Last reconciled on0e347f4. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem when commit 6ff3f89 was analyzed. This snapshot is historical; use the status block above for current state. 1 finding is linked to changed code.
Findings
- low: Unavailable SDD evidence is marked historical —
src/application/usecases/read_copilot_status_workflow.ts:42
There was a problem hiding this comment.
Current status: All findings originating in this review are resolved.
Last reconciled on0e347f4. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem when commit f235c07 was analyzed. This snapshot is historical; use the status block above for current state. 1 finding is linked to changed code.
Findings
- low: Final status fence ignores issue label changes —
src/application/usecases/read_copilot_status_workflow.ts:45
There was a problem hiding this comment.
Current status: All findings originating in this review are resolved.
Last reconciled on0e347f4. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 2 potential problems when commit 58a9abd was analyzed. This snapshot is historical; use the status block above for current state. 2 findings are linked to changed code.
Findings
- medium: Issue status can be stale while Bugbot counts are collected —
src/application/usecases/read_copilot_status_workflow.ts:47 - low: Label objects without a name are accepted as the string "undefined" —
src/data/repository/issue/issue_completion_repository.ts:34
|
The missing-label-name finding is a false positive. Running the current production adapter against a native-shaped response with labels=[{}] rejects it with provider.contract-invalid. The mapping preserves JavaScript undefined; isIssueCompletionLabelName checks typeof value === string before length, so no string conversion occurs. A literal label named "undefined" is a separate valid string. I dismissed this finding through the native command; no redundant guard or test-count increase is needed. |
|
1 finding was dismissed. |
Merging a verified same-repository PR reconciles completion metadata: active/waiting/progress labels are selectively removed and
100%is added only for native completed closure. Every write checks fresh issue state/reason and preserves unrelated labels. Reopening blocks an old delivery from closing the issue again; partial effects are reported honestly.Status reads current native issue/PR state, preserves verified historical SDD links and keeps inspection guidance for missing or invalid proof. Its final native issue read also fences the complete label set after SDD and linked PR count collection, so it cannot mix changed eligibility with earlier SDD evidence. Current duplicate closure is supported without inventing completed progress.
Validation on
0e347f46: 111 new completion/status cases plus 12 separately allocated SDD companion cases; 581 suites with 7,940 passed and 35 configured skips. Coverage budgets, types, lint, docs/specifications, bundles and normal hooks passed. Fresh native review/checks and merge → issue completion → current status/replay acceptance remain pending.Closes #472