Skip to content

chore: pair with engine v1.0.0-beta.28 - #141

Merged
TomChv merged 7 commits into
mainfrom
chore/pair-with-beta-27
Nov 19, 2026
Merged

TomChv merged 7 commits into
mainfrom
chore/pair-with-beta-27

Conversation

@TomChv

@TomChv TomChv commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Every pairing up to beta.25 moved a version string and nothing else. This one
does not, because beta.26 reworked how the engine's schema spells identifiers.

This module stopped loading

sdk-helpers contributes SDKHelpersDangConfig now, not
SdkHelpersDangConfig — SDK is treated as an initialism. Until the three
signatures naming it moved, dagger -m . functions failed outright with
unresolved type: SdkHelpersDangConfig.

It is a hard switch in both directions: the new name is unresolved on
beta.25, the old one on beta.26+. So this SDK release targets beta.26+ and the
previous one targets beta.25, with nothing that spans both.

It reads as the dependency having vanished when it has only been renamed — the
dependency stays callable (sdkHelpers.dangConfig.version loads fine), and
only naming its type in a signature fails. The engine will tell you the real
name rather than leaving you to guess:

echo '{ __schema { types { name } } }' | dagger -m . query

The bindings move by 746 lines

53 of them case-only renames — insecureSkipTLSVerify →
insecureSkipTlsVerify, expectedRemoteSHA → expectedRemoteSha, enum wire
values "Default" → "DEFAULT" and "EStarGZ" → "ESTARGZ".
Client.formatIdentifiers is gone, onto a new Naming object
(ClientNamingOpts, NamingFormatIdentifiersOpts, NamingModuleOpts,
ModuleNaming). The additions are ordinary: resolveBrokenSymlinks on
directory selection, FileSyncOpts.keyByContent, DirectoryDirectoryOpts.

library/VENDOR.md records the delta.

The floor stays beta.18, measured

Not assumed. A module generated by this branch loads and runs on beta.26 and
beta.25, including a call that sends one of the renamed wire values
(withMountedCache(..., { sharing: CacheSharingMode.Default }) → "DEFAULT"):
the library tells the session which release's view to serve and the engine
answers in that view's names. The rename reaches what this SDK generates, not
what that output can run against.

The layers go to 1.0.0-beta.3

ENGINE_VERSION lives in @dagger.io/session — provisioning/bin.ts passes it
to the CLI as --version, so the session layer decides which release a scope's
session is told to serve. Pairing therefore changes a published package's
contents, and @dagger.io/[email protected] on npm bakes v1.0.0-beta.25.

Left alone this ships a mismatch: a remoteCoreLib scope would resolve
beta.27 bindings from core against a session asking the engine for beta.25's
view — which beta.26's rename makes two different spellings of one API.

All four layers move together because release publishes them at one version,
and the exact inter-layer pins move with them ([email protected] naming
[email protected] would resolve the old session beside the new one).
core's pin stays ^1.0.0-beta.2, which admits beta.3 — the reason #132 made it
a range.

One trap worth recording

packager:library-bindings regenerates against the engine the nested suite runs
in — .dagger/modules/engine-e2e's engine-dev pin — not the --x-release you
invoke. That pin was the beta.25 tag commit exactly, so a first pass reported
the bindings unchanged and I believed it. Bumping the pin to beta.27's commit is
what surfaced the 746 lines; it is part of the pairing, not a follow-up.

Also: a fresh module is [entrypoint] and carries no engineVersion, so the
[runtime] fixtures' engineVersion lines no longer move on a pairing the way
they did through beta.25.

Verified

dagger check on beta.27 is green end to end (exit 0). The three failing
runtime-* rows are the fixtures their parent checks invoke on purpose.

beta.26 is skipped as a pairing of its own; the current release supersedes it.
Paired with dagger/dagger#15131, which publishes @dagger.io/core at
1.0.0-beta.27 with these bindings.

Signed-off-by: Tom Chauveau [email protected]

Not a version string this time. beta.26 reworked how the schema spells
identifiers, so the bindings move by 746 lines — 53 of them case-only renames
(`insecureSkipTLSVerify` → `insecureSkipTlsVerify`, enum wire values
`"Default"` → `"DEFAULT"`) — and `Client.formatIdentifiers` moves onto a new
`Naming` object.

The same rework renamed the types a dependency contributes, so this module
itself stopped loading: `sdk-helpers` prefixes them `SDKHelpers` now, where it
was `SdkHelpers`. The three signatures naming `SdkHelpersDangConfig` move with
it, and that is a hard switch — the new name is unresolved on beta.25, the old
one on beta.26+.

