Skip to content

[DOCS] Rust ADK artifact paths and retention are now scoped by contextId #947

Closed

Description

@inference-gateway-maintainer

Summary

rust-adk PR inference-gateway/rust-adk#215 changes the artifacts subsystem to scope artifact paths and retention by contextId. Two user-facing behaviours change in a way the docs site should reflect for the Rust ADK:

  • Artifact URLs change shape from /artifacts/{artifactId}/{filename} to /artifacts/{contextId}/{artifactId}/{filename}. MinIO object keys change correspondingly from <artifactId>/<filename> to <contextId>/<artifactId>/<filename>.
  • ARTIFACTS_RETENTION_MAX_ARTIFACTS (default 5) now caps artifacts per contextId rather than store-wide, matching the Go ADK. 0 still means unlimited.

This is a documented breaking change with no dual-read fallback: artifacts written under the old layout are not readable after upgrading, so operators with artifacts enabled should drain or wipe the artifact store.

Acceptance Criteria

  • Rust ADK artifacts page documents the /artifacts/{contextId}/{artifactId}/{filename} route and the matching MinIO key layout
  • ARTIFACTS_RETENTION_MAX_ARTIFACTS is described as a per-contextId cap, with any "store-wide, unlike the Go ADK" caveat removed
  • Upgrade note covers the breaking path change and the drain/wipe guidance

Activity

  1. added
    documentation
    on Oct 3, 2026
  2. added theissue type on Oct 3, 2026
  3. edenreich commented on Oct 3, 2026

    @edenreich
    Contributor

    @claude can you work on this? use /ponytail:ponytail

  4. inference-gateway-maintainer commented on Oct 3, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 39s —— View job • docs/issue-947-20261003-1947 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-947-20261003-1947?quick_pull=1&title=Issue%20%23947%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23947%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #950 opened

    • Gather context (rust-adk artifacts docs + upstream PR rust-adk#215)
    • Mark issue In progress on Roadmap board (now QA)
    • Artifact route GET /artifacts/:context_id/:artifact_id/:filename (overview table, routes table, mermaid flow)
    • Filesystem layout <base_path>/<context_id>/<artifact_id>/<filename> and MinIO key / direct-download URL layout
    • ARTIFACTS_RETENTION_MAX_ARTIFACTS documented as a per-contextId cap matching the Go ADK, 0 still unlimited
    • Trait notes: store/retrieve/exists/delete/url and create_file_artifact take contextId
    • New "Upgrading to contextId-scoped artifacts" section - breaking path change, no dual-read fallback, drain/wipe guidance, custom-backend and URL-parsing caveats
    • Validated: bun run lint:md, bun run format:check, bun run build all pass
    • Committed and PR opened

    There was no "store-wide, unlike the Go ADK" caveat in the page beyond the retention table wording, which is now replaced. All changes are in rust-adk.md; no other page referenced the old artifact path shape.
    | Branch | PR #950

  5. moved this from Todo to In progress in 2026on Oct 3, 2026
  6. moved this from In progress to QA in 2026on Oct 3, 2026
  7. inference-gateway-releaser commented on Oct 4, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.21 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions