Skip to content

fix(core): precompile validators for restricted runtimes - #61

Merged
nkavian merged 2 commits into
offering-protocol:mainfrom
nkavian:fix/core-precompiled-validators
Sep 24, 2026
Merged

nkavian merged 2 commits into
offering-protocol:mainfrom
nkavian:fix/core-precompiled-validators

Conversation

@nkavian

@nkavian nkavian commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Generate the bundled ODP validators during the core build and ship them in both module formats. Applications do not need runtime JavaScript compilation or schema downloads for these validators.
  • Add a runnable Cloudflare Workers Service example and local runtime tests with code generation disabled.
  • Document Workers configuration, static-catalog initialization, and the separate limitations of the Agent package. Agent networking and Service-provided schema handling are unchanged.

Verification

  • pnpm verify on Node 22 and Node 24.
  • Shared Agent and Service conformance harness: no failures; existing skipped vectors remain.
  • Uncached typecheck of inflow-cli using the locally linked packages.
  • Frozen-lockfile install and package checks, including both core module formats with string-based code generation disabled.

Includes a patch Changeset for core. No deployment or publication is included.

@nkavian
nkavian force-pushed the fix/core-precompiled-validators branch from 2e1ffd9 to 7f1d59b Compare September 23, 2026 23:59
@codecov

codecov Bot commented Sep 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nkavian
nkavian merged commit 1620674 into offering-protocol:main Sep 24, 2026
3 checks passed
@nkavian
nkavian deleted the fix/core-precompiled-validators branch September 24, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant