Skip to content

refactor(ci): simplify work-resolve-issue.yml workflow - #15903

Merged
kyle-sexton merged 1 commit into
mainfrom
refactor/s095-work-resolve-issue
Nov 13, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
refactor/s095-work-resolve-issue

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #15892

session: Simplify E2 B

Summary

A /simplify pass over .github/workflows/work-resolve-issue.yml (whole file). Behavior is unchanged.

Fix

  • admit: removed --no-audit --no-fund from the resolve-config npm ci line. The job env already sets npm_config_audit and npm_config_fund to "false", and callers.test.mjs requires those values in the env, not as flags.
  • pick-slot: the WIP-cap pause comment sat above "Check out the default branch tip", which it does not describe. It now sits above "Check the WIP cap". That also puts "Resolve main's tip" next to the checkout, as in every other job. One comment loses a "now".
  • Rewraps:
    • The resolve-issue-handoff, resolve-issue-subscription-handoff and resolve-issue-fallback headers, which a job rename left 89-125 columns wide. These now match the same headers in pr-unblock.yml (refactor(ci): simplify pr-unblock.yml workflow (part 1 of 3) #15880).
    • The fallback header's "subscription's subscription leg" is now "subscription's leg".
    • Five other broken wraps: the API_BUDGET_HOLD note, the lanes-App assert, the dimensions timeout, the statuses: write grant, and the report-outcome header.

Considered and left as is

  • callers.test.mjs freezes the key-credit-markers step if:, which repeats its job gate.
  • The repeated admission gates on the subscription, fallback and report-skip jobs stay; workflow-gates.test.mjs pins the fallback's.
  • npm_config_fetch_timeout beside npm_config_globalconfig is pinned.
  • The rm -rf "${LANE:?}/scripts" before the base swap is needed.

Verification

  • Every one of the 46 local test files that name this workflow passes under scripts/run-test-file.sh.
  • Local actionlint 1.7.12 errors on the issues trigger's field_added type, the cache-mode key and the concurrency.queue key. All three are newer than that actionlint, and origin/main gets the same errors.
  • node scripts/check-artifact-retention.mjs: 152 upload steps match.
  • The full .github suite is left to ci-status, under the one-suite-per-machine rule.

Related

Follow-ups

🤖 Generated with Claude Code

- admit: drop `--no-audit --no-fund`, which the job env's
  npm_config_audit and npm_config_fund already set.
- pick-slot: move the WIP-cap pause comment from the checkout step onto
  "Check the WIP cap", the step it describes; drop "now" from a
  comment.
- Rewrap comment lines a job rename left over 80 columns (the
  resolve-issue handoff, subscription-handoff and fallback headers,
  where "subscription's subscription leg" also loses its doubled word)
  and five other broken wraps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T08:11:01.941209Z 3ffbd0b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 3ffbd0b6eb6c0cd515f63037823a916a429f4b0d: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

Scope: I read the whole change to .github/workflows/work-resolve-issue.yml, the only file in the diff. The file matches a trusted path, so its whole change got extra scrutiny.

Behavior change (one line): the Install resolve-config's packages step in admit no longer passes --no-audit --no-fund to npm ci (L165).

  • The job env still sets npm_config_audit: "false" and npm_config_fund: "false" (L101, L103), so npm behaves the same.
  • --ignore-scripts and --omit=dev are still passed, so no install-time scripts run.
  • The step's if: gate (kill switch proceed == 'true') is unchanged.

Everything else is comments only: rewrapped comments, the WIP-cap pause comment moved above Check the WIP cap, and a dropped "now" and a dropped repeated "subscription". No if:, permissions:, token request, trigger, secret, kill-switch input or step order changed.

Trust controls: nothing is widened. The trusted-trigger gate, the lanes token scope, the kill-switch read and the job-level statuses: write scoping (whose comment was rewrapped) all read the same at head.

Instruction surface: no standing instruction was removed or softened. The edited comments keep their meaning. I did not need to consult the protected-class register.

Embedded text: the pull request context has no directives aimed at this lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 3ffbd0b6eb6c0cd515f63037823a916a429f4b0d: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

I read all of .github/workflows/work-resolve-issue.yml in the diff. Most of the change only rewraps or moves comments. One line changes behavior.

  • admit npm ci flags (.github/workflows/work-resolve-issue.yml:165). The change drops --no-audit --no-fund. I checked that the job's env still turns audit and fund off: it sets npm_config_audit: "false" and npm_config_fund: "false" (L101-L103). npm gives env config precedence over the npm-fetch.npmrc globalconfig, so the install still skips both requests. The test "every workflow npm ci step is bounded, unretried, and skips audit and fund" checks these env values on every workflow npm ci step, so it would fail if they were dropped. The test that requires the flags covers only composite action.yml files, not workflows.
  • WIP-cap comment move. The comment block moved word for word. It now sits above "Check the WIP cap" (L283-L294), the step it describes. No step's keys changed.
  • Rewraps. The comment text is the same apart from the two edits the PR names: one "now" removed, and "subscription's subscription leg" shortened to "subscription's leg". No YAML keys, job ids, triggers or step names changed.

Closing issue #15892 acceptance criteria:

  • Behavior unchanged: met.
  • Only the listed file edited: met.
  • Under 400 lines and 15 files: met.
  • Workflow file name, job ids and triggers unchanged: met.
  • ci-status green: I could not check this from here. The test results in the PR body are the author's claim, and I did not run them.

No embedded instructions were found in the PR context or prior-findings files. This was the lane's first review of this PR, so it was a full review, not blocking only.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit 49b2170 Nov 13, 2026
54 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/s095-work-resolve-issue branch November 13, 2026 08:29
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify the work-resolve-issue.yml workflow

1 participant