Repository navigation
fix(og-image): enable social cards and honor silent deploys - #505
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
Important
Enabling @docubook/plugin-og-image in flame's docu.json turns runtime-smoke (node) and runtime-smoke (deno) red: the plugin prints during flame deploy --silent, and that output is exactly what the smoke step forbids.
Reviewed changes
Mode: standard. I reviewed the plugin dependency bump, the new plugin registration, the workspace override and release-age exclusion, and the regenerated lockfile.
- Algolia
^0.1.3— this bumps the flame devDep alias.pnpm install --frozen-lockfile --lockfile-onlypasses the supply-chain policy check with the newminimumReleaseAgeExcludeentry. 0.1.3 was published2026-11-07T15:55:22Z, so the entry can be dropped after2026-11-08T15:55Z. - OG Image enabled — this adds the
^0.1.0npm alias and registers the plugin with default options inpackages/flame/docu.json. Every flame build now renders cards. - Peer override —
@docubook/plugin-og-image>@docubook/flame: workspace:*mirrors the existing Algolia override. One side effect: theplugins/og-imageimporter's specifier in the lockfile changes fromworkspace:^toworkspace:*. This only affects the lockfile, and the published manifest is unchanged.
Top priorities: (1) make the og-image logger respect LOG_LEVEL, release it, and bump the alias here; (2) after 2026-11-08T15:55Z, remove the Algolia release-age exclusion in a follow-up, as the PR body already plans.
claude-opus-5-5 | 𝕏
There was a problem hiding this comment.
✅ No new issues found. The silent-deploy blocker from the previous review is fixed, and
runtime-smoke (node)is green on049b363.runtime-smoke (deno)andci (test)were still running when this review was submitted.
Reviewed changes
Mode: standard. I reviewed the one commit since the last review (049b363). It fixes the OG Image logger and applies a temporary patch to the installed npm package.
- Log-level filtering —
consoleLoggerinplugins/og-image/src/index.tsnow checksLOG_LEVELbefore printing. It uses the same level table andinfofallback as flame'slogger.ts, soflame deploy --silent(which setserror) hides both card summaries and warnings. Flame doesn't pass a logger to plugins, so a small local copy of the level table is justified. - Regression coverage — a table-driven test covers each
LOG_LEVELvalue, including unset and unknown values. It runs a cold build and then a cached build.afterEachnow resets stubbed env vars and mocks. - Temporary dist patch —
patches/@[email protected]applies the same logic to the publisheddist/index.js. It is pinned to0.1.0inpatchedDependencies, so bumping the alias should make pnpm report it as unused and force its removal. - Changeset — this adds a patch bump for the unlinked
@docubook/plugin-og-image.
Remaining follow-ups, already listed in the PR body: drop the Algolia minimumReleaseAgeExclude entry after 2026-11-08T15:55Z. Then, once the og-image fix is published, bump the alias and delete the pnpm patch.
claude-opus-5-5 | 𝕏
There was a problem hiding this comment.
✅ No new issues found. No commits have landed since the last review, and its one finding is resolved. All CI checks are now green on
049b363, includingruntime-smoke (deno)andci (test), which were still running at the last review.
Reviewed changes
Mode: standard. This run re-checked the PR at the same head as the last review (049b363). The net diff is unchanged.
- Silent deploy fix confirmed —
runtime-smoke (node)andruntime-smoke (deno)both pass, so OG Image no longer prints duringflame deploy --silent.
Remaining follow-ups, already listed in the PR body:
- Remove the Algolia
minimumReleaseAgeExcludeentry after2026-11-08T15:55Z. - Once the OG Image fix is published, bump the alias and delete the pnpm patch.
claude-opus-5-5 | 𝕏

Summary
Update Flame's documentation site to Algolia 0.1.3 and enable OG Image 0.1.0 so documentation pages receive generated social preview cards. Fix OG Image logging so
flame deploy --silentproduces no output on Node and Deno.Changes
Verification
deploy --silent --forceexited 0 with exactly 0 stdout/stderr bytes. Ordinary builds still logged their card summaries.Agent Context