Skip to content

chore(pr-pipeline): install resolve-config's packages in the intake-reenter job - #13498

Merged
kyle-sexton merged 2 commits into
mainfrom
chore/13489-reenter-resolve-config-install
Nov 5, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
chore/13489-reenter-resolve-config-install

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #13489

Summary

reenter.mjs reads the Work status field through resolve-config.mjs (since #13496), but the intake-reenter.yml job never installed resolve-config's packages. The read therefore always fell back to the labels, so a field hold the labels lack went unseen. This adds the install step. It is the Codex finding deferred from #13496.

Held for a person: intake-reenter.yml is a path ci-status holds (scripts/ci-lanes-pr-hold.test.sh).

Fix

Verification

  • node --test: callers 241, reenter 72, log-api-budget 70. All pass.
  • scripts/workflow-self-paths.test.sh: 132/132. gitleaks: no leaks; the pre-push check-affected passed.
  • Left out: a live run, which needs a re-entry event after merge.

Remaining

Related

#7577 (parent); #13496 (the reader this feeds).

🤖 Generated with Claude Code

…eenter job

reenter.mjs reads an issue's Work status field through resolve-config.mjs,
whose packages this job never installed, so the read always fell back to
the labels and a field hold the labels lack went unseen. The job now
installs them, with continue-on-error so a failed install only leaves the
labels to decide.

Closes #13489

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 5, 2026 12:10
@chatgpt-codex-connector

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

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T12:11:53.994492Z e5b417b Draft marked ready
ℹ️ 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

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #13498 (incremental since e5b417b), no security issues found

Scope: I reviewed only what changed since the last review. That is one hunk in .github/workflows/intake-reenter.yml, a trusted path. I read all of it. This lane already reviewed an earlier head, so this pass reports blocking findings only (CRITICAL and IMPORTANT).

What changed: the reenter job's timeout-minutes goes from 5 to 9 (L90). A comment above it gives the reason. The install step can use its full 3-minute limit, and the re-entry still needs time afterwards to finish, so it can't be cut off between removing one label and adding the next.

What I checked:

  • Triggers, permissions, gates. The permissions: block is unchanged (contents: read, issues: write, and the rest as before). So are the job's if:, the kill switch gate and the trusted-actor check. A longer timeout lets nothing new through, gives no token more scope and lets no new text into the lane.
  • Kill switch. The kill switch can still stop the lane. A longer timeout doesn't change whether the switch is consulted or whether its output is honored.
  • Partial-run risk. The longer limit makes it less likely the job stops halfway through editing labels. That narrows the risk of a half-applied label change; it doesn't add one.

Embedded text: the PR description and the files the job supplied contain no instructions aimed at this lane.

Spend: each re-entry run can now take up to 4 more minutes of standard ubuntu-24.04 runner time. That comes out of the existing Actions allowance and doesn't start a new charge.

critical-findings: 0

@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.

claude-review: 1 inline finding(s) on e5b417b83b2f07742a7aca4abee252c4eacf9aa6; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread .github/workflows/intake-reenter.yml Resolved
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: #13498, incremental (e5b417b..ea9ba65), blocking only

Scope: I read the whole incremental diff, which is one hunk in one file (.github/workflows/intake-reenter.yml). I also read the job at head for context.

What changed: The reenter job's timeout-minutes goes from 5 to 9, and a comment above it explains why (L87-L90). This fixes this lane's earlier finding (discussion_r4480275149). The owner resolved that thread, and nothing has changed under it since.

  • The install step can use its full 3 minutes (L150) and still leave the 5 minutes the job had before, plus a minute of slack.
  • A stalled registry can therefore no longer cut reenter.mjs off between removing the label and adding it back.
  • The new comment matches the numbers in the code.

Findings: none.

Prior findings: the one earlier inline finding is resolved by this push, so I did not post it again.

Verification: the test counts in the owner's reply (callers 241/241, reenter 72/72, workflow-self-paths 132/132) are the author's claims. I had no shell and ran none of them.

Spend: the job's worst-case runtime on the standard hosted ubuntu-24.04 runner rises from 5 to 9 minutes. A run only takes that long when the registry stalls. This is not a billing change.

…nfig install

The new 3-minute install sat inside the job's old 5-minute timeout, so a
slow registry could leave the re-entry too little time and cancel it
between removing the status label and adding needs-triage, dropping the
person's answer. The job timeout is now 9 minutes: the old 5 plus the
install's 3 and a minute of slack.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 295bd3f Nov 5, 2026
49 checks passed
@kyle-sexton
kyle-sexton deleted the chore/13489-reenter-resolve-config-install branch November 5, 2026 12:29
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.

1 participant