The floor stays beta.18, measured rather than assumed: a module generated here
loads and runs on beta.26 and beta.25, including a call sending a renamed enum
wire value, because the session is told to serve this release's view and the
engine answers in it. library/VENDOR.md records the delta.

beta.26 is skipped as a pairing of its own; the current release supersedes it.

Signed-off-by: Tom Chauveau <[email protected]>
ENGINE_VERSION lives in `@dagger.io/session` — provisioning/bin.ts passes it to
the CLI as `--version`, so it is the session layer that decides which release a
scope's session is told to serve. Moving the pairing to beta.27 therefore
changes a published package's contents, and the published
`@dagger.io/[email protected]` bakes `v1.0.0-beta.25`.

Left alone, a remoteCoreLib scope would have resolved beta.27 bindings from
core against a session asking the engine for beta.25's view of the schema —
which beta.26's identifier rename makes two different spellings of the same
API.

All four move together because `release` publishes them at one version, and the
exact inter-layer pins move with them: `[email protected]` naming
`[email protected]` would resolve the old session beside the new one. core's
pin stays `^1.0.0-beta.2`, which admits beta.3 — the reason #132 made it a
range rather than an exact version.

Signed-off-by: Tom Chauveau <[email protected]>
beta.28 released while this branch was still pointed at beta.27, and a pairing
one release behind puts `packager:library-bindings/stale` red on whatever engine
people actually run.

It costs almost nothing on top of beta.27: the bindings move by 14 lines and
every one is a doc comment — abbreviated SHAs now expand by fetching the refs a
remote advertises, and a workspace mount is editable rather than read-only, with
`withoutMount` to remove it. No signature, symbol or enum value moves, and
`SDKHelpers` still resolves, so beta.26's hard switch is not re-crossed.

beta.27 is skipped as a pairing of its own. It released before the core package
landed, so nothing was ever published against it — the facade's bounded range is
`>=1.0.0-beta.28 <1.0.0-beta.29` and core's first publish will be beta.28's.

Signed-off-by: Tom Chauveau <[email protected]>
@TomChv TomChv changed the title chore: pair with engine v1.0.0-beta.27 chore: pair with engine v1.0.0-beta.28 Nov 18, 2026
… missed

Two things the suite caught that the bindings diff did not.

beta.28 requires a type pattern to name the non-null type its arm binds:
`err: GraphQLError =>` is now `err: GraphQLError! =>`. Every generated
entrypoint carries one in the dispatcher's rescue, so this was 132 of the 91
failed checks — the template, its golden fixture and the two assertions that
pin its text move together, along with four rescue arms in this repo's own
modules.

The fixture manifests were still on beta.25. `fixtureEngineVersionCheck` exists
precisely for this — its docstring records three runtime fixtures sitting at
beta.9 and four more at beta.7 through a bump nobody noticed missing them — and
it is a guard, not a generator: every pairing since beta.23 has moved these 23
files by hand, and beta.27 did not.

Signed-off-by: Tom Chauveau <[email protected]>
The 90 failed checks were not this repo's code: beta.28 requires a type pattern
to name the non-null type its arm binds, and `[email protected]` still writes
`error: Error =>`, so the dependency itself refuses to load and every check that
reaches it fails with the engine's advice text rather than anything about the
SDK. `v1.0.12` loads on beta.27 and beta.28 both, measured against a throwaway
module naming it.

Nothing this repo calls moved across those four releases — the module's own
parse gate resolves every helpers type and field it names.

Signed-off-by: Tom Chauveau <[email protected]>
…xtures

`generate-keeps-engine-pin-check` and `generate-preserves-manifest-check` both
assert that regenerating leaves a manifest alone. sdk-helpers v1.0.12 carries
"write TOML manifests without indentation", so re-emitting a committed fixture
produced the same values with different bytes and the workspace reported a
write. The 26 TypeScript fixture manifests are re-emitted in the form the
builder now writes; only table bodies move, so the `^engineVersion` match that
tells a pre-1.0 pin from a 1.0 one is untouched.

`remote-entrypoint-replaced-check` named `sdk-helpers/entrypoint@main`, a
subdirectory that exists at no ref of that repo. Engines before beta.28 never
looked, so the check passed on a path that was never there; beta.28
content-hashes an entrypoint source while the workspace loads and fails on the
missing directory. Pointed at the repo root, which is a Dang module, and pinned
to a tag so it cannot rot with someone else's default branch again.

Signed-off-by: Tom Chauveau <[email protected]>
`dang-config-check` names `sdk-helpers/entrypoint@main` twice for the same
reason `remote-entrypoint-replaced-check` did, and fails the same way on
beta.28: the subdirectory exists at no ref, and content-hashing an entrypoint
source while the workspace loads now stats it.

Signed-off-by: Tom Chauveau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant