Repository navigation
Description
Summary
AdCP storyboard runner — v3 reference seller (translator) fails on unmodified main. The seller process never becomes ready inside the 30s boot window:
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
Seller failed to start within 30s
##[error]Process completed with exit code 1.
The failure is in the Boot v3 reference seller (translator) step. The upstream-still-alive probe never runs — the readiness loop times out first — so the Node mock server is not implicated.
Evidence that it is main, not a PR
Reproduced on a79e29a2 (current main) with no changes applied, by pushing main unmodified to a fork and letting the same workflow run:
- control run: https://github.com/KonstantinMirin/adcp-client-python/actions/runs/30398113683
AdCP storyboard runner — v3 reference seller (translator): failure- every other job in that run: pass (it is the only failing job)
It also failed three consecutive times on #980, a test-only PR that touches nothing outside tests/conformance/, including on an isolated job re-run.
Why it looks like a regression rather than a flake
- Three-for-three on test(signing): vendor the complete AdCP 3.1.8 request-signing vector set and pin it against drift #980, plus the unmodified-
maincontrol — four consecutive failures, no passes. - The last green run of this job was 2026-07-27 19:24Z (fix(signing): block CGNAT and 6to4 relay ranges in SSRF validation #974, run 30298111174). No CI ran on this repo between then and 2026-07-28 20:35Z, so the breakage landed in that window without a run to catch it.
- Not npm drift in the pinned alias: the job resolves
ADCP_SDK_VERSION: latest, and@adcp/sdklatestis still12.1.1(published 2026-07-26, unchanged since before the last green run). The13.0.0-rc.*series published 2026-07-27/28 sits on the separatercdist-tag, so it should not be reaching this job — worth confirming nothing resolves it transitively.
That leaves a change in the seller's own boot path, a transitive Python dependency resolved at install time, or the runner image, as the likely causes.
Suggested next step
The 30s budget also has no diagnostic on timeout — the step reports only "failed to start" and discards the seller's stdout/stderr, which is why the cause is not visible in the log. Dumping the captured seller log on timeout would make this self-diagnosing, independent of the underlying regression.
Activity
bokelley commentedon Jul 28, 2026
Triage
Classification: Bug
Bucket(s): examples (no matching label exists — gap noted)
Status: ready-to-implement
What the experts said:
kill -0dead-process probe present in both sibling storyboard jobs (storyboard-multi-platform-sellerline 769,storyboard-sales-proposal-modeline 868); inlinepip installon line 448 has no upper bounds onasyncpg,sqlalchemy, orrespx.SELECT version_num FROM alembic_version) — the hang is precisely there, consistent with an asyncpg event-loop attachment change in the 2026-07-27 19:24Z–2026-07-28 20:35Z window; wrapping theto_threadcall withasyncio.wait_forconverts the silent 30s burn to a clearTimeoutErrortraceback.My take: Four-for-four consecutive failures on unmodified main — not a flake. Two independent fixes are needed: a startup timeout in the seller app (in-scope for a PR) and workflow diagnostics in
.github/workflows/ci.yml(human-authored; that file is off-limits for automated PRs).examples/v3_reference_seller/src/app.py,_bootstrap_schema_and_load_tokens: Wrapawait asyncio.to_thread(_run_alembic_upgrade_head, db_url)withasyncio.wait_for(..., timeout=25.0)so a hang surfaces as aTimeoutErrortraceback inside the 30s CI budget. Addlogger.infobefore/after each phase (alembic upgrade, token load). Non-breaking; runpytest examples/v3_reference_seller/tests/+ruff check+mypy src/adcp/..github/workflows/ci.ymlboot step (lines 566–589) — human-authored: AddPYTHONUNBUFFERED=1, redirectpython -m src.app > /tmp/seller.log 2>&1 &, addcat /tmp/seller.login the timeout branch beforeexit 1, addkill -0 "$SELLER_PID"inside the poll loop, add/tmp/seller.logto theif: always()artifact. Once logs are visible, check asyncpg changelog for the breakage window and add a ceiling in the inlinepip installon line 448.Triaged by Claude Code. Session: https://claude.ai/code/session_01RUBuSETHCuU6yr3Ryo2sns
Generated by Claude Code
KonstantinMirin commentedon Jul 29, 2026
Draft — one message to bokelley (plan step 1.4)
Intended as a comment on #981, with the second and third points cross-posted to
#976 and #980 respectively. Not yet sent — awaiting the user's go-ahead.
1. #981 can be closed — #984 already fixed it
AdCP storyboard runner — v3 reference seller (translator)is a requiredcheck, so while it was red every open PR in the repo was unmergeable — #980,
#982, #983 included.
It was never a change in the seller's boot path.
maindid not move between2026-07-02 (
a79e29a2) and the first red run on 2026-07-28 20:35Z, sothere was no repo-side change in the window to blame.
What did change is a dependency. The only package that published inside the
green→red window (last green 2026-07-27 19:24Z) is
mcp1.29.0, published2026-07-28 13:41Z, which the then-current pin
mcp>=1.27.0,<2.0resolves.asyncpg / SQLAlchemy / alembic all published outside the window, so the
asyncpg-event-loop theory in the triage comment can be ruled out.
#984 fixed it by moving the pin to
mcp>=2.0.0,<3.0and porting to the v2MCPServerAPI. The translator job passed on #984's head, andmainhascarried the fix since 2026-07-28 22:10Z.
Two things remain worth doing, both independent of the regression:
failures produced no diagnostic beyond two Alembic lines. Redirecting to
/tmp/seller.log,cat-ing it in the timeout branch, and adding thekill -0dead-process probe the two sibling storyboard jobs already havewould make this class of failure self-diagnosing.
pip installin that job has no upper bounds. The pin thatactually broke was in
pyproject.tomlrather than that line, but the sameexposure exists there.
2. #976 needs your enforcement audit before it can be implemented
Your triage assigns you the required-component enforcement audit
(
_check_params_presentvs. the attacker-controlled parsed label) and routes#976 to human review rather than a bot PR. That audit is the gate on the work —
happy to build the rest of the stack against it once you've had a look.
3. Release shape — a decision I shouldn't make in a PR title
#978 makes previously-accepted URLs raise; #976 changes a code that goes out on
the wire. Both are behaviour-visible to adopters, but as
fix:commitsrelease-please cuts a patch — a rejection-set expansion arriving in a patch
release is how integrators get surprised in production.
Suggested: title them
feat(signing): …so release-please cuts a minor, withthe behaviour change spelled out in the changelog body.
BREAKING CHANGE:wouldforce a major, which seems too heavy for 6.x. Your call — I'll title them
whichever way you prefer.
Related: landing #982 (6.6.1) first would ship the #969 security fix on a clean
changelog before this stack churns it.
4. What's coming
A stack of three PRs on top of #980, all targeting
main(a fork contributorcan't set a base branch that doesn't exist upstream, so each will show #980's
files in its diff until #980 lands):
canonical.py— rejection set + IDNA A-label conversioncanonical.py— trailing empty query#980 itself has been rebased onto current
mainand should now go green.bokelley commentedon Jul 29, 2026
Triage (updated)
Classification: Bug — dependency regression (resolved)
Status: not-actionable
@KonstantinMirin's analysis changes the picture: the root cause was
mcp 1.29.0(published 2026-07-28 13:41Z), not an asyncpg event-loop change. The priorasyncio.wait_forimplementation brief was aimed at the wrong layer and is superseded. #984 fixed it by pinning tomcp>=2.0.0,<3.0and porting to the v2MCPServerAPI;mainhas carried the fix since 2026-07-28 22:10Z and the translator job is green.Two follow-up improvements remain from the comment — both touch
.github/workflows/ci.yml(off-limits for automated PRs, human-authored only):/tmp/seller.logandcaton timeout, pluskill -0dead-process probe (makes this class of failure self-diagnosing)pip installon line 448The primary regression is fixed. This issue can be closed; the workflow diagnostics are independent hardening and can be tracked separately if prioritized.
Triaged by Claude Code. Session: https://claude.ai/code/cse_019TCbWPgMuvvruBcAo6xPxe
Generated by Claude Code
bokelley commentedon Jul 29, 2026
Closed as fixed by #984. The MCP v2 migration removed the mcp 1.29.0 drift under the previous <2.0 pin, and the translator storyboard check is green on current main.