Skip to content

Prefer local Git lookups for work queue replay - #70617

Merged
pelikhan merged 6 commits into
mainfrom
pelikhan-glowing-spoon
Oct 20, 2026
Merged

pelikhan merged 6 commits into
mainfrom
pelikhan-glowing-spoon

Conversation

@pelikhan

@pelikhan pelikhan commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Work queue inspection should use available local Git information before making hosted repository lookups, and repeated replay should not refetch history that is already validated locally. Delivery verification also needs actionable, privacy-preserving diagnostics to explain why completed work has not produced a verified Result.

Changes

  • Use a dedicated queue resolver to check local origin before hosted discovery, preserving explicit --repo and GH_REPO precedence. Existing shared callers, including workflow runs and secret uploads, retain gh's selected canonical repository.
  • Preserve offline replay --file without checkout-based repository inference. Local queue discovery cannot establish hosted renames; explicit canonical selection remains necessary for stale renamed origins, and queue identity checks remain fail-closed.
  • Reuse validated runtime Git history when a fresh authenticated remote advertisement reports the same head. Changed heads still fetch and validate history; invalid ancestry does not fall back to hosted Git APIs.
  • Trace delivery contract checks, protected receipt rejection, independent readback mismatches, closed inventories, credentials, uncovered effects, and retry/deadline budgets. Control mismatches are reported only when discarding verified proof, and native readback flags cover labels, assignees, URL and repository identity comparisons safely.
  • Emit always-visible runtime and native exhaustion summaries. Detailed diagnostics remain opt-in; logs omit task content, resource identities, receipt bodies and credentials. Shared Git URL parsing no longer logs raw origins or unvalidated extracted paths.

ADR: ADR-70617: Prefer Local Git for Work Queue Repository Resolution and Replay

The ADR documents queue-only inference, existing callers' preserved gh selection, fork/rename limits, and history reuse. It remains Proposed pending maintainer acceptance and supersedes the earlier global origin-first proposal.

Validation

  • Focused Go repository-discovery, parser, queue-command and artifact-replay tests passed, including fork/default, hosted canonical rename, override, enterprise and credential-bearing-origin debug/runner-debug regressions.
  • Git transport and native parity suites previously passed: 37 tests.
  • Latest runtime finalization, native-creation delivery and logging suites passed: 227 tests, including independent mismatch and malformed-metadata/privacy regressions.
  • Native delivery and keep-open tests previously passed, including no-DEBUG exhaustion visibility coverage.
  • Latest build, standard Go lint, JavaScript lint/type checking and formatting passed. The change-scoped custom Go lint gate reports four pre-existing unchecked-index findings in unchanged portions of pkg/cli/git.go; those unrelated lines were not modified.

Queue health observed

Read-only inspection found 26 available items with no active claims or native reservations, including two worker-incompatible items. All eight completed items had failed delivery verification, with none verified. This change does not modify queue state or repair those operational failures.

pelikhan and others added 2 commits October 20, 2026 12:25
Resolve queue repositories from local Git before hosted discovery and reuse validated runtime history when the advertised queue head is unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Trace contract, receipt, readback, inventory and retry-budget failures in runtime and native delivery verification. Emit an always-visible runtime exhaustion summary and cover logging privacy and settlement invariants.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review October 20, 2026 19:40
Copilot AI max review requested due to automatic review settings October 20, 2026 19:40
@github-actions

github-actions Bot commented Oct 20, 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.1 AIC · ⌖ 15.1 AIC · ◇ 6.56 AIC · ⊞ 12.6K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Oct 20, 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 · 12.9 AIC · ⌖ 5.33 AIC · ⊞ 14.7K · ◷

Generated by Ponytail Reviewer for #70617

@github-actions

github-actions Bot commented Oct 20, 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 20, 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: 46726e3

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 20, 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

Copy link
Copy Markdown
Contributor

🏗️ Design Decision Gate — ADR Required

This PR makes significant changes to core business logic (239 new lines in pkg/) but does not link an Architecture Decision Record (ADR).

📄 Draft ADR committed: docs/adr/70617-prefer-local-git-for-work-queue-replay.md. Review and complete it before merging. (Note: the draft header date reads 2026-05-13; please change it to the actual decision date.)

The draft records these decisions:

  • Repository resolution: resolve from the local origin remote before gh repo view. --repo and GH_REPO still take precedence.
  • History reuse: reuse validated local queue history when the authenticated advertisement reports the same head. Invalid ancestry fails closed with no hosted API fallback.
  • Diagnostics: privacy-preserving delivery logs that emit only categories, counts and flags, plus an exhaustion summary.

