Skip to content

Fix authority-scoped work queue Issue mirror synchronization - #70992

Merged
pelikhan merged 4 commits into
mainfrom
pelikhan-literate-spoon
Oct 22, 2026
Merged

pelikhan merged 4 commits into
mainfrom
pelikhan-literate-spoon

Conversation

@pelikhan

@pelikhan pelikhan commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Work queue Issues can keep stale Queued or Running labels after authoritative Work becomes terminal: original projection reads can fail without failing the conclusion step, and maintenance/operator terminal transitions previously had no projection hook. This fixes the projection lifecycle without changing the intentional keep-open policy.

ADR: ADR-70992: Request-Scoped Terminal Issue Mirror Synchronization

Approach

  • Retry transient projection metadata reads with a bounded three-attempt budget; never blindly retry native mutations. Surface pending conclusion synchronization as an explicit failure without skipping required detection reporting.
  • Project only existing same-repository AW IssueLink and canonical summary receipts. Maintenance must match exact committed terminal request publishers and its authenticated native run/attempt. Automatic operator synchronization checks the authenticated writer's exact committed publication; maintain/admin recovery remains explicit via work-queue sync-issues --request-id REQUEST_ID.
  • Re-read checked state under shared Work/Issue locks and verify immutable native identities and acknowledgements. Confirmed no-write rejections permit safe lock cleanup and exact duplicate-label discovery; transport, partial, mixed, and unknown outcomes retain fences. Cleanup is bounded and independent of caller cancellation.
  • Normalize terminal receipt identity through checkpoint compaction, report missing receipts per Work without blocking valid siblings, and preserve checked admission/Claim history and verified outcome links in canonical summaries. Arbitrary Result presentation metadata is tolerated.
  • Continue maintenance projection batches and authoritative compaction before reporting projection-only failure; unresolved native reconciliation remains blocking. Diagnostics expose safe classifications, HTTP status and validated request IDs, never raw external messages.
  • Never create/rebind Issues or comments, close Issues, steal locks, perform a global repair sweep, or inherit another run's admission/Claim authority. No ledger operations or schema fields are added, preserving existing V3 readers.
  • Integrate main at 3effd63d23 and regenerate workflows, preserving the landed failed-Claim diagnostic retention alongside projection-failure/reporting changes.

Review feedback

Addressed the 13 inline comments in follow-up commit e18f0b8e9b, including dedicated CLI positive/zero/disabled/JSON/error tests, checkpoint replay and authority-denial cases, mixed pending targets, cancellation cleanup, duplicate-label acknowledgement boundaries, reporting order, and summary preservation. Kept secondary-rate mutation pacing with an explicit rationale; adopted safe diagnostic improvements without logging raw external errors. Finished the generated ADR as a proposal pending maintainer acceptance.

Validation

Passed: focused native workqueue/compiler/CLI regressions; 308 JavaScript tests across eight projection, maintenance and native-delivery suites; runtime typecheck; build and formatting; JavaScript lint; zero branch-changed-file custom Go analyzer diagnostics; incremental golangci-lint with zero new issues; all 346 workflow drift checks. Verified all 30 overlapping worker uploads retain the landed seven-day failed-diagnostic retention expression.

make agent-report-progress ran its impacted tests successfully. The final make agent-report-progress-no-test still fails because its wrapper treats the existing unknown-custom-linter warning (largefunc, tolowerequalfold, uncheckedsliceindex) as a non-diagnostic failure; its custom Go lint and JavaScript lint pass. Separate incremental Go lint reports zero issues. Unrelated gate/source files were not changed.

Review and live-repair gates

The single read-only security reviewer passed the earlier implementation with all ten required records YES. Its later combined-base refresh became unavailable after a model DNS failure and loss of the reviewer handle. The subsequent review-feedback changes have focused regression and lint coverage, but this does not claim a fresh combined-snapshot security PASS.

No production Issue edits, queue mutations, workflow dispatches or reruns were performed. Existing stale mirrors remain gated on deployment and the reviewed supported exact-request recovery path; this PR does not authorize live repair.

Retry transient projection reads, surface pending conclusion writes, and synchronize existing mirrors for exact maintenance/operator terminal requests. Preserve immutable receipts, original run authority and uncertain-write fences.

Co-authored-by: Copilot App <[email protected]>
@pelikhan
pelikhan marked this pull request as ready for review October 22, 2026 01:10
Copilot AI max review requested due to automatic review settings October 22, 2026 01:10
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · gpt56 · 17.5 AIC · ⌖ 5.38 AIC · ⊞ 14.8K · ◷

Generated by Ponytail Reviewer for #70992

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Commit pushed: abc6e2e

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · sonnet50 · 14.2 AIC · ⌖ 15.1 AIC · ◇ 6.66 AIC · ⊞ 12.7K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict

No actionable blocking issues found in the changed lines.

Review scope

Reviewed the supplied capped diff, changed-file metadata, and existing review comments. Static review only; no tests or repository code were executed, per review instructions. The advisory sub-agent did not produce a usable finding.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · 2.41 AIC · ⌖ 0.67 AIC · ⊞ 1.6K
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Design Decision Gate — ADR Required

This PR adds a lot of new core code (822 new lines in pkg/) but does not link an Architecture Decision Record (ADR).

📄 Draft ADR committed: docs/adr/70992-request-scoped-terminal-issue-mirror-synchronization.md. Please review and finish it before merging.

The draft records the main decision in this PR: Issue mirrors are synchronized for one exact committed terminal request at a time, never through a global sweep. Recovery is an explicit maintainer/admin action through work-queue sync-issues --request-id. Only metadata reads are retried, and native mutations never are. No new ledger operations or schema fields are added.

🔒 This PR cannot merge until an ADR is linked in the PR body.

📋 What to do next
  1. Review the draft ADR committed to your branch. It was generated from the PR diff.
  2. Fill in what the draft could not infer: confirm the deciders (marked [TODO: verify]) and check the alternatives it lists (global reconciliation sweep, recording projection status in the ledger, retrying all calls including mutations).
  3. Commit the finished ADR to docs/adr/ on your branch.
  4. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-70992: Request-Scoped Terminal Issue Mirror Synchronization for the Work Queue

Once an ADR is linked in the PR body, this gate will run again and check that the implementation matches the decision.

❓ Why ADRs Matter

"AI made me procrastinate on key design decisions. Because refactoring was cheap, I could always say 'I'll deal with this later.' Deferring decisions corroded my ability to think clearly."

ADRs create a searchable, permanent record of why the codebase looks the way it does.

📋 Michael Nygard ADR Format Reference

An ADR must contain these four sections to be considered complete:

  • Context: What is the problem? What forces are at play?
  • Decision: What did you decide? Why?
  • Alternatives Considered: What else could have been done?
  • Consequences: What are the trade-offs (positive and negative)?

All ADRs are stored in docs/adr/ as Markdown files numbered by PR number.

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · pi · opus55 · 34 AIC · ⌖ 40.7 AIC · ⊞ 1.9K · ◷
Comment /review to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /diagnosing-bugs and /tdd (per pr-triage classification: bug_fix) to the authority-scoped work-queue Issue mirror synchronization fix.

The core fix itself (issueTransitionTargets authority scoping in pkg/workqueue/issue_transitions.go) is well-designed and thoroughly tested — issue_transitions_test.go is a strong example of /tdd practice, and the new TestOperatorTerminalIssueSynchronization* suite passes cleanly against a real build. Left 3 inline comments on items that affect debuggability and test coverage rather than correctness.

📋 Key Themes & Highlights

Key Themes

  • Undocumented magic delay: branch_issue_sync.go:331 adds a hardcoded 3-second sleep before every synchronization write with no comment explaining the race/consistency issue it guards against — a /diagnosing-bugs red flag (undocumented workaround, adds real latency to every call and every test run).
  • Error detail loss: projectionFailureReason in work_queue_issues.cjs generalizes specific error causes into an allowlisted code before the original detail is logged anywhere, and the matching test assertions were weakened from specific regexes to generic code matches — this could make production incidents harder to diagnose.
  • New CLI surface lacks dedicated tests: pkg/cli/work_command_issue_sync.go (new sync-issues command) is only covered by the generic operator-surface table test, not a focused positive-path test of its own output/error handling, even though the underlying Go package logic is well tested.

Positive Highlights

  • ✅ issueTransitionTargets/transitionProjectionTargets authority-scoping logic is cleanly mirrored between Go and JS with consistent vocabulary (terminal, projection, mirror, coordination fence), matching the project's existing dual-engine pattern.
  • ✅ New Go tests (issue_transitions_test.go) are thorough, covering authority/no-authority/multi-target cases.
  • ✅ Documentation (docs/.../work-queue.md, .../work-queue-specification.md) was updated alongside the behavior change.

Investigation Note

Review was bounded per the investigation budget (~25-30 tool calls); the diff/triage/skill guidance were the primary sources of truth and no critical blockers beyond the 3 items above were found in the time allotted.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · sonnet50 · 169 AIC · ⌖ 15.3 AIC · ⊞ 10.2K
Comment /matt to run again

Comment thread pkg/workqueue/branch_issue_sync.go Resolved
Comment thread actions/setup/js/work_queue_issues.cjs Resolved
Comment thread pkg/cli/work_command_issue_sync.go Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Terminal synchronization can silently skip eligible mirrors or retain permanent locks, blocking the supported recovery path.

10 open issues
What changed in this PR

Extends gh-aw’s Git-authoritative work queue Issue projection to maintenance and operator terminal transitions, while preserving existing mirror identities and the keep-open policy.

Changes:

  • Adds exact-request terminal synchronization with authority checks and shared Work/Issue locks.
  • Retries transient metadata reads and explicitly reports pending synchronization.
  • Updates regression coverage, documentation, release notes, and generated workflows.
File Description
pkg/​workqueue/​issue_transitions.go Select terminal mirrors and determine their status.
pkg/​workqueue/​issue_transitions_test.go Cover terminal selection, authority, receipts, and locks.
pkg/​workqueue/​branch_test.go Mock projection-lock references.
pkg/​workqueue/​branch_issue_sync.go Implement native exact-request mirror synchronization.
pkg/​workflow/​work_queue_issues.go Fail conclusion projection when synchronization remains pending.
pkg/​workflow/​maintenance_workflow_work_queue_compaction.go Enable maintenance Issue projection.
pkg/​workflow/​maintenance_workflow_work_queue_compaction_test.go Check maintenance permissions and projection invocation.
pkg/​cli/​work_command.go Register recovery and synchronize reconciliation results.
pkg/​cli/​work_command_test.go Validate the exact-request recovery command surface.
pkg/​cli/​work_command_operations.go Synchronize mirrors after operator cancellation.
pkg/​cli/​work_command_issue_sync.go Add sync-issues and terminal-publication handling.
pkg/​cli/​work_command_clear.go Synchronize mirrors after queue clearing.
pkg/​cli/​work_command_clear_test.go Mock verified configuration reads.
docs/​src/​content/​docs/​specs/​work-queue-specification.md Describe terminal projection authority and compatibility.
docs/​src/​content/​docs/​reference/​work-queue.md Document synchronization behavior and recovery.
actions/​setup/​js/​work_queue_issues.cjs Support terminal targets and sanitized pending diagnostics.
actions/​setup/​js/​work_queue_issues_checks.cjs Update sanitized error assertions.
actions/​setup/​js/​work_queue_issues_acceptance_checks.cjs Update acceptance assertions for sanitized diagnostics.
actions/​setup/​js/​work_queue_issue_transitions.test.cjs Cover scoped terminal projection and retained fences.
actions/​setup/​js/​work_queue_issue_transitions.cjs Select exact maintenance-owned terminal targets.
actions/​setup/​js/​work_queue_issue_pacing.test.cjs Cover bounded read retries and write non-retries.
actions/​setup/​js/​work_queue_issue_pacing.cjs Retry transient projection metadata reads.
actions/​setup/​js/​work_queue_issue_api.cjs Classify uncertain label mutation outcomes.
actions/​setup/​js/​work_queue_aw_issues.test.cjs Check error-text redaction.
actions/​setup/​js/​reconcile_work_queue_run.test.cjs Cover maintenance terminal projection and pending results.
actions/​setup/​js/​reconcile_work_queue_run.cjs Project terminal requests from the current maintenance run.
.github/​workflows/​repo-tree-map.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​eslint-refiner.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​eslint-monster.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​eslint-miner.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​eslint-factory-dispatcher.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-pydantic-ai.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-pi.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-opencode.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-kiro.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-goose.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-gemini.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-dispatcher.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-deepseek-harness.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-cursor.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-crush.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-copilot.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-codex.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-claude.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-aider.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​engine-conformance-agy.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​deep-report.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-token-consumption-report.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-team-evolution-insights.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-secrets-analysis.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-report-dispatcher.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-repo-chronicle.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-regulatory.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-observability-report.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-issues-report.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-firewall-report.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-evals-report.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​daily-compiler-quality.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​artifacts-summary.lock.yml Regenerate pending-sync failure handling.
.github/​workflows/​agentics-maintenance.yml Enable Issue writes and terminal projection during maintenance.
.github/​aw/​work-queue.md Document scoped recovery constraints.
.changeset/​minor-work-queue-terminal-issue-sync.md Add the minor-release note.

Review effort: Max

Comment thread pkg/workqueue/branch_issue_sync.go Resolved
Comment thread pkg/workqueue/branch_issue_sync.go Resolved
Comment thread pkg/cli/work_command_issue_sync.go Resolved
Comment thread pkg/workflow/work_queue_issues.go Resolved
Comment thread pkg/workqueue/branch_issue_sync.go Resolved
Comment thread pkg/workqueue/issue_transitions.go Resolved
Comment thread pkg/workqueue/issue_transitions.go Resolved
Comment thread pkg/workqueue/issue_transitions.go Resolved
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot address these review comments:

  1. pkg/workqueue/branch_issue_sync.go:331 — [/diagnosing-bugs] Undocumented 3-second blocking delay before every GraphQL synchronization write — no comment explains the root cause being addressed (e.g. GitHub API eventual consistency?), and it adds real latency to every call (and ~3s to each new test).

  2. actions/setup/js/work_queue_issues.cjs:489 — [/diagnosing-bugs] projectionFailureReason collapses the original error.message/root cause into a generic allowlisted code-based string, and the specific reason is never logged before being discarded. This trades production debuggability for a cleaner Issue comment.

  3. pkg/cli/work_command_issue_sync.go:15 — [/tdd] The new sync-issues CLI command has no dedicated test file — only the generic TestWorkCommandClosedOperatorSurfaces table test in work_command_test.go exercises it, and that only checks the subcommand exists / invalid args fail. There's no positive-path test asserting output on successful synchronization, zero-op, or Disabled cases at the CLI layer.

  4. actions/setup/js/work_queue_issue_api.cjs:46 — labelMutation turns confirmed no-write rejections into projection_write_ambiguous. For example, a global RATE_LIMITED response with no receipts is already recognized by isConfirmedRejectionBeforeExecution; typed FORBIDDEN, NOT_FOUND, or validation failures with only null results also prove rejection. Converting these errors makes the projection lock helpers retain every Work/Issue fence in the batch permanently, so fixing permissions or waiting for quota recovery cannot unblock synchronization. Preserve confirmed rejections and reserve the ambiguous code for unknown or partial outcomes.

  5. pkg/workqueue/branch_issue_sync.go:136 — Cleanup uses the caller's cancelled context. If an operator interrupts after acquiring the locks—for example during the three-second wait before any Issue mutation—uncertain is still false, but both DELETE requests fail immediately with cancellation. The non-expiring refs remain and block every later synchronization even though no Issue write was attempted. Release acknowledged locks with a bounded context detached from caller cancellation; keep the existing early return for genuinely uncertain writes.

  6. pkg/workqueue/branch_issue_sync.go:261 — Different Work/Issue pairs acquire different locks, so concurrent synchronizations can both read a missing repository-wide status label. The losing createLabel receives a definitive duplicate-name rejection, but this return leaves uncertain true. Both non-expiring projection refs are then retained, and even sync-issues cannot recover that mirror. Handle confirmed no-write rejections separately: for a name collision, read and verify the existing label as JavaScript's ensureStatusLabel does; release coordination for definitively rejected writes, while retaining fences for transport failures or partial/unknown acknowledgements.

  7. actions/setup/js/reconcile_work_queue_run.cjs:125 — A pending non-authoritative Issue mirror now prevents authoritative queue compaction. The generated maintenance script awaits this function before plan/apply, so a deleted summary or temporary projection outage throws here and skips compaction. It also stops projection of all later request batches and can mask the native-reconciliation error below. Collect projection-pending diagnostics across batches and defer only that failure until the normal compaction work has finished; retain the existing blocking behavior for unresolved native reconciliation.

  8. pkg/cli/work_command_issue_sync.go:52 — A successful writer-authorized reconcile now fails after committing a terminal transition, even when Issue projection is disabled. Reconciliation permits the repository-writer reconciler role, but SynchronizeIssueTransition requires maintain/admin access before reading the Issues configuration. This helper therefore returns an authorization error and suppresses the normal result, including --json; its suggested recovery command requires the same unavailable permission. Preserve reconciliation's existing permission contract by separating automatic exact-publication synchronization from explicit privileged recovery, and make disabled projection a no-op before requiring additional authority.

  9. pkg/workflow/work_queue_issues.go:163 — Failing this step also skips later conclusion steps with the default success() condition. For queue participants, buildConclusionJobSteps appends "Log detection run" after Issue projection, and that step has no explicit condition (notify_comment.go:68–77, notify_comment_conclusion_helpers.go:180–186). Thus a pending mirror prevents threat-detection warnings and failures from reaching the Detection Runs tracker; the regenerated artifacts-summary.lock.yml shows this ordering. Preserve that reporting by failing only after required conclusion steps finish, or explicitly allow detection reporting to run after projection failure. Keep the pending synchronization visible as a job failure.

  10. pkg/workqueue/branch_issue_sync.go:303 — Native synchronization overwrites the canonical summary with this reduced body, removing the checked run/Claim history and verified outcome links that the JavaScript renderer includes. In particular, synchronizing a verified PR Result leaves "Needs review" but removes the link to the PR to review. These links are part of the documented summary contract (reference/work-queue.md:277–280). Render the same history and verified outcomes from checked projection state and the canonical template rather than replacing them with status-only content.

  11. pkg/workqueue/issue_transitions.go:50 — Compaction restores request operations as trace events without Result descriptors or evidence receipts (checkpoint.go:44–67,456–461), while TerminalBarriers retains the full operations. This comparison therefore skips every compacted Result and any DeliveryFailure carrying a receipt: exact-request recovery succeeds with zero synchronized mirrors and leaves labels stale. work_queue_issue_transitions.cjs:37 makes the same full-operation comparison against compacted events. Normalize both sides to the checkpoint trace representation in both implementations—Go already provides checkpointTraceOperation—while preserving the exact Work/Claim/Completion checks. Cover Result and DeliveryFailure requests across compaction, not only cancellation.

  12. pkg/workqueue/issue_transitions.go:56 — One terminal Work without an Issue or summary receipt aborts selection for the entire request, discarding other valid mirrors. A multi-Work clear or cancellation can include Work whose admission projection failed or which predates Issue mirroring. Retrying the exact request cannot repair its existing mirrors because the same missing receipt always aborts first. The JavaScript selector has the same behavior across up to 16 maintenance requests. Return eligible targets alongside per-Work pending diagnostics, synchronize the valid targets, and then report the remainder without creating or rebinding anything.

  13. pkg/workqueue/issue_transitions.go:95 — Result descriptors are arbitrary JSON objects, but this decode imposes extra types on optional presentation metadata. A valid descriptor such as {"outputs":[{"resource":{"kind":"pull_request","number":123}}]} fails because Resource.Number is a string; non-array outputs also fails. Terminal synchronization then remains pending despite a verified Result. Decode only the PR discriminators, tolerate unrelated metadata shapes, and add regressions for numeric resource numbers and non-array outputs.

