Repository navigation
Conversation
Use matching Claim-suffixed branches for staged URLs and native publication. Add real-Git regression coverage and preserve historical delivery barriers. Co-authored-by: Copilot App <[email protected]>
|
✅ Ponytail Reviewer completed successfully!
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ 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.
|
|
✅ 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 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.
|
There was a problem hiding this comment.
What this change does: Claim-scoped asset uploads now use Claim-suffixed sibling branches while retaining claims/<namespace>/ paths. The new parity test exercises both the producer and publisher against a legacy Git ref conflict and checks singleton and batch receipt isolation.
Should fix:
-
The parity test carries dead environment cleanup (
actions/setup/js/work_queue_git_adapter_parity.test.cjs:L101-L116)- What this is: The test passes Git isolation settings only through the child process environment.
- Problem: It never changes
process.env.GIT_CONFIG_*, so the snapshot and restore block adds global-state handling without doing work. - Fix: Remove
gitConfigEnvironmentand its before/after cleanup lines. - If we skip it: Future edits must maintain misleading cleanup code around a test that does not need it.
Verdict: fix 1 first.
Lean: -4 lines possible.
Generated by ✂️ Ponytail Reviewer for #75490 · codex · routed: gpt56 max · ~5 AIC · ⌖ ~1 AIC · ⊞ 118
Comment /ponytail to run again
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.
Reviewed the changed asset branch handling. One medium correctness issue is noted inline: all-invalid branch input can produce an empty ref and malformed URL instead of failing early. The legacy-ref collision fix and Claim namespace isolation otherwise look consistent from the diff; no tests or builds were run during this static review.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~4 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /diagnosing-bugs. The producer and publisher fix is sound and the branch-collision root cause is addressed. Three test-quality points are commented inline.
📋 Key Themes & Highlights
Verified
- ✅ Producer (
safe_outputs_handlers.cjs:822) and publisher (work_queue_upload_assets.cjs:40) both salt the same base withclaim-<namespace>, so the upload URL and the publish branch match. - ✅ The compiler sets
GH_AW_ASSETS_BRANCHfrom one source (UploadAssets.BranchName), soconfig.branchand the producer input agree in production wiring. - ✅ The regression test reproduces the legacy
refs/heads/assets/auditconflict with realgit update-ref(cannot lock ref), so it guards the actual bug.
Themes
- Test clarity:
expectinside mocks throws from production code, and the cross-receipt guard is hard to read (inline). - Unexplained magic numbers:
count + 1(inline).
Limits and follow-up
- The focused test was not run.
npm cifailed on a TLS self-signed certificate in this environment, so these findings come from reading the diff, not from a test run. Please confirm CI is green. work_queue_git_tree_adapter.cjs:132still builds${branch-prefix}/claims/<ns>, which has the same ref-namespace conflict. It is outside this PR and is a follow-up, not a blocker.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~1 AIC · ⊞ 5.4K
Comment /matt to run again
There was a problem hiding this comment.
🟡 Changes recommended
The second upload causes the first receipt to fail verification at settlement, while tests miss that failure and still expect the old ref layout.
2 open issues
What changed in this PR
This PR moves Claim asset uploads to sibling branches, avoiding Git ref conflicts with legacy asset branches while retaining Claim-scoped content paths.
Changes:
- Aligns staging URLs and the privileged publisher on
-claim-<namespace>branch suffixes. - Extends regression coverage with real local Git, two uploads per Claim, and singleton/batch isolation checks.
- Documents the prospective layout and prohibition on historical repair.
| File | Description |
|---|---|
actions/setup/js/work_queue_upload_assets.cjs |
Publishes assets to Claim-suffixed sibling branches. |
actions/setup/js/work_queue_git_adapter_parity.test.cjs |
Exercises legacy ref conflicts, matching URLs, and multiple uploads. |
actions/setup/js/safe_outputs_handlers.cjs |
Generates staging URLs using the matching branch layout. |
.github/aw/work-queue.md |
Documents branch naming and historical-repair restrictions. |
Review effort: Max (auto)
|
Copilot assignment requested for the following outstanding work:
Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI. Sous-chef requested-head: db0d1c8
|
Sous-chef requested-head: db0d1c8 |
…livery-failure Co-authored-by: gh-aw-bot <[email protected]>
Co-authored-by: gh-aw-bot <[email protected]>
Co-authored-by: gh-aw-bot <[email protected]>
Verify original private receipts against a stable descendant head and preserved asset content. Cover final batch settlement, malformed refs, receipt isolation, and native adapter regressions. Co-authored-by: Copilot App <[email protected]>
|
Reply to #75490 (comment) The Ponytail review was evaluated. The cleanup-removal suggestion is declined because createHandlers injects process.env Git trust settings; the cleanup is retained with an explicit explanation and regression coverage. |
|
Reply to #75490 (comment) The code-quality finding is addressed: empty normalized branch names are rejected before staging, and the publisher now has the matching early validation. The completion notification itself requires no additional code change. |
|
Reply to #75490 (comment) The three test-clarity suggestions are addressed through post-upload mock assertions, explicit foreign-Claim receipt checks, and legacyRefCount. The focused regression suites were run locally; no workflow was dispatched. |
|
Reply to #75490 (comment) The design gate reported no actionable design change, so no ADR was added. Its notification is not treated as delivery evidence or as a substitute for the local validation gates. |
|
Reply to #75490 (comment) The sentinel reported no actionable change. The batch nevertheless adds settlement-time verification and negative receipt regressions, and validates them locally rather than inferring correctness from this notification. |
|
Reply to #75490 (comment) The specification review reported no actionable change. The fix remains prospective and preserves Claim authorization, private receipts, exact content verification, and the historical failed delivery barrier. |
|
Reply to #75490 (comment) The managed memory block was left unchanged. Its underlying empty-normalized-branch finding is addressed by the producer guard and matching publisher validation, with focused regression coverage. |
|
Reply to #75490 (comment) The branch was updated with latest main using make merge-main, and the listed feedback was evaluated alongside the remaining settlement bug. The historical shard failures were the 829/800 documentation cap; the merged instructions satisfy that cap and its regression is included in local validation. No CI rerun or workflow dispatch was triggered. |
|
Reply to #75490 (comment) The requested-head/work/state lines describe the earlier assignment, not a new action or proof of delivery. The current branch preserves those earlier fixes, includes latest main and the validated settlement correction; no historical queue effects were retried. |
|
Copilot assignment requested for the following outstanding work:
Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI. Sous-chef requested-head: a1cf81a
|
…livery-failure Co-authored-by: gh-aw-bot <[email protected]>
Investigating the assigned failures and updating this branch with latest Sous-chef requested-head: a1cf81a |
Co-authored-by: gh-aw-bot <[email protected]>
|
@copilot resolve the merge conflicts on this branch. |
…livery-failure # Conflicts: # actions/setup/js/release_staging.test.cjs Co-authored-by: pelikhan <[email protected]>
Resolved the conflict with latest |
|
Copilot assignment requested for the following outstanding work:
Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI. Sous-chef requested-head: 09aa29e
|
Investigating the shard-7 timeout and merging refreshed Sous-chef requested-head: 09aa29e |


Claim-scoped asset uploads currently create child refs beneath the configured asset branch. When a legacy branch already exists, Git rejects both chart uploads with a reference namespace conflict. Historical run 42218926247 published discussion #75424 with broken chart links and correctly failed whole-Claim delivery verification.
Changes
Validation
make agent-report-progressgate passed, including build, TypeScript checks, JavaScript lint and impacted tests. Lint reported only warnings on unchanged existing error-handling lines.This is a prospective fix only. It does not repair the old failed barrier, establish a historical Result, retry uncertain effects, edit the published discussion, mutate the queue, or dispatch workflows.