AP24110011695 commented on PR #77136: URL: https://github.com/apache/airflow/pull/77136#issuecomment-6931056127
While tracing this gate I hit an adjacent gap that a key-based check cannot fix, flagging it here as a likely follow-up rather than scope-creep for this PR: `TaskSuccessEvent(xcoms=...)` is public trigger API, and the triggerer writes those xcoms straight to the database (`Trigger._push_xcoms_if_necessary` → `XComModel.set_for_attempt(serialize=False)`, raw storage pinned by the #76596 tests — the triggerer has no task context or backend access). With a custom backend configured, runtime-written rows hold externalized references while trigger-written rows hold raw values — same key namespace, two value shapes. The GET gate (both before and after this PR) keys on the key name, so a strict reference-only backend breaks when pulling a trigger-written xcom. Fixing it needs a design decision (route trigger writes through a backend-aware path, or per-row provenance), so I kept it out of this PR. Happy to file separately if maintainers want it tracked. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
