Skip to content

Build: NX resource-class eval — linux-browsers-js = medium#34578

Closed
kasperpeulen wants to merge 27 commits into
kasper/nx-aifrom
kasper/nx-rc-medium
Closed

Build: NX resource-class eval — linux-browsers-js = medium#34578
kasperpeulen wants to merge 27 commits into
kasper/nx-aifrom
kasper/nx-rc-medium

Conversation

@kasperpeulen
Copy link
Copy Markdown
Member

Closes #

What I did

NX Cloud resource-class sweep — branch 6 of 6. Do not merge.

Changes exactly one line: .nx/workflows/agents.yamllinux-browsers-js.resource-class = docker_linux_amd64/medium (10 credits/min).

Part of measuring the real cost / duration / flake curve across linux-browsers-js resource classes on real ci:normal traffic. Replaces the single linearly-extrapolated "medium+ projected" column in the NX-vs-CircleCI findings canvas with a 6-point data-backed curve. linux-js stays at extra_large+ across all branches. Parent branch kasper/nx-ai (#34282) strips CircleCI + NX_EXPERIMENT so these 6 PRs only exercise NX Cloud.

Sweep matrix:

Branch linux-browsers-js credits/min
kasper/nx-rc-xlarge-plus extra_large+ 60
kasper/nx-rc-xlarge extra_large 40
kasper/nx-rc-large-plus large+ 30
kasper/nx-rc-large large 20
kasper/nx-rc-medium-plus medium+ 15
kasper/nx-rc-medium medium 10

Traffic plan: cache-bust every ~10 min per branch until 30 runs/branch or Enterprise trial expiry (2026-04-19). Data → scripts/ci-eval.db → new "Resource class sweep" section in the findings canvas with cost + duration bar charts and a measured recommendation.

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

Caution

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

No manual test necessary — this PR exists only to exercise CI traffic. Verify by opening the PR's NX Cloud CIPE (GH check nx: normal) and confirming the linux-browsers-js agents are running on docker_linux_amd64/medium (visible in the agent metadata on cloud.nx.app). The sync script scripts/evaluate-ci.ts records credit_multiplier = 10 per CIPE in scripts/ci-eval.db.

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook publish.yml --field pr=<PR_NUMBER>

@kasperpeulen kasperpeulen added build Internal-facing build tooling & test updates ci:normal labels Apr 17, 2026
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 17, 2026

View your CI Pipeline Execution ↗ for commit 469e2db

Command Status Duration Result
nx run-many -t compile,check,knip,test,lint,fmt... ✅ Succeeded 10m 8s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-17 18:07:58 UTC

@kasperpeulen kasperpeulen force-pushed the kasper/nx-rc-medium branch 2 times, most recently from 0879af6 to 197084d Compare April 17, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Internal-facing build tooling & test updates ci:normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants