Skip to content

build: harden 1.1.2 verification flow#15

Merged
nightt5879 merged 1 commit into
mainfrom
codex/1.1.2-stability
Mar 27, 2026
Merged

build: harden 1.1.2 verification flow#15
nightt5879 merged 1 commit into
mainfrom
codex/1.1.2-stability

Conversation

@nightt5879

Copy link
Copy Markdown
Owner

No description provided.

@nightt5879 nightt5879 requested a review from Copilot March 27, 2026 06:29
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying doubleducklab with  Cloudflare Pages  Cloudflare Pages

Latest commit: 010d604
Status: ✅  Deploy successful!
Preview URL: https://29bf96d2.doubleducklab.pages.dev
Branch Preview URL: https://codex-1-1-2-stability.doubleducklab.pages.dev

View logs

Copilot AI 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.

Pull request overview

This PR hardens the release verification flow by consolidating validation/build/tests into a single npm run verify entrypoint, keeping Windows (verify.bat) and CI aligned while ensuring builds run from clean artifacts.

Changes:

  • Replaced the multi-step verify.bat flow with a single npm run verify call.
  • Added scripts/verify.mjs to run validate:content, build, test:smoke, and test:seo sequentially with fail-fast behavior.
  • Hardened build by introducing scripts/build-site.mjs (clean dist/ + default telemetry disable) and updated CI/docs/READMEs to use verify.

Reviewed changes

Copilot reviewed 16 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
verify.bat Delegates verification to npm run verify for Windows parity.
scripts/verify.mjs Implements the unified, sequential verification pipeline.
scripts/build-site.mjs Enforces clean builds and disables Astro telemetry by default.
package.json Adds verify script and routes build through the hardened build wrapper.
package-lock.json Bumps package version metadata to 1.1.2.
.github/workflows/ci.yml Replaces individual CI steps with npm run verify.
CHANGELOG.md Documents 1.1.2 stability hardening changes.
README.md / README_EN.md Updates verification docs to the unified verify entrypoint.
docs/*, content-map.md Updates operational/release/docs checklists to use npm run verify.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nightt5879 nightt5879 merged commit 9e1381b into main Mar 27, 2026
6 checks passed
@nightt5879 nightt5879 deleted the codex/1.1.2-stability branch March 27, 2026 06:32

@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: 010d604475

ℹ️ 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 scripts/build-site.mjs
process.env.ASTRO_TELEMETRY_DISABLED = '1';
}

const result = spawnSync(process.execPath, [astroEntry, 'build'], {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Forward user-supplied build flags to Astro

build used to execute astro build directly, so npm run build -- --mode staging (and similar flags) reached Astro. The new wrapper hardcodes ['build'] and never forwards process.argv.slice(2), so any caller-provided build options are silently dropped. This can produce incorrect artifacts (for example, wrong mode-specific env/config during release verification) when teams rely on build-time flags.

Useful? React with 👍 / 👎.

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