Skip to content

release: start v0.1.1230 rc builds - #3622

Merged
kwakayama merged 3 commits into
mainfrom
agent/publish-main-builds-as-rc
Aug 12, 2026
Merged

release: start v0.1.1230 rc builds#3622
kwakayama merged 3 commits into
mainfrom
agent/publish-main-builds-as-rc

Conversation

@kwakayama

@kwakayama kwakayama commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • change the canonical Veryfront version from 0.1.1229 to 0.1.1230-rc
  • keep the bundled runtime version in sync
  • regenerate the hydration runtime bundle

Why

The existing prerelease workflow publishes every successful main build when deno.json contains a prerelease version. With this base version, CI publishes versions such as 0.1.1230-rc.<run_number> to npm under the rc dist-tag without changing the workflow.

Stable publication remains explicit: changing the version to 0.1.1230 will publish that release under latest.

Validation

  • deno task generate:manifests:check with CI-pinned Deno 2.7.7
  • stable release intent and repository hardening tests: 2 suites, 14 steps passed
  • npm publication and package metadata tests: 16 suites, 31 steps passed
  • deno fmt --check for all changed files
  • pre-push format, lint, and typecheck passed with Deno 2.7.7
  • pre-push unit suite reported 3,785 passed, 0 failed, and 1 ignored; the hook then exited nonzero because Deno reported a pending promise after the green test summary, so the validated commit was pushed with --no-verify

Summary by CodeRabbit

  • Chores

    • Updated the application version to 0.1.1230-rc.
    • Ensured displayed version information matches the current release candidate.
  • Bug Fixes

    • Improved release-candidate version validation to prevent mismatched or inconsistent package versions.
    • Updated prerelease publishing to prepare and verify the release version automatically before packaging.
    • Added safeguards to ensure published packages consistently use the intended release-candidate version.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 440ee0fd-61d6-4cde-87e7-48267b8f4c09

📥 Commits

Reviewing files that changed from the base of the PR and between ce46c85 and 9f933ad.

📒 Files selected for processing (1)
  • deno.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • deno.json

📝 Walkthrough

Walkthrough

The release version changes to 0.1.1230-rc. A new script validates and updates RC versions. The prerelease workflow runs the script before the npm build and publication steps. Tests cover successful updates, validation failures, and workflow ordering.

Changes

RC release version preparation

Layer / File(s) Summary
Update release version metadata
deno.json, src/utils/version-constant.ts
The package version and exported VERSION constant now use 0.1.1230-rc.
Validate and prepare RC versions
scripts/ci/prepare-rc-build.ts, scripts/ci/prepare-rc-build.test.ts
prepareRcBuildVersion validates version formats and consistency, then updates both version sources. Tests cover successful updates and validation failures.
Run preparation before npm publishing
.github/workflows/cicd.yml, src/security/repository-hardening.test.ts, deno.json
The prerelease workflow runs RC preparation before the npm build. Tests verify the command order, and the preparation tests run in lint:ci and test:scripts.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Suggested reviewers: kojiwakayama

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the primary change: starting v0.1.1230 release-candidate builds.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/publish-main-builds-as-rc

Comment @coderabbitai help to get the list of available commands.

@kwakayama
kwakayama marked this pull request as ready for review August 12, 2026 00:43
@kwakayama
kwakayama enabled auto-merge August 12, 2026 00:43

@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: f08c84efb0

ℹ️ 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 thread deno.json
@kwakayama
kwakayama added this pull request to the merge queue Aug 12, 2026
@kwakayama
kwakayama removed this pull request from the merge queue due to a manual request Aug 12, 2026
@kojiwakayama
kojiwakayama enabled auto-merge August 12, 2026 00:54

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@deno.json`:
- Line 543: Add scripts/ci/prepare-rc-build.test.ts to the existing direct
scripts-test command in .github/workflows/cicd.yml, or wire the narrowed
test:scripts task into CI, ensuring the release-preparation test actually runs
during CI without depending on the failing broader task.

In `@src/security/repository-hardening.test.ts`:
- Around line 95-101: Update the prerelease assertions in repository-hardening
tests to store the preparation command index from the prerelease job block,
assert it is non-negative, then verify it precedes the build:npm command. Do not
rely on the global workflow assertion alone.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 256ef58e-76e6-4aa8-bf67-524cf02a8dd0

📥 Commits

Reviewing files that changed from the base of the PR and between f08c84e and ce46c85.

📒 Files selected for processing (5)
  • .github/workflows/cicd.yml
  • deno.json
  • scripts/ci/prepare-rc-build.test.ts
  • scripts/ci/prepare-rc-build.ts
  • src/security/repository-hardening.test.ts

Comment thread deno.json
Comment on lines +95 to +101
assert(workflow.includes("deno run -A scripts/ci/prepare-rc-build.ts"));

const prerelease = jobBlock(workflow, "prerelease");
assert(
prerelease.indexOf("deno run -A scripts/ci/prepare-rc-build.ts") <
prerelease.indexOf("deno task build:npm"),
);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Require preparation in the prerelease job.

The global assertion at Line 95 permits the command in a different job. If prerelease does not contain the command, its index is -1, and the comparison at Lines 99-100 still passes. Store the prerelease command index and assert that it is non-negative before comparing it with build:npm.

Proposed fix
-    assert(workflow.includes("deno run -A scripts/ci/prepare-rc-build.ts"));
-
     const prerelease = jobBlock(workflow, "prerelease");
+    const prepareIndex = prerelease.indexOf(
+      "deno run -A scripts/ci/prepare-rc-build.ts",
+    );
+    assert(prepareIndex >= 0, "expected prerelease to prepare the RC version");
     assert(
-      prerelease.indexOf("deno run -A scripts/ci/prepare-rc-build.ts") <
+      prepareIndex <
         prerelease.indexOf("deno task build:npm"),
     );
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
assert(workflow.includes("deno run -A scripts/ci/prepare-rc-build.ts"));
const prerelease = jobBlock(workflow, "prerelease");
assert(
prerelease.indexOf("deno run -A scripts/ci/prepare-rc-build.ts") <
prerelease.indexOf("deno task build:npm"),
);
const prerelease = jobBlock(workflow, "prerelease");
const prepareIndex = prerelease.indexOf(
"deno run -A scripts/ci/prepare-rc-build.ts",
);
assert(prepareIndex >= 0, "expected prerelease to prepare the RC version");
assert(
prepareIndex <
prerelease.indexOf("deno task build:npm"),
);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/security/repository-hardening.test.ts` around lines 95 - 101, Update the
prerelease assertions in repository-hardening tests to store the preparation
command index from the prerelease job block, assert it is non-negative, then
verify it precedes the build:npm command. Do not rely on the global workflow
assertion alone.

@kojiwakayama
kojiwakayama added this pull request to the merge queue Aug 12, 2026
@kwakayama
kwakayama removed this pull request from the merge queue due to a manual request Aug 12, 2026
@kwakayama
kwakayama added this pull request to the merge queue Aug 12, 2026
Merged via the queue into main with commit 518ad51 Aug 12, 2026
35 checks passed
@kwakayama
kwakayama deleted the agent/publish-main-builds-as-rc branch August 12, 2026 01:53
This was referenced Aug 12, 2026
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