Skip to content

ci(release): Guard publishable package config#79

Merged
dcramer merged 2 commits into
mainfrom
codex/release-config-guard
Jun 4, 2026
Merged

ci(release): Guard publishable package config#79
dcramer merged 2 commits into
mainfrom
codex/release-config-guard

Conversation

@dcramer

@dcramer dcramer commented Jun 4, 2026

Copy link
Copy Markdown
Member

Release validation now treats non-private package manifests as the source of truth for publishable packages. This keeps Craft targets, post-merge packing, version bumping, and bundled action tag wiring from drifting when packages are added.

Seven-package release set

The release config now includes the new @vitest-evals/core and @vitest-evals/report-ui packages alongside the existing core package, harness adapters, and GitHub reporter internals. The post-merge pack step dry-runs the same manifest-derived set.

Artifact and action safeguards

The release checker validates Craft tarball selectors, scoped package access, the Craft pre-release bump hook, and the bundled github-reporter action path used by the release/tag workflows.

Review hardening

The regex-literal parser now scans Craft selectors without an inefficient expression, and CLI entrypoint detection normalizes relative paths so node ./scripts/check-release-config.mjs always runs the check.

Validated locally with pnpm run release:check, pnpm exec vitest run scripts -c vitest.config.ts, Biome lint, pnpm lint, pnpm docs:check, pnpm typecheck, pnpm run build, pnpm run build:action, pnpm test:ci, and a dry pack of all seven npm tarballs.

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vitest-evals-docs Ready Ready Preview, Comment Jun 4, 2026 7:23am

Request Review

Comment thread scripts/check-release-config.mjs Fixed

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1c1fe75. Configure here.

Comment thread scripts/check-release-config.mjs
dcramer and others added 2 commits June 4, 2026 09:18
Discover publishable packages from manifests so release validation and version bumping cannot silently miss a new package. Validate Craft targets, pack steps, artifact selectors, and action bundle wiring against that package set.

Co-Authored-By: OpenAI Codex <codex@openai.com>
Add the new core and report UI packages to Craft and post-merge tarball packing. Harden the release config checker against relative CLI invocation and regex-literal parsing issues reported by PR automation.

Co-Authored-By: OpenAI Codex <codex@openai.com>
@dcramer dcramer force-pushed the codex/release-config-guard branch from 1c1fe75 to 715dbec Compare June 4, 2026 07:22
@dcramer dcramer marked this pull request as ready for review June 4, 2026 07:25
@dcramer dcramer merged commit 0aeee5a into main Jun 4, 2026
14 checks passed
@dcramer dcramer deleted the codex/release-config-guard branch June 4, 2026 07:25
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.

2 participants