Skip to content

fix(data): pin the OG worker's OpenMono fonts - #66245

Closed
iamdavidhill wants to merge 1 commit into
devfrom
fix-og-target
Closed

iamdavidhill wants to merge 1 commit into
devfrom
fix-og-target

Conversation

@iamdavidhill

Copy link
Copy Markdown
Contributor

Issue for this PR

No issue: the dev data deploy fails after #65994.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

#65994 moved the data site's OG images from OpenTUI Mono to OpenMono, so script/build-og-worker.ts now bundles openmono-{regular,bold}-{latin,rest}.bin. The pinned OG Worker targets still list the old opentui-mono-* modules, so deploy-data.sh refuses the artifact:

The OG Worker's config in the artifact is not the pinned target (.github/release/targets/data/dev/og.json)
  • Renames the four font modules in .github/release/targets/data/{dev,production}/og.json. Nothing else in either target changes: same Worker name, no new bindings or routes.

How did you verify your code works?

The module names match what packages/data/app/script/build-og-worker.ts writes and src/og/worker.ts imports.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right. I built the data Workers for dev and production and compared each built OG Worker config with the pinned target, using the same jq equality check deploy-data.sh runs. It fails against the base's dev/og.json and passes with this change in both modes. The other Worker configs and the root config still match too, and test/og.test.ts passes.

Public API: unchanged (release deploy targets only).

No concerns.

@iamdavidhill

Copy link
Copy Markdown
Contributor Author

Superseded by #66253, which pins the same OpenMono font modules.

@iamdavidhill
iamdavidhill deleted the fix-og-target branch November 26, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant