Repository navigation
Conversation
Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
@copilot do not pollutr branches, use separate files instead if needed |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Updated in |
|
@copilo why a separate branch than the worktree, can we simplify? |
|
@copilot review the need for a separate branch than the worktree. reuse work queue branch |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Implemented in
The Claim-scoped branch was originally meant to isolate receipts from later uploads. I simplified this in |
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: 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.
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: 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.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: 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.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
Found one correctness issue: the new shared work-queue branch update is vulnerable to concurrent upload races, causing valid admitted uploads to fail nondeterministically. The specialist pass was unavailable because its file-read tool calls were rejected, so this review is based on the independent second pass.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /diagnosing-bugs, /tdd, and /codebase-design. Requesting changes because the description and the code disagree on where asset uploads go.
📋 Key Themes & Highlights
Key Themes
- Description vs. code mismatch: the PR body and changeset say per-Claim branches, but the code hardcodes the shared
work-queuebranch. - Shared-branch contention: asset
updateRefand ledger CAS write the same ref, with no retry or conflict handling. - Behavior change without a test: a missing branch now throws, and
config.branchis silently ignored. - Test gaps: the REST projection-lock deadline path has no test.
Positive Highlights
- ✅ The fail-closed handling for uncertain lock acquire and release is a sound fencing choice.
- ✅ The multi-upload regression test is a useful addition.
Uncertainty
- Octokit
request.signalsupport was not verified locally becausenode_modulesis not installed. - I did not run the test suite.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~6 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
There was a problem hiding this comment.
🟡 Changes recommended
Asset publication can leave successful uploads without verifiable delivery coverage, while timeouts started before pacing can abort lock operations and leave surviving locks held indefinitely.
5 open issues
What changed in this PR
This PR updates gh-aw’s work-queue asset delivery and projection locking to support repeated uploads and bound API request duration.
Changes:
- Publish content-addressed Claim assets on the existing
work-queuebranch, checking original Git objects and current-head file presence. - Replace legacy timeout options with abort deadlines: 15 seconds for REST and 30 seconds for GraphQL.
- Add regression tests, reference documentation, and a patch changeset.
| File | Description |
|---|---|
docs/src/content/docs/reference/work-queue.md |
Documents projection deadlines and uncertain-write handling. |
docs/src/content/docs/reference/safe-outputs.md |
Describes queue-branch asset publication and verification. |
actions/setup/js/work_queue_upload_assets.cjs |
Changes asset storage and verifies files after the branch advances. |
actions/setup/js/work_queue_specialized_delivery.test.cjs |
Adds repeated-upload and durable-receipt regressions. |
actions/setup/js/work_queue_issue_coordination.test.cjs |
Tests acquisition and release deadlines without retries. |
actions/setup/js/work_queue_issue_coordination.cjs |
Applies abort signals to projection lock requests. |
.changeset/patch-work-queue-assets-and-projection-deadlines.md |
Adds a patch release note for asset delivery and deadlines. |
Review effort: Max (dynamic)
Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
In reply to comment 6898558077: Confirmed: uploads use separate content-addressed files in their original Claim namespaces on the existing work-queue branch. No asset or Claim branches are created. |
|
In reply to comment 6898678829: The content-addressed files remain appropriate, but the earlier Claim-scoped branch was superseded by the later request. Current publication reuses work-queue without adding branches. |
|
In reply to comment 6900391503: Confirmed: assets reuse the existing work-queue branch, with separate content-addressed files rather than another branch. No further storage-layout change is needed. |
|
In reply to comment 6900920321: Confirmed: the existing work-queue branch remains the publication branch, with no additional asset or Claim branch. The reader-side fixes preserve that requirement. |
|
In reply to comment 6901144104: Confirmed against the current source: uploads reuse work-queue and publish content-addressed files with non-forced updates. The superseded Claim-scoped branch design is not restored. |
|
In reply to comment 6901328022: No separate code change for this completion notice because it contains no concrete finding. Current verification uses executed tests, not reported_no_action as proof. |
|
In reply to comment 6901328224: No separate code change for this completion notice. Concrete findings are handled in their review threads, and reported_action does not replace validation. |
|
In reply to comment 6901328532: The actionable shared-branch race is handled in its inline thread with checked conflict recovery. This completion notice requires no additional change and is not proof of correctness. |
|
In reply to comment 6901328555: No code or ADR change for this notice because it contains no design finding or draft. The existing-work-queue-branch requirement remains intact. |
|
In reply to comment 6901328937: No code change for this completion notice because it contains no actionable finding. It remains historical run evidence, not validation of later revisions. |
|
In reply to comment 6901340259: No separate code change for this completion notice. The concrete skills-review findings are evaluated in their individual threads. |
|
In reply to comment 6901401905: The managed comment memory and saved REQUEST_CHANGES result remain unchanged. Corrective work is verified through the actionable review thread rather than rewriting historical findings. |
|
In reply to comment 6901411523: The managed review-history ledger remains unchanged. Its finding_count=1 entry records the original review and is not rewritten to describe the current fixes. |
|
In reply to comment 6901430236: The managed specification-review history remains unchanged. Its aligned result applies to bda1ccd and is not treated as verification of subsequent changes. |
|
In reply to comment 6901828230: Confirmed: the separate content-addressed files remain in their original Claim namespaces on work-queue. No additional branch change is needed. |
|
In reply to comment 6901828402: Confirmed: the Claim-scoped branch design was superseded. Current publication keeps separate files on work-queue with bounded non-forced conflict recovery. |
|
In reply to comment 6901828569: Confirmed: assets already use the existing work-queue branch rather than creating another branch. The current batch preserves this design. |
|
In reply to comment 6901828767: Confirmed: shared publication uses bounded non-forced recovery while preserving concurrent ledger and asset updates. No new publication branch is introduced. |
|
In reply to comment 6901829051: Confirmed: no asset or Claim branches are created, uncertain writes stay fenced, and verification checks original receipts and retained current-head files. No additional asset-adapter change is needed. |
|
In reply to comment 6901830158: Agreed: the completion notice contains no concrete finding. Verification is based on executed tests rather than its reported_no_action status. |
|
In reply to comment 6901830337: Agreed: concrete implementation and specification findings are handled in their individual threads. The completion notice does not substitute for final-revision validation. |
|
In reply to comment 6901830536: Agreed: the shared-branch race is addressed through checked recovery and its regressions. This historical status notice needs no additional change. |
|
In reply to comment 6901830741: Agreed: this notice supplies no design finding or ADR draft. The existing-work-queue storage requirement remains unchanged. |
|
In reply to comment 6901830928: Agreed: this is historical run evidence without an actionable finding. It is not used as proof of current correctness. |
|
In reply to comment 6901831187: Agreed: the completion notice remains unchanged, while concrete findings are handled individually. Asset behavior has been checked against the synchronized source and local tests. |
|
In reply to comment 6901831455: Agreed: the managed memory and its historical REQUEST_CHANGES result remain untouched. Corrective work is evaluated through the corresponding review thread. |
|
In reply to comment 6901831676: Agreed: the baseline finding_count=1 ledger entry remains intact. It is not rewritten to imply later fixes or validation. |
|
In reply to comment 6901831932: Agreed: the specification history remains unchanged. The aligned result for bda1ccd does not verify subsequent revisions. |
|
In reply to comment 6902147272: The requested main revision is already merged, and the listed fixture, effect-coverage, and conflict-recovery fixes are present in 4fa718f; its eight JS shards pass. This batch verifies those fixes and addresses remaining pacing/reader gaps without another merge or any CI dispatch. |


Summary
work-queuebranch. No asset or Claim branches are created.The asset failure boundary was observed in Daily Issues Report run 43714538289. Projection requests exceeded their configured legacy timeout during maintenance run 43725588096.
Validation
make fmtandnpm run typecheck --prefix actions/setup/js --silentpassed.go test ./pkg/workqueue -run '^(TestQueueGit|TestLedgerSession)' -count=1passed, including filtered cold fetches, authenticated exact-object reads, nested checkpoints, unsupported filtering, and sanitized cleanup failures.BASE_REF=637abd353253111ad5814b6c91b98f52b74490b0 make agent-report-progresspassed: build, Go lint, change-scoped custom lint, schema freshness, impacted tests (99 JavaScript tests), and recompilation/drift checks for 368 workflows. Unrelated diagnostics in unchanged files were handled by the repository's standard change-scoped gate.4fa718f; hosted CI on the new follow-up commit is not yet verified. No CI was triggered by this session.Operational boundaries
No workflows were dispatched, production effects replayed, credentials changed, queue state reset, or retained projection locks deleted. Cursor/Grafana credential repairs, the masked conformance admission exception, existing retained locks, and release-reader compatibility remain separate operational follow-ups. This patch does not claim to prevent GitHub server-side 502s or repair historical failed deliveries.