Also run make merge-main to update the branch.

Sous-chef state: 6cd5af51e135772b056f501807fdf7f9523f3737bd5336f7235c0a6a86fca70e

Generated by 👨‍🍳 PR Sous Chef · pi · haiku45 · 9.41 AIC · ⌖ 7.89 AIC · ⊞ 1.1K · ◷
Comment /souschef to run again

Preserve exact publication authority, checkpoint identity, checked summary history, and uncertainty fences. Keep reporting and compaction independent of projection-only failure; add focused native, CLI, and JavaScript regressions and finish ADR-70992.

Co-authored-by: Copilot App <[email protected]>
@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding this status: no code change was needed for this informational reported-no-action notification. The actionable feedback is handled in the inline threads; this status was not treated as independent verification.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding this review: addressed the three inline comments with documented mutation pacing, secret-safe diagnostics, and dedicated CLI output/error tests in e18f0b8. The raw-message suggestion was only partially adopted to avoid exposing credentials or task data.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding the generated ADR: finished the draft, removed the unverified decider placeholder, and clarified the exact authority, fencing, checkpoint, and failure-ordering decisions in e18f0b8. It remains Proposed pending maintainer acceptance and is linked in the PR body.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding this status: no code change was needed for this informational reported-no-action notification. Added focused regression coverage for the actionable review findings rather than treating the notification as test evidence.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding this review status: no code change was required by this nonblocking status. The separate actionable threads are addressed with focused regressions and the single combined follow-up commit e18f0b8.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding the ADR requirement: completed ADR-70992 in e18f0b8 and linked it in the PR body. The proposal records request-scoped recovery, authenticated publication authority, checked summaries, safe rejection handling, and reporting/compaction before projection-only failure.

Copilot AI commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

@copilot address these review comments:

  1. pkg/workqueue/branch_issue_sync.go:331 — [/diagnosing-bugs] Undocumented 3-second...

The branch update e18f0b8e addresses the four requested points with documented secondary-limit pacing, safe structured failure diagnostics, CLI success/zero/disabled coverage, and confirmed-rejection lock recovery. I also fixed the 800-word instruction cap regression in dfee81b8.

Copilot AI requested a review from gh-aw-bot October 22, 2026 02:53
@pelikhan
pelikhan merged commit c235841 into main Oct 22, 2026
8 checks passed
@pelikhan
pelikhan deleted the pelikhan-literate-spoon branch October 22, 2026 03:14
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.93.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants