Skip to content

fix(scripts): dedupe isDirectReleaseCandidateExecution declaration after racing restores - #109606

Closed
steipete wants to merge 2 commits into
mainfrom
fix/checklist-dedupe-final
Closed

steipete wants to merge 2 commits into
mainfrom
fix/checklist-dedupe-final

Conversation

@steipete

@steipete steipete commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

check-lint on main is failing again with adjacent-overload-signatures: scripts/release-candidate-checklist.d.mts has two identical isDirectReleaseCandidateExecution declarations. The full Node matrix also fails because a Parallels test still requires the retired workspace-state.json smoke artifact.

Why This Change Was Made

Tonight's sequence produced a fix race in both directions: #109546 introduced a duplicate; #109553 and #109560 each removed one copy in parallel (leaving zero, breaking check-test-types); then #109586 restored a second copy (breaking check-lint again). This PR removes the second copy, leaving exactly one declaration matching the .mjs implementation. It also removes only the obsolete workspace-state assertion; identity and bootstrap workspace checks remain.

User Impact

Unblocks check-lint, the shared tooling shard, and ci-gate for all open PRs. No runtime behavior change.

Evidence

  • node scripts/run-oxlint.mjs scripts/release-candidate-checklist.d.mts: zero findings.
  • Script-asserted exactly one remaining declaration.
  • node scripts/run-vitest.mjs test/scripts/release-candidate-checklist.test.ts: pass.
  • node scripts/run-vitest.mjs test/scripts/parallels-smoke-model.test.ts: 87 passed.
  • node scripts/run-vitest.mjs test/scripts/parallels-npm-update-smoke.test.ts: 31 passed.
  • Fresh autoreview clean.

AI-assisted: yes. I verified both failures against current main and reviewed the bounded test-contract update.

@steipete

Copy link
Copy Markdown
Contributor Author

Superseded by current main commit 2256387885723, which leaves exactly one declaration and updates the retired workspace-state assertion while preserving the identity/bootstrap contract. Focused Parallels suites and the full hosted matrix are green on the equivalent repair. Closing to avoid replaying the same overlapping deletions again.

@steipete steipete closed this Jul 17, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Superseded by current main: scripts/release-candidate-checklist.d.mts now contains exactly one isDirectReleaseCandidateExecution declaration, so this dedupe is already present. Closing this PR and deleting its branch.

@steipete
steipete deleted the fix/checklist-dedupe-final branch July 17, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant