Skip to content

fix(ci): pre-install @adcp/client + bump readiness window for v3 storyboard#448

Merged
bokelley merged 3 commits intomainfrom
bokelley/dx-storyboard-v3-readiness
May 3, 2026
Merged

fix(ci): pre-install @adcp/client + bump readiness window for v3 storyboard#448
bokelley merged 3 commits intomainfrom
bokelley/dx-storyboard-v3-readiness

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

@bokelley bokelley commented May 3, 2026

Summary

The v3 reference seller storyboard CI job has been failing intermittently with "Upstream mock failed to start within 30s". Root cause: npx -y -p @adcp/client@latest runs a fresh npm install on every CI run (~50MB of deps + metadata build), eating most of the 30s readiness budget before the JS process even starts.

Changes

  • Pre-install @adcp/client@latest via npm install -g in a separate step BEFORE the readiness loop
  • Enable npm cache on actions/setup-node so subsequent runs are fast
  • Bump readiness window from 30s (60×0.5s) to 60s (120×0.5s) for cold-start variability

Test plan

  • Translator storyboard job passes on this PR
  • No regression on the existing seller_agent.py storyboard (chronic readiness flake — separate issue)

This unblocks the path to promoting the v3 ref seller storyboard job to required.

🤖 Generated with Claude Code

bokelley and others added 3 commits May 3, 2026 06:08
…yboard

The v3 reference seller storyboard CI job was failing with "Upstream
mock failed to start within 30s". Root cause: ``npx -y -p @adcp/client@latest``
runs a fresh npm install on every CI run (~50MB of deps + metadata
build), eating most of the 30s readiness budget before the JS process
even starts.

Two changes:

1. Pre-install ``@adcp/client@latest`` in a separate step BEFORE the
   readiness loop. The npm cache (now enabled on actions/setup-node)
   makes subsequent runs fast.
2. Bump readiness from 30s (60×0.5s) to 60s (120×0.5s). Even with the
   pre-install, GHA-hosted runner cold starts can be variable.

This unblocks the path to promoting the v3 ref seller storyboard
job to required.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley bokelley merged commit 6b89599 into main May 3, 2026
12 of 14 checks passed
bokelley added a commit that referenced this pull request May 3, 2026
Pull in CI fixes #448 (pre-install @adcp/client) and #450 (npm cache +
drop per-invocation npx). Likely conflict in ci.yml since main is also
reworking how the storyboard runner is invoked.

# Conflicts:
#	.github/workflows/ci.yml
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