Skip to content

fix(queen): ship specs/ in the image so the scheduler can read its contract - #481

Merged
gHashTag merged 1 commit into
fix/queen-worker-provider-and-prompt-sizefrom
fix/queen-scheduler-specs-in-image
Sep 13, 2026
Merged

gHashTag merged 1 commit into
fix/queen-worker-provider-and-prompt-sizefrom
fix/queen-scheduler-specs-in-image

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

What

The first GitHub deploy of #480 on Railway (project 999, service trios-agent-server, 2026-09-13) answered:

GET /queen/scheduler -> 503
{"app":null,"error":"scheduler contract unreadable","reason":"ENOENT: no such file or directory, open '/app/specs/t27_compiler.wasm'"}

The route was truthful. The Dockerfile copied apps/server and packages/* but never specs/, so the compiler wasm and the 59 cards were absent from the image (/health was 200 the whole time, so the old smoke check could not see it).

Change

  • Dockerfile: COPY specs specs, then a RUN that fails the build unless the wasm sha256 equals the one specs/PIN names. Measured locally: 4d9c0447b5ca288790ab03d3dffc2dda629ed47af9d6731a105fc923aea0aee4 matches.
  • docs/queen-inngest.md: the env as actually set on Railway (variable references to the inngest/inngest service, explicit INNGEST_SERVE_HOST), that TRIOS_GITHUB_API_TOKEN is not among the service variables yet, that the service now deploys from GitHub (root trios/agent-server, auto deploy currently unavailable), and this 503 with its fix.

Evidence after deploy (to be added)

  • GET /queen/scheduler -> 200, 59 functions (33 cron: 12 with cron trigger, 21 tick-only; 26 skill), 0 refused.
  • GET /api/inngest -> not 404/503.

No secret values appear anywhere; only variable names.

…ntract

The first GitHub deploy of #480 on Railway (2026-09-13) answered
GET /queen/scheduler with 503 "scheduler contract unreadable: ENOENT
/app/specs/t27_compiler.wasm". The route was truthful; the Dockerfile
copied apps/server and packages/* but never specs/, so the compiler and
the 59 cards were absent from the image.

- Dockerfile: COPY specs specs, then a RUN that fails the build unless the
  wasm sha256 equals the one specs/PIN names (measured locally:
  4d9c0447...0aee4 matches).
- docs/queen-inngest.md: how the env was actually set on Railway (variable
  references to the inngest/inngest service, explicit INNGEST_SERVE_HOST),
  that TRIOS_GITHUB_API_TOKEN is not set there yet, that the service now
  deploys from GitHub (root trios/agent-server) with auto deploy unavailable,
  and the 503 above with its fix.
@github-actions github-actions Bot added the fix label Sep 13, 2026
@gHashTag
gHashTag merged commit e1f4f04 into fix/queen-worker-provider-and-prompt-size Sep 13, 2026
15 of 17 checks passed
@gHashTag
gHashTag deleted the fix/queen-scheduler-specs-in-image branch September 13, 2026 06:11
@github-actions

Copy link
Copy Markdown

❌ Tests failed — 3/2119 failed

Suite Passed Failed Skipped
✅ agent 87/87 0 0
✅ build 9/9 0 0
✅ cdp-protocol 5/5 0 0
✅ eval 93/93 0 0
✅ server-agent 272/272 0 0
✅ server-api 971/1005 0 34
✅ server-browser 6/6 0 0
✅ server-integration 10/11 0 1
✅ server-lib 273/273 0 0
✅ server-pglive 3/3 0 0
✅ server-root 68/68 0 0
✅ server-skills 31/31 0 0
❌ server-tools 239/242 3 0
✅ shared 14/14 0 0
Failed tests
  • server-tools — navigation tools > new_hidden_page opens a hidden tab
  • server-tools — navigation tools > show_page restores a hidden page to visible
  • server-tools — window tools > create_hidden_window creates and closes a hidden window

View workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant