Declare native Babysitter compatibility with SDK and Surface 3.0
The v3.0.0 SDK refuses the only pinned native Babysitter artifact because the artifact declares 2.x SDK and Surface compatibility. This affects the current release and the Linux artifact job on #714. The native handler and its single queue capability use the same API under the 3.0 runtime. This changes the native extension manifest to version 0.2.1 and limits the added range to 3.0.x.
Checks against the built SDK's validateFlowExtensionManifest, assertCompatible and runtimeVersions produced:
admitted 2.0.26
admitted 2.1.0
admitted 3.0.0
refused 2.0.25
refused 3.1.0
refused 4.0.0
verified actual runtime { sdk: '3.0.0', surface: '3.0.0' }
The existing runtime still accepts the previously reviewed 0.2.0 ref and digests. Per docs/BABYSITTER-CATALOG-HANDOFF.md, maintainers must independently review the new package bytes and provide their immutable release ref and digests before the hosted runtime can move its pin. This branch performs no catalog export. Tests that synthesize the historical GitHub commit from the working tree can report a digest mismatch as soon as the manifest changes. Tests for legacy authored fixtures that require Surface 2.x are separate from the native runner.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Makes the native Babysitter extension acceptable to the 3.0.0 SDK, which previously refused it because the manifest declared only 2.x compatibility.
- Bumps the extension to 0.2.1 and changes
sdkandsurfaceranges from^2.0.26to>=2.0.26 <3.1.0, admitting 3.0.0 while still refusing 3.1.0 and 4.0.0. - Checked against the built SDK's
validateFlowExtensionManifest,assertCompatible, andruntimeVersions. - No catalog export happens here; per
docs/BABYSITTER-CATALOG-HANDOFF.md, maintainers must separately review the new bytes and provide release ref and digests before the hosted runtime can move its pin. - Tests that synthesize the historical GitHub commit from the working tree can report a digest mismatch once the manifest changes.