Skip to content

chore: retire the legacy CI review pipeline - #32

Merged
Jercik merged 1 commit into
mainfrom
chore/retire-legacy-review
Sep 4, 2026
Merged

Jercik merged 1 commit into
mainfrom
chore/retire-legacy-review

Conversation

@Jercik

@Jercik Jercik commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Removes pr-review.yml, the GitHub half of the retired AI review path. Its writers and receipts are already gone, and align no longer renders it.

The rest is managed-file drift that had accumulated behind it, so the diff is wider than the deletion:

  • @types/node drops from ^25.9.3 to ^24.0.0 to match the runtime baseline's major. Worth a look, since it's a downgrade rather than a sync.
  • .node-version arrives at 26.5.0. checks.yml gains a 24.15.0/26.5.0 matrix, and the other workflows read the toolchain from the file instead of package.json.
  • The engines floor moves to >=24.15.0, README follows, and knip.json, the tsconfigs, .oxfmtrc.json, and the pre-commit hook resync to current templates.

release.config.mjs and release-npm.yml's release arm stay withheld. Their analyzer plugins load the conventionalcommits preset by string and conventional-changelog-conventionalcommits isn't installed, so align skips them rather than shipping a release that would fail. That dependency is a separate change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 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-09-04T11:17:38.906904Z fd86493 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 github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach Review: The approach looks good. Removing the retired CI pipeline and performing routine toolchain maintenance are straightforward and sensible.


Approach review by Approach Review 2 (gemini-3.1-pro-preview)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach Review: The approach looks good. The PR does two things: deletes the retired pr-review.yml workflow, and syncs "managed-file drift" that had accumulated behind it via the codebase's existing align tooling. Both are the correct tools for their respective jobs.

The three bug fixes riding along are targeted and well-reasoned:

  • Pre-commit hook reordering (pnpm install before pnpm dedupe --check): correct fix for a topology-mismatched node_modules purge.
  • pnpm_config_verify_deps_before_run: "false": correct workaround for pnpm 11 silently re-running install with lifecycle scripts enabled, dropping --ignore-scripts hardening. The comment correctly notes only the pnpm_config_ spelling works.
  • npm_config_fetch_timeout tuning in commit-msg.yml: correct fix — bounding the request keeps retries useful, whereas bumping the job timeout just makes the tail longer.

The @types/node downgrade to ^24.0.0 correctly matches the runtime major (Node 24+), and the deliberate Node pin in commit-msg.yml (not reading from the PR tree) is a sound security-conscious choice for a workflow that runs version-pinned tooling.

No fundamentally better approach exists for this task.


Approach review by Approach Review 3 (OpenCode Wafer) (GLM-5.2)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fd864938bd

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +10 to +14
# pnpm 11 defaults verify-deps-before-run to "install": the first `pnpm
# <script>` or `pnpm exec` whose deps-status check sees drift re-runs a full
# install with lifecycle scripts enabled, silently dropping this workflow's
# install flags — a prepare hook the hardened --ignore-scripts install skipped
# then runs in CI. Only this spelling disables it: pnpm reads

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Condense the pnpm explanation to one line

This newly added seven-line comment block violates the repository requirement that comments remain one short line and avoid multi-line blocks. Retain only the non-obvious invariant—for example, that disabling automatic reinstalls preserves the hardened install flags—so the workflow remains compliant and maintainable.

AGENTS.md reference: AGENTS.md:L87-L87

Useful? React with 👍 / 👎.

Comment on lines +19 to +23
# npm's fetch-timeout defaults to 300s — exactly this job's cap — so one
# stalled request eats the whole budget in silence and the job is killed
# before npm's own retry ever fires. Observed as five consecutive 5m00s
# timeouts across align and cluster while the same install took 6s when
# it worked. Bounding the request keeps the retries useful and turns the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Shorten the network-timeout rationale

This six-line incident narrative violates the repository's explicit one-short-line limit for comments. Reduce it to the durable reason the settings exist, such as keeping retries within the job timeout, rather than preserving historical timing details in the workflow.

AGENTS.md reference: AGENTS.md:L87-L87

Useful? React with 👍 / 👎.

Comment on lines +14 to +18
# pnpm 11 defaults verify-deps-before-run to "install": the first `pnpm
# <script>` or `pnpm exec` whose deps-status check sees drift re-runs a full
# install with lifecycle scripts enabled, silently dropping this workflow's
# install flags — a prepare hook the hardened --ignore-scripts install skipped
# then runs in CI. Only this spelling disables it: pnpm reads

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Condense the duplicated pnpm explanation

This newly introduced multi-line block also conflicts with the repository rule requiring comments to be a single short line. Preserve only the underlying safety constraint—that automatic dependency verification must not reinstall without the hardened flags—and remove the extended operational description.

AGENTS.md reference: AGENTS.md:L87-L87

Useful? React with 👍 / 👎.

@Jercik
Jercik merged commit 98eb35a into main Sep 4, 2026
6 of 10 checks passed
@Jercik
Jercik deleted the chore/retire-legacy-review branch September 4, 2026 11:28
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