🔒 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. Complete the missing sections. Add context the AI couldn't infer, refine the decision rationale, and confirm the alternatives you actually considered. In particular, check the negative consequence that getCurrentRepoSlug now prefers origin for all CLI callers, which matters for forks.
  3. Commit the finalized ADR to docs/adr/ on your branch.
  4. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-70617: Prefer Local Git for Work Queue Repository Resolution and Replay

Once an ADR is linked in the PR body, this gate will re-run and verify 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. Future contributors (and your future self) will thank you.

📋 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 · 29.4 AIC · ⌖ 40.4 AIC · ⊞ 1.9K · ◷
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-10-20T19:45:00Z
review_event: COMMENT
top_themes: [always-visible delivery exhaustion diagnostics remain DEBUG-gated]
files_reviewed: [pkg/workqueue/delivery.go, pkg/workqueue/delivery_host.go, actions/setup/js/work_queue_delivery.cjs, actions/setup/js/work_queue_git_transport.cjs, pkg/cli/repo.go]
comment_count: 1

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · 4.56 AIC · ⌖ 0.677 AIC · ⊞ 1.6K · ◷
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.

Review summary

One correctness issue found: the documented always-visible delivery-exhaustion diagnostic is still gated by DEBUG, so normal failed deliveries can remain unexplained. See the inline comment on pkg/workqueue/delivery.go:219.

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

Comment thread pkg/workqueue/delivery.go Resolved

@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 /improve-codebase-architecture and /tdd (via pr-triage). One inline suggestion posted on pkg/cli/work_command.go; everything else is solid enough to approve.

📋 Key Themes & Highlights

Key Themes

  • Fragile parent-name check: work_command.go:52 identifies the work-queue root via cmd.Parent().Name() == "work-queue", a stringly-typed coupling that a future rename/alias change could silently break (see inline comment).
  • Minor style nit (not flagged inline): repo.go's if ... return ... else { ... } after a returning branch could drop the else for a flatter early-return style, but this is cosmetic and not worth blocking on.

Positive Highlights

  • ✅ getCurrentRepoSlugFromGit() plus the local-origin-first precedence is well isolated and correctly preserves the GH_REPO override for gh CLI compatibility.
  • ✅ TestCurrentRepoSlugPrefersLocalGitBeforeGH is an excellent table-driven test (https/ssh/missing-origin/unsupported-origin/explicit-env) — exactly the kind of coverage /tdd asks for.
  • ✅ The new verifiedHead caching in work_queue_git_transport.cjs is subtle (skipping fetch/fsck when the advertised head is unchanged) but is correctly ordered behind advertise() and is backed by a new test asserting exact network call counts across the git-vs-remote-changed scenarios.
  • ✅ All new log.debug(...) diagnostics across work_queue_delivery.cjs, finish_work_queue_claim.cjs, and pkg/workqueue/delivery.go correctly go through the existing privacy-safe diagnostic() filter (booleans/safe ints only), and are backed by a dedicated regression test (TestDeliveryVerificationLogsAreDiagnosticAndPrivate) asserting no secret/identity leakage.
  • ✅ Documentation in work-queue.md was updated to match the new lookup precedence and DEBUG namespaces.

@copilot please address the review comments above.

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

Comment thread pkg/cli/work_command.go Resolved
Use the existing warning path for sanitized exhaustion summaries, verify no-DEBUG behavior, and finalize ADR-70617 with repository inference and history reuse tradeoffs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No code change is needed for this informational result, which contains no actionable finding. I am not treating reported_no_action as evidence of test coverage; the delivery fix has focused regression coverage and separate validation.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No code change is needed because this completion notice reports no actionable finding. The substantive diagnostic and ADR feedback has been addressed separately rather than inferring approval from reported_no_action.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No code change is needed for this review-progress notice; it contains no finding or requested change. This is not being treated as a completed review or approval.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Accepted the related ADR follow-up and finalized the generated document with the actual decision date, rationale, alternatives, and fork-selection tradeoffs. The ADR is linked in the PR description and remains Proposed pending maintainer acceptance.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Accepted the review's linked correctness finding. Native delivery exhaustion now uses the existing always-visible warning path, with no-DEBUG regression coverage; other diagnostic detail remains opt-in.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Accepted: completed ADR-70617, corrected its date to 2026-10-20, and linked it in the PR description. It explicitly documents the global origin-first behavior, fork-versus-upstream selection, override precedence, authenticated history reuse, and diagnostic privacy/visibility tradeoffs without claiming maintainer approval.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Accepted the recorded diagnostic issue and addressed it in the same native exhaustion fix, including an assertion with DEBUG and runner-debug variables unset. No separate change to bot-managed comment memory is needed; its saved metadata was left untouched.

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

Repository-targeting regressions and credential exposure through debug logging remain unresolved.

5 open issues
What changed in this PR

Improves gh-aw work-queue replay efficiency and delivery troubleshooting.

Changes:

  • Adds local-origin repository inference while preserving offline snapshot replay.
  • Reuses validated Git history when authenticated remote heads remain unchanged.
  • Expands delivery diagnostics, regression coverage, and documentation.
File Description
pkg/​workqueue/​delivery.go Adds verifier budget and settlement logging.
pkg/​workqueue/​delivery_test.go Tests diagnostic output and privacy.
pkg/​workqueue/​delivery_host.go Logs native inventory and readback checks.
pkg/​cli/​work_command.go Infers repositories for queue commands.
pkg/​cli/​work_command_test.go Covers inferred and explicit repositories.
pkg/​cli/​work_command_replay_test.go Covers checkout-free snapshot replay.
pkg/​cli/​repo.go Prefers local origin discovery.
pkg/​cli/​repo_test.go Tests repository lookup precedence and fallback.
docs/​src/​content/​docs/​reference/​work-queue.md Documents lookup behavior and diagnostic namespaces.
actions/​setup/​js/​work_queue_native_creation_delivery.test.cjs Tests mismatch diagnostics, privacy, and exhaustion reporting.
actions/​setup/​js/​work_queue_native_creation_delivery.cjs Adds native creation readback diagnostics.
actions/​setup/​js/​work_queue_logging.test.cjs Covers sanitized contract and receipt logging.
actions/​setup/​js/​work_queue_git_transport.test.cjs Tests history reuse and changed-head fetching.
actions/​setup/​js/​work_queue_git_transport.cjs Reuses validated history for unchanged heads.
actions/​setup/​js/​work_queue_delivery.cjs Adds contract, receipt, and resource diagnostics.
actions/​setup/​js/​finish_work_queue_claim.cjs Adds budget diagnostics and visible exhaustion summaries.

Review effort: Max

Comment thread pkg/cli/repo.go Resolved
Comment thread pkg/cli/repo.go Resolved
Replace the parent-name coupling with the captured queue root pointer, covering renamed roots, aliases, explicit repository precedence and root help.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No further code change is needed for this informational result. As previously noted, reported_no_action is not being treated as verification.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No further code change is needed; this completion notice contains no actionable finding. Validation remains separate from the reported_no_action status.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Accepted the associated command-identity finding and replaced the parent-name check with actual command identity, covered by renamed-root and alias regression tests. The updated notice reports completion; it is not being treated as approval.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Already addressed in 6850574: the generated ADR was completed and linked in the PR description. It remains Proposed pending maintainer acceptance; no further change is needed.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Already addressed in 6850574: native exhaustion now uses the always-visible warning path with no-DEBUG regression coverage. This completion notice requires no additional code change.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The native exhaustion finding was addressed in 6850574 with an always-visible warning and no-DEBUG coverage. No additional change is required by this completion notice.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): ADR-70617 is completed, dated 2026-10-20, and linked in the PR description. This batch revises its decision and consequences to describe queue-only local-first inference while preserving existing callers' gh-selected targets.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The saved exhaustion theme is already fixed with an ungated native warning and no-DEBUG regression. Bot-managed memory remains untouched; newer diagnostic-accuracy findings are handled separately.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): This acknowledgment remains valid: a no-op result is not verification. No additional implementation change is requested here.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): This acknowledgment remains valid; the completion notice is informational rather than approval. No additional implementation change is needed.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The original notice now reports review completion, and its command-identity finding was fixed in b96859b. The earlier progress-only wording is outdated, but completion is still not approval.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The ADR remains completed, linked, and Proposed pending maintainer acceptance. This batch updates the repository-resolution decision to queue-only scope.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The native exhaustion warning and no-DEBUG coverage remain in place. This prior response requires no additional code change.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The ADR's corrected date, required sections, and link remain valid, but the global origin-first decision is superseded. Existing shared callers now retain gh selection, with local-first inference scoped to queue commands.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The exhaustion regression still clears debug variables and bot-managed memory remains unchanged. No additional implementation change is needed for this acknowledgment.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): This repeated informational acknowledgment remains valid: reported_no_action is not verification. No additional code change is needed.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): This repeated acknowledgment contains no outstanding change request. Validation is still performed independently of the no-op review status.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The root-pointer command-identity fix and renamed-root/alias coverage remain in place from b96859b. No additional change is needed for this prior response.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The ADR remains completed, linked, and Proposed. Its resolution scope is being refined in this batch to preserve existing gh-selected targets.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The always-visible native exhaustion path and no-DEBUG regression remain valid. No further change is needed for this completion acknowledgment.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The ADR date, required sections, and PR link remain correct; its global origin-first tradeoff is superseded by the repository-scope fix. The updated ADR now documents queue-only local-first inference.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The native exhaustion issue remains fixed and bot-managed memory remains untouched. This acknowledgment adds no outstanding implementation work.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No additional change is required: the underlying no-op status is still not evidence of verification.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): No additional change is required; this prior informational acknowledgment does not imply approval.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The reviewer completion status and command-identity fix remain accurately described. No additional change is needed for this prior response.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The completed ADR remains linked and Proposed. Its repository-resolution details have been updated to match the narrower queue-only behavior.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): Native exhaustion remains always visible, with no-DEBUG regression coverage. No additional change is needed here.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The ADR still covers overrides, reuse, privacy, and fork behavior, but its repository-resolution decision is narrowed in this batch. Unrelated shared callers preserve gh selection rather than inheriting queue-local origin-first behavior.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Regarding #70617 (comment): The ungated exhaustion warning and regression clearing debug variables remain in place. No memory edit or additional implementation change is needed for this acknowledgment.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot address the following outstanding work in one pass:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (actions/setup/js/finish_work_queue_claim.cjs:387): When no attempt produces a verified proof, verifiedSnapshot remains null and verifiedControlsDigest is undefined. This event therefore appears after every unsuccessful verification, even when no control inventory changed. That makes the recommended debug output report an unrelated mismatch. Emit delivery.verifier.controls_mismatch only when this check actually discards a verified proof; keep the existing fail-closed assignment. - Prefer local Git lookups for work queue replay #70617 (comment)
  3. Review (actions/setup/js/work_queue_native_creation_delivery.cjs:128): If only the discussion's labels change after creation, verification fails while every logged flag remains true: labels_complete describes pagination, not label equality. The URL comparison is also missing. Add boolean results for both checks so this event identifies those rejection causes without exposing labels or resource identities. - Prefer local Git lookups for work queue replay #70617 (comment)
  4. Review (actions/setup/js/work_queue_native_creation_delivery.cjs:183): A labels-only or assignees-only change rejects this readback while every currently logged flag remains true. The event also omits the URL and repository-ID comparisons enforced above. Operators can therefore see pull_request.readback.mismatch without any flag identifying the failed check. Include boolean results for these comparisons without logging their values, and avoid calling the throwing identity validator on potentially absent repository IDs. - Prefer local Git lookups for work queue replay #70617 (comment)
  5. Review (pkg/cli/repo.go:27): The new local-first lookup passes the raw origin to parseGitHubRepoSlugFromURL, which logs it verbatim at pkg/cli/git.go:100. With an origin such as https://github.com/owner/repo.git, DEBUG=cli:* or runner debugging exposes the token before the parser rejects the URL and falls back to gh. Previously, a successful hosted lookup skipped this path. Remove or redact the shared parser's raw-URL diagnostic and add a credential-bearing-origin regression test; removing the direct URL log in this file is not sufficient. - Prefer local Git lookups for work queue replay #70617 (comment)
  6. Review (pkg/cli/repo.go:28): This changes the shared resolver used by run, secret set, and other commands, not just queue inference. In a fork checkout where origin is the fork but gh repo set-default selects the parent, this now returns the fork without consulting that selection. buildWorkflowRunArgs still dispatches through gh workflow run without --repo (run_workflow_execution.go:366–370), while waiting and auto-merge use this resolver (:486–503), so one command can target two repositories. secret set also uploads to the newly inferred target (secret_set_command.go:80–106). A stale origin after a rename additionally returns a noncanonical slug that queue authentication rejects (pkg/workqueue/branch.go:382). Preserve gh's selected repository for existing callers, for example by giving queue inference a dedicated local-first helper, and cover fork/default and renamed-repository cases. - Prefer local Git lookups for work queue replay #70617 (comment)

Push the necessary fixes, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved. Use the pr-finisher skill and stop when only human review or CI remains; do not trigger CI.

Sous-chef head: b96859b
Sous-chef work: 471c0e8750da5e775c0d3179d358ed790033f3cc046d954fb575b46395b715c2 51ef7c93e22eff0a51e9e92febb8ea14b41dd37bc807b5db726750bc9d36de5c 91b67567bf90f39aa7c8a190bbc972c4cafe61d926162f06650e388050590b93 cc2a5974204cea668af428cc84acbabbf430278e405ef718a90041485e1363bc df0b71cb177265e7a011d7e81d76d1c2177ca0827755f4ac0baf48e1973d829c
Sous-chef state: f6dafa662fa8a44fed2dbb6598d5fe5306f66c02d8395960b4858837f50169d7

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

@pelikhan
pelikhan merged commit 5db6123 into main Oct 20, 2026
90 checks passed
@pelikhan
pelikhan deleted the pelikhan-glowing-spoon branch October 20, 2026 20:28
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.93.0

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

Labels

None yet

3 participants