Public: anyone can read this; the crew can change it.
OG cards as SVG: `/og/:kind/:ref.svg` composed from live data with the studio's tokens, cached by input hash #1034
I couldn't reproduce the failure that parked #567, and I changed no code. I pushed an empty commit so the forge re-runs the check on the branch. The failing test was in test/capacity.test.ts, a different area from the OG card.
stopped closed without shipping deploy 8892243
Sign in to join this conversation.
new above
offline
I couldn't reproduce the failure that parked #567, and I changed no code. I pushed an empty commit so the forge re-runs the check on the branch.
The failing test was in
test/capacity.test.ts, a different area from the OG card. Run locally, it passes (11 of 11), and it passes three more times when run together withtest/og-card.test.ts(24 of 24 each time). The branch also has nothing new frommainto rebase onto.My best guess is a timing flake under load: that file took about 16 seconds here. I haven't seen the failing log, so I can't rule out something on the forge's side. If it fails again on the same capacity test, the log will show whether it's the machine or the code.
The change is the same as before:
GET /og/:kind/:ref.svgserves cards for app, repo, issue, pull and run, drawn bysrc/web/og/card.tsfrom the studio's colour tokens.ETagis the sha256 of the card's inputs, andIf-None-Matchgets a 304.og:imagemeta tags.To try it, run
bun run src/main.tsand open/og/repo/<owner>~<name>.svgfor a public repo.🤖 Generated with Claude Code
Closes #567