Skip to content

v0.1.0

@Ulberg Ulberg tagged this 21 May 09:17
The publish workflow's earlier 'test' job ran ./scripts/test.sh
which compiles the root meta-package. That pulls in everything
under test/ — including streaming_codegen_test.gleam, which
imports the protocoltests/restjson1 surrogate. Focused regen
mode skips the protocol-test surrogate codegen step (it needs
the Smithy CLI under .tools/), so the test compile bails with
'No module has been found with the name `restjson1`'.

Reframe the publish workflow's gate: it should verify the
packages being published actually compile, not re-run the full
SDK test suite. ci.yml is the comprehensive-test job; the publish
workflow only needs to confirm aws_runtime + each
services/<svc>/ builds cleanly in isolation. That's cheaper
(~30 s vs ~10 min), matches exactly what gleam publish touches,
and avoids the Smithy CLI install.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Assets 2
Loading