Skip to content

ci: increase artifact Testbox memory - #99820

Merged
steipete merged 3 commits into
mainfrom
codex/ci-build-artifacts-memory
Jul 4, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/ci-build-artifacts-memory

Conversation

@steipete

@steipete steipete commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Blacksmith Build Artifacts Testbox repeatedly exhausted memory while running tsdown on its 8-vCPU runner, blocking otherwise-green pull requests. Exact failures reproduced in runs 28695538053 and 28695176535.

Why This Change Was Made

The canonical CI artifact build already runs successfully on blacksmith-16vcpu-ubuntu-2404. This aligns the Testbox artifact build with that proven runner and raises its Node heap ceiling from 12 GB to 16 GB.

User Impact

Maintainer artifact validation no longer depends on repeatedly retrying a memory-starved build lane.

Evidence

  • node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts — 33 passed.
  • git diff --check — passed.
  • Added a workflow guard covering the runner and heap contract.

This change was developed and validated with AI assistance. No transcript is included.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Jul 4, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: macos App: macos scripts Repository scripts size: XL and removed size: XS labels Jul 4, 2026
@steipete
steipete merged commit c669b09 into main Jul 4, 2026
28 checks passed
@steipete
steipete deleted the codex/ci-build-artifacts-memory branch July 4, 2026 05:13
@steipete

steipete commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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

Copy link
Copy Markdown
Contributor

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: db4811256a

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

if: steps.dist-cache.outputs.cache-hit != 'true'
env:
NODE_OPTIONS: --max-old-space-size=12288
NODE_OPTIONS: --max-old-space-size=16384

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Badge Set the tsdown heap override for artifact builds

When this workflow misses the dist cache and reaches the failing tsdown phase, this NODE_OPTIONS increase still gets clamped back to 12288 MB: pnpm build:ci-artifacts runs scripts/tsdown-build.mjs, and that wrapper only raises its resolved heap through OPENCLAW_TSDOWN_MAX_OLD_SPACE_MB; inherited --max-old-space-size=16384 is normalized down by normalizeMaxOldSpaceSizeMb. The artifact Testbox will therefore keep using the old 12 GB tsdown heap in exactly the OOM scenario this commit is meant to fix, so set the tsdown-specific override as well or adjust the wrapper contract.

Useful? React with 👍 / 👎.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 4, 2026
* ci: increase artifact Testbox memory

* ci: increase artifact Testbox memory

* ci: increase artifact Testbox memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos docs Improvements or additions to documentation maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant