The GitHub Actions job "Required Checks" on texera.git/feat/ai-workflow-fixer 
has failed.
Run started by GitHub user pedroreyesalvarado (triggered by pedroreyesalvarado).

Head commit for run:
55f5ccd0c1e05b797afef1fe6da91292b2800acf / Pedro <[email protected]>
fix(frontend): bind a suggestion to its workflow, and make retry work

Three findings from @carloea2, each reproduced against the service before the
fix and confirmed failing without it.

A suggestion outlived the workflow it was made for. The service is a root
singleton and only tracked the operator id, but two imports of the same JSON
carry the same ids, so a reply that landed after the user switched workflows
could be applied to the wrong graph. The state now carries the workflow it
belongs to, checked when the reply lands, before the write, and again after the
unlock wait -- that wait can take seconds, and the user is free to navigate
during it.

Apply did nothing after a failed apply. The panel keeps the suggestion and its
Apply button in `apply_failed`, but applyFix returned unless the status was
`ready`, so the button was there and silently did nothing. It is retryable now;
every check below it re-reads the operator and runs again, so a retry is not a
shortcut.

A structured setting became a string. coerceToFieldType covered numbers and
booleans, and anything else fell through to the raw string -- naming an array
field replaced it with the text "[]". Arrays and objects are refused: validating
a replacement against the operator's schema is a larger change than the four
error shapes here need.

Also stubs OperatorMetadataService in the service spec. It fetches operator
metadata from its constructor, so injecting it for the credential filter left
every TestBed issuing a live request; with enough tests the suite stopped
reporting at all rather than failing.

Co-Authored-By: Claude Opus 5 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/38766120741

With regards,
GitHub Actions via GitBox

Reply via email to