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
Status functions across two reusable-workflow calls read a skipped called job instead of the call's result #73
success() and failure() read every ancestor. #37 judges a job inside a reusable call by the call's result, both for direct dependents and further down a chain inside the same workflow. One case is left: a dependency path that crosses into another called workflow.
Example:
A is a reusable call with one successful job and one job skipped by its own if:.
middle needs A.
B is a reusable call that needs middle.
A job in B (B / leaf) has if: success().
_ancestors looks up callers with the prefix of the job being decided (B / ), so it doesn't collapse A / optional into A. B / leaf sees the skipped job and is skipped. On GitHub it runs.
Suggested fix: resolve each traversed ancestor against its own workflow's prefix (try _caller_of with the traversed key's prefix), or carry caller metadata on each job row. Add a test for A -> middle -> B with an optional skipped job in A and a success() job in B.
Found by the review agent on #37 (thread on src/app/services/workflow_scheduler.py:79).
The problem and a suggested fix are clearly described, including a concrete A -> middle -> B scenario and a test to add. The blocker is that the code involved is not on the main branch yet. The call-result logic for status functions inside reusable calls, and the caller lookup the fix would extend, come from the open PR #37 (workflow semantics). On main, the scheduler only has the plain ancestor traversal, so a fix can't be written or tested against main.
This issue is therefore waiting on #37 to merge. Because #37 introduces the behavior with this remaining gap and doesn't address cross-workflow dependency paths, it is a prerequisite rather than a fix for this issue. After it lands, the issue can be re-triaged and implemented as described: resolve each traversed ancestor against its own workflow's caller prefix, and add the test for a skipped optional job in the first called workflow plus a success() job in the second.
Unblocking: the prerequisite PR #37 (workflow semantics) merged on 2026-11-20, and the ancestor/caller logic it introduced is in src/app/services/workflow_scheduler.py.
The fix as scoped: status functions inside reusable calls currently read a skipped called job instead of the call's result when the dependency path crosses two reusable-workflow calls. Resolve each traversed ancestor against its own workflow's caller prefix rather than the outermost one.
Test: the A -> middle -> B scenario from the issue — a skipped optional job in the first called workflow plus a success() job in the second.
Activity
fullsend-ai-triage commentedon Nov 19, 2026
🤖 Finished Triage · ✅ Success · Started 7:16 PM UTC · Completed 7:17 PM UTC
Commit:
69c2a2b· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16
fullsend-ai-triage commentedon Nov 19, 2026
The problem and a suggested fix are clearly described, including a concrete A -> middle -> B scenario and a test to add. The blocker is that the code involved is not on the main branch yet. The call-result logic for status functions inside reusable calls, and the caller lookup the fix would extend, come from the open PR #37 (workflow semantics). On main, the scheduler only has the plain ancestor traversal, so a fix can't be written or tested against main.
This issue is therefore waiting on #37 to merge. Because #37 introduces the behavior with this remaining gap and doesn't address cross-workflow dependency paths, it is a prerequisite rather than a fix for this issue. After it lands, the issue can be re-triaged and implemented as described: resolve each traversed ancestor against its own workflow's caller prefix, and add the test for a skipped optional job in the first called workflow plus a success() job in the second.
Blocked by:
jctanner commentedon Dec 3, 2026
Unblocking: the prerequisite PR #37 (workflow semantics) merged on 2026-11-20, and the ancestor/caller logic it introduced is in
src/app/services/workflow_scheduler.py.The fix as scoped: status functions inside reusable calls currently read a skipped called job instead of the call's result when the dependency path crosses two reusable-workflow calls. Resolve each traversed ancestor against its own workflow's caller prefix rather than the outermost one.
Test: the A -> middle -> B scenario from the issue — a skipped optional job in the first called workflow plus a
success()job in the second.jctanner commentedon Dec 3, 2026
/fs-code
fullsend-ai-coder commentedon Dec 3, 2026
🤖 Finished Code · ✅ Success · Started 10:33 PM UTC · Completed 10:45 PM UTC
Commit:
fdad287· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.06
Merge pull request #139 from fullsend-ai/agent/73-cross-call-status-a…