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
fix(copilot): name the run from the executor, not the logging session
Review found the logging session wrong in both directions, and it is: the
result of `safeStart` is never checked, so blocks execute even when it
fails — reporting that nothing started for a run that did, which is the
direction that duplicates work — and it flips before trigger resolution
and serialization, reporting a run for failures that never reached a
block. A resume whose conditional update matches no row returns true and
named a run that does not exist.
Entering the executor is the only honest answer to "could a side effect
have occurred", because side effects come from blocks rather than from log
rows. Moving the marker there settles all three at once.
Also from review:
- Stop returning the thrown environment or database error to the model
when the egress catalog is unavailable. Nothing there can project it —
the catalog it would need is the very thing that is missing — so the
reason stays in the log and the response carries fixed text plus the
workspace id the caller itself supplied.
- Guard the attach against a frozen failure, which would otherwise throw
and replace the original error partway through cleanup, making a
diagnostic aid the thing that loses the diagnosis.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments