You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(backend): Secret ORM model missing workflow_id column added by migration 20260324_017 #9975
Umbrella #9920 data-layer work (#9759 chain repair) — same class of defect as #9899.
Problem
Migration 20260324_017_add_workflow_secret_scope.py adds a nullable workflow_id column (+ ix_secrets_workflow_id index) to the secrets table and documents a workflow scope value, but the Secret ORM model (autobot-backend/models/secret.py) does not declare it. The model's docstring/scope comment also omits the workflow scope.
Impact
Schemas built from ORM metadata (create_all in tests/bootstraps) lack workflow_id, so any code path inserting/selecting workflow-scoped secrets fails against model-built tables.
Fixed by PR #9989 (merged to Dev_new_gui, squash 712cf1059). Secret.workflow_id added matching migration 017, plus SecretScope.WORKFLOW and the synced scope comment. Verified secrets schema column-identical between create_all and migrations.
Activity
fix(backend): sync AgentOrgNode and Secret ORM models with their migr…
github-actions commentedon Jun 11, 2026
PR #9989 (merged to
Dev_new_gui) references this issue with a close keyword.If this issue is fully resolved, close it manually. If work remains, no action is needed.
mrveiss commentedon Jun 11, 2026
Fixed by PR #9989 (merged to Dev_new_gui, squash
712cf1059).Secret.workflow_idadded matching migration 017, plusSecretScope.WORKFLOWand the synced scope comment. Verifiedsecretsschema column-identical between create_all and migrations.