0.3.2 — secret redaction, byte validation, Meta resilience, motion + live CI#32
Merged
0.3.2 — secret redaction, byte validation, Meta resilience, motion + live CI#32
Conversation
…live CI - #25 Meta adapters use Authorization: Bearer header and redact_body() in error logs; image providers surface network error types only, no response-object dumps. - #26 generate_hero validates PNG/JPEG/WebP magic bytes + inspect.signature on adapter.generate; Replicate default=flux-schnell, OpenAI OPENAI_QUALITY=medium default, BFL snaps dims to [256,1440] mult-32. - #29 state_save uses tempfile+fsync+os.replace under fcntl.flock, _version=1 gate, _preflight_account/_preflight_pixel, already-hashed SHA-256 detection in upload_customer_file. - #27 release.yml motion-smoke job renders walkthrough end-to-end, asserts >100KB; Remotion pinned ^4.0.320 with committed package-lock.json; 3 placeholder screen PNGs ship in public/screens/. - #31 .github/workflows/live-smoke.yml runs weekly + on-demand, 6-provider matrix, 512x512 test, magic-byte assertion, skips cleanly when secret absent.
This was referenced Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #25, #26, #27, #29, #31.
What
Authorization: Bearerheader (notaccess_token=in URL/body). Error bodies pass throughredact_body()that stripsaccess_token/password/client_secret/appsecret_proofand truncates. Image providers surface(URLError)/(socket.timeout)type names only — no{resp!r}/{pred!r}dumps.generate_herovalidates PNG/JPEG/GIF/WebP magic bytes +inspect.signature(adapter.generate)= 3 required args. Replicate defaultblack-forest-labs/flux-schnell; OpenAIOPENAI_QUALITY=mediumdefault; BFL snaps dims to [256,1440] mult-of-32.state_save()usestempfile.mkstemp+os.fsync+os.replaceunderfcntl.flock. State carries_version: 1._preflight_account(status==1)and_preflight_pixel()fail fast before any writes.upload_customer_filedetects already-hashed SHA-256 input.release.ymljob installs chromium deps,npm cis motion template, renderswalkthrough-ci-smoke.json, asserts mp4 >100KB. Remotion pinned^4.0.320with committedpackage-lock.json. Three placeholder screen PNGs ship atengines/motion/public/screens/..github/workflows/live-smoke.yml— Monday 06:00 UTC + workflow_dispatch. 6-provider matrix, 512×512 test, magic-byte assertion, skips cleanly when secret absent.Test plan
./test/run-tests.sh --skip-motion— 46/46 pass locally