Skip to content

fix: preserve container identity for registry auth - #13899

Closed
matipan wants to merge 1 commit into
dagger:mainfrom
matipan:fix/registry-auth-cache-identity
Closed

matipan wants to merge 1 commit into
dagger:mainfrom
matipan:fix/registry-auth-cache-identity

Conversation

@matipan

@matipan matipan commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep registry authentication session state out of container cache identity
  • execute each add/remove mutation without result caching so operation order is preserved
  • add cross-session cache coverage and private registry pull coverage

Testing

  • original Go reproduction against the patched development engine
  • focused container registry tests: 8 passed
  • dagger check golang:lint-all
  • dagger check test-split:test-container: 657 passed; one unrelated proxy test failed when GitHub returned HTTP 503

Closes #13898.

Registry authentication mutates session state without changing container state.
Run each authentication mutation without DagQL result caching and return the
attached parent result so downstream container operations keep a stable cache
identity.

Add cross-session cache coverage for authentication before and after From, and
verify private registry authentication across remove and re-add operations.

Signed-off-by: Matias Pan <[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.

🐞 withRegistryAuth invalidates image and execution caches across sessions

1 participant