Repository navigation
Say in the AI Model tab which values are kept in external storage - #76747
Merged
pierrejeambrun merged 2 commits intoNov 9, 2026
Merged
Conversation
With an XCom backend that offloads values, the public XCom endpoint returns the stored reference, so the tab showed the reference as the model name and silently dropped usage and skills. Users could not tell an offloaded value from a task that published nothing.
pierrejeambrun
added a commit
to astronomer/airflow
that referenced
this pull request
Nov 9, 2026
pierrejeambrun
added a commit
to astronomer/airflow
that referenced
this pull request
Nov 9, 2026
pierrejeambrun
added a commit
to astronomer/airflow
that referenced
this pull request
Nov 9, 2026
pierrejeambrun
added a commit
to astronomer/airflow
that referenced
this pull request
Nov 9, 2026
pierrejeambrun
marked this pull request as ready for review
November 9, 2026 14:21
pierrejeambrun
requested review from
Lee-W,
ashb,
gopidesupavan and
kaxil
as code owners
November 9, 2026 14:21
kaxil
reviewed
Nov 9, 2026
kaxil
approved these changes
Nov 9, 2026
Drops the claim that a model name never holds a URI scheme: vLLM serves the --model value as the name, so a model streamed from s3:// is listed as kept in external storage. That case is accepted rather than tied to one backend's path layout.
pierrejeambrun
force-pushed
the
show-offloaded-ai-model-values
branch
from
November 9, 2026 16:25
7c9b508 to
3956905
Compare
pierrejeambrun
enabled auto-merge (squash)
November 9, 2026 16:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
With an XCom backend that keeps values in external storage (for example
common.iowithxcom_objectstorage_thresholdset), the public XCom endpoint the AI Model tab reads returns the reference the backend stored in the database, not the value. The API server deliberately never runs the backend'sdeserialize_value, so the tab cannot get the real value.Each section handled that differently, and none of them told the user:
So an offloaded value looked the same as a task that never published it. The tab now lists each value kept in external storage with its reference. Usage and skills are recognised by type (a string where an object or a list is expected). The model name is a string either way, so it counts as a reference when it holds a URI scheme (
://). That works for any backend, at the cost of one known false positive: a model name that is itself a URI, such as one vLLM serves from--model s3://..., is listed as a reference too.The observability docs already described this limitation; they now describe the new behaviour.
Screenshots
Same agent task, run once with XComs in the database and once with every XCom offloaded (
XComObjectStorageBackend, threshold0):mainWas generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines