GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [backport-0.21] fix: hide registry HTTP probe errors by sipsma · Pull Request #13885 · dagger/dagger

Conversation

@sipsma

@sipsma sipsma commented Aug 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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:

  • Source PR: Stream transfer progress as labeled rows; hide registry HTTP noise #13410
  • Exact semantic source commit: b9cdb66
  • Merged squash commit for source PR: 0bb84dd
  • Backported with cherry-pick -x, preserving Alex Suraci as author.

GitLab CI fixture fix:

  • Source PR: fix(ci): use project deploy tokens for GitLab #13849
  • Source PR commit: 0c656b9
  • Merged main commit: 66337ba
  • Backported as becaa3a33542ccc7e96dbf3f430d887f41958e52 with cherry-pick -x, preserving Guillaume de Rouville as author.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
vito and others added 2 commits August 12, 2026 21:33
@vito @sipsma
fix(telemetry): hide registry HTTP noise in the TUI
b75c50e
Registry pulls, resolves, and pushes spawn dozens of low-level HTTP
request spans from containerd and otelhttp instrumentation, flooding
the TUI when a user expands a container.from call. Mark the pulling,
resolving, and pushing spans with Encapsulate so their children are
hidden, and stop revealing encapsulated failures when the parent span
succeeded: the registry auth dance always begins with a 401 challenge
that otherwise renders as a scary failed span. Genuinely failed pulls
still reveal the underlying HTTP spans for debugging.

Signed-off-by: Alex Suraci <[email protected]>
(cherry picked from commit b9cdb66)
Signed-off-by: Erik Sipsma <[email protected]>
@sipsma
chore: add v0.21.9 release note for dagger#13410
eb432a8
Signed-off-by: Erik Sipsma <[email protected]>
@sipsma sipsma added this to the v0.21.9 milestone Aug 12, 2026
@grouville
grouville self-requested a review August 12, 2026 22:46
grouville
grouville approved these changes Aug 12, 2026
View reviewed changes
@sipsma sipsma mentioned this pull request Aug 12, 2026
[backport-0.21] engine: prune DAGQL cache by metadata size #13886
Merged
@grouville @sipsma
test: use project deploy tokens for GitLab (dagger#13849)
becaa3a
GitLab automatically revokes user PATs when it detects that they were leaked.
That is what these private repository tests used, and both tokens were
revoked. GitLab does not document the same automatic response for project
deploy tokens.

Replace the PATs with read-only deploy tokens scoped to the test project.
Deploy tokens use a username and token pair, so pass the matching username
through each Git authentication path.

These credentials are intentionally committed for end-to-end tests. They can
only read one disposable test repository, which contains no private code or
data, so exposing them does not grant access beyond the test fixture.

Keep both credentials in the shared VCS fixture so future rotations happen in
one place. The second token is still needed to test two different credentials
for the same repository.

Signed-off-by: Guillaume de Rouville <[email protected]>
(cherry picked from commit 66337ba)
Signed-off-by: Erik Sipsma <[email protected]>
@sipsma
sipsma marked this pull request as ready for review August 13, 2026 01:54
@sipsma
sipsma merged commit 269c47d into dagger:backport-0.21 Aug 13, 2026
76 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@sipsma sipsma mentioned this pull request Aug 13, 2026
[backport-0.21] fix(engine): take session teardown off the client shutdown path #13884
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@grouville grouville grouville approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v0.21.9

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@sipsma @grouville @vito
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.