Skip to content

Export the deployment URL once, for every step that needs it - #50

Merged
davidtorcivia merged 1 commit into
mainfrom
acceptance-exports-the-url-once
Aug 4, 2026
Merged

davidtorcivia merged 1 commit into
mainfrom
acceptance-exports-the-url-once

Conversation

@davidtorcivia

Copy link
Copy Markdown
Contributor

Run 16 passed everything it was testing and then failed on a missing environment variable.

[e2e] HDR renditions present: hdr_av1, hdr_hevc, poster, proxy_1080, proxy_540, sprite
[e2e] tonemapped proxy is bt709 yuv420p: libplacebo ran inside the worker container
[e2e] --- worker kill leg (three workers, one killed mid-encode) ---
[e2e] FAILED: docker exited with 1: ONELIGHT_SERVER_URL is required

The kill leg shells out to docker compose to find and kill the worker that is mid-encode, and the compose file interpolates ONELIGHT_SERVER_URL. The exercise step never set it.

Third step caught by the same variable: the logs step, the teardown, and now the exercise. Setting it per-step is the kind of thing that keeps being forgotten, so it goes into GITHUB_ENV beside CI_URL and every later step has it. The per-step copies are removed.

Worth recording what this run proved before it fell over: setup, multipart upload, probe, transcode, all eight renditions, proxy colorimetry, Range serving, comments, shares, the watermark burn retaining BT.709 and tmcd, and an HDR PQ source tonemapped to a BT.709 proxy with libplacebo running inside the worker container — all against a real Workers/D1/R2 deployment.

The kill leg shells out to docker compose, and the compose file interpolates
ONELIGHT_SERVER_URL. The exercise step did not set it, so run 16 failed there
immediately -- after setup, upload, transcode, every rendition, the watermark
burn and the HDR tonemap had all passed against the real deployment.

That is the third step to be caught by the same missing variable: the logs
step, the teardown, and now the exercise. Setting it per-step is the kind of
thing that will keep being forgotten, so it is written to GITHUB_ENV beside
CI_URL and every later step has it.
@davidtorcivia
davidtorcivia merged commit 7bba506 into main Aug 4, 2026
10 checks passed
@davidtorcivia
davidtorcivia deleted the acceptance-exports-the-url-once branch August 4, 2026 03:38
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