test(e2e): stabilize Agent v2 external runtime checks (#38493)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Stephen Zhou
2026-07-07 04:48:12 +00:00
committed by GitHub
co-authored by autofix-ci[bot]
parent 5a342f9258
commit 800c9f4fca
7 changed files with 122 additions and 27 deletions
@@ -32,7 +32,9 @@ def get_published_agent_app_feature_dict_and_user_input_form(
)
if agent is None:
raise AgentAppGeneratorError("Agent App has no bound Agent")
if not agent.active_config_snapshot_id or not agent.active_config_is_published:
# active_config_is_published means the draft has no unpublished edits; the public app
# can still read parameters from the active snapshot while a newer draft is pending.
if not agent.active_config_snapshot_id:
raise AgentAppNotPublishedError("Agent has not been published")
snapshot = db.session.scalar(