Skip to content

[FIX] Treat completed and canceled as terminal progress states - #1195

Open
NaitikVerma6776 wants to merge 1 commit into
CCExtractor:masterfrom
NaitikVerma6776:fix/test-status-terminal-progress
Open

[FIX] Treat completed and canceled as terminal progress states#1195
NaitikVerma6776 wants to merge 1 commit into
CCExtractor:masterfrom
NaitikVerma6776:fix/test-status-terminal-progress

Conversation

@NaitikVerma6776

Copy link
Copy Markdown

Fixes #1194

Summary

  • Treat completed and canceled as terminal progress states.
  • Prevent progress updates from being appended after either terminal state.
  • Add regression tests for both cases.

Tests

  • Relevant controller/progress tests pass.
  • Regression tests for completed and canceled terminal states pass.

Compare the stored TestStatus enum, not progress_step()'s integer index, so a VM cannot overwrite a canceled or completed run.
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Completed and canceled progress states are not treated as terminal

1 participant