Summary
Backport the scoped telemetry fix that hides normal registry-protocol HTTP probe failures from successful pull and publish progress. Registry HEAD 404s and auth challenges still occur as expected, but they no longer render as scary failed child rows when the enclosing registry operation succeeds.
Also backport the shared private-GitLab test fixture update from #13849. GitLab revoked the committed user PATs used by the v0.21 integration tests; the fixture now uses read-only project deploy tokens and forwards their required usernames through each existing authentication path.
Source provenance
Registry progress fix:
GitLab CI fixture fix:
Root cause and user impact
containerd instruments registry HTTP requests through OpenTelemetry. Normal protocol behavior includes failed probes such as HEAD 404 responses for blobs or manifests that are not present yet, plus authentication challenges. The progress frontend forced every failed span visible, even when that span was encapsulated and its parent registry operation completed successfully. As a result, successful Container.publish calls could show prominent remotes.docker.resolver.HTTPRequest and HTTP HEAD ERROR rows, especially in plain progress.
The fix encapsulates registry resolve, pull, and push internals and only reveals failed encapsulated children when the enclosing operation itself fails. Genuine registry failures therefore retain their diagnostic HTTP spans.
Separately, GitLab automatically revoked the user PATs committed for the disposable private-repository integration fixture. That made five otherwise unrelated CI shards fail wherever they exercised the shared HTTPS fixture. Project deploy tokens require a username/token pair, so changing only the token is insufficient; every fixture consumer must propagate the matching username.
v0.21 adaptations
Registry progress fix:
- Cherry-picked the complete scoped semantic fix and its golden regression coverage.
- Kept the existing v0.21 golden-fixture hostname; the source commit included unrelated hostname churn in the same fixture.
- Excluded the broader transfer-progress row architecture from the remainder of Stream transfer progress as labeled rows; hide registry HTTP noise #13410.
- No BuildKit, containerd, OpenTelemetry, or other dependency changes.
GitLab fixture fix:
- Limited to six existing v0.21 integration-test files; no engine or product code changed.
- Mapped main's extracted
module_helpers_test.go change to the equivalent helper in v0.21's module_test.go.
- Preserved v0.21's existing CLI assertion form in
gitcredential_test.go.
- Omitted main-only workspace/private-dependency coverage and its extracted fixture because those tests and layouts do not exist on v0.21.
Validation
Registry progress fix passed:
dagger call engine-dev test --pkg='./dagql/idtui' --run='^TestTelemetry/TestGolden/docker-build-fail$' — 3 tests
dagger --progress=plain call engine-dev test --pkg='./core/integration' --run='^TestContainer/TestPublish$' — 2 tests, using the local test registry; expected HEAD 404 probes occurred without HTTP HEAD ERROR progress rows
dagger call engine-dev test --pkg='./dagql/dagui' — 22 tests
dagger call engine-dev test --pkg='./engine/server/resolver' — 1 test
dagger --progress=plain -m ./toolchains/go call --source=. lint-module --module=dagql
dagger --progress=plain -m ./toolchains/go call --source=. lint-module --module=engine
git diff --check upstream/backport-0.21...HEAD
GitLab fixture adaptation passed locally:
TestGit/TestAuthProviders/GitLab_auth — direct username/token API path
TestGitCredential/TestGitCredentialErrors/gitlab_private_module — host credential-helper/module path
TestModule/TestCrossSessionSecrets/contenthash_cache_hit_with_secrets — nested secret path
TestConfig/TestDaggerGitRefs/Private_GitLab — six module-reference assertions
git diff --check
Fresh Dagger Cloud checks on canary head becaa3a33542ccc7e96dbf3f430d887f41958e52 passed all five shards that previously exposed the revoked GitLab credentials:
test-split:test-base
test-split:test-cli-engine
test-split:test-call-and-shell
test-split:test-container
test-split:test-modules
That run also passed TestPrivateGitRepoArgCaching, confirming the earlier linked-worktree .git failure was local-state-only. The first fresh test-split:test-base run independently hit TestChangeset/TestWithChangesets/comparison_with_sequential_merge with fatal: stash failed, the exact unrelated snapshot-hardlink/ctime baseline defect documented by main PR #13773. Its isolated supported Dagger Cloud rerun passed in 13m34s (trace 91b9bc8f3a602d14f0e6e8b5627e93c6). The final PR ledger is 75 successful checks and one intentionally skipped changelog gate.
The repository-root lint entrypoint was also attempted for the registry fix. It failed on an unrelated generated import in docs/versioned_docs/version-0.21.4/getting-started/types/snippets/default-address/go/main.go; the scoped lints for both changed source trees pass.
Release note
Added a v0.21.9 unreleased Fixed entry attributed to source PR #13410:
Registry protocol probes no longer appear as scary errors in progress output when image pulls or publishes succeed, while genuine registry failures remain visible.
The GitLab fixture update is test-only and does not add a release note.
Remaining risks
The registry change is a presentation-only policy change scoped to Dagger registry resolve, pull, and push spans. Failed enclosing registry operations still reveal their failed children, and higher verbosity can still expose encapsulated details. The broad progress and transfer-row changes from the rest of #13410 are intentionally not included.
The GitLab change depends on the deliberately public, read-only deploy-token fixture remaining valid. Fresh CI on this canary commit verified all five affected shards; propagation to other backport PRs remains a separate lead decision.