Skip to content

Comments

test(taskctl): add processAdversarialVerdicts state machine tests and fix stale verdict reload#256

Merged
randomm merged 3 commits intodevfrom
fix/issue-220-pipeline-tests
Feb 20, 2026
Merged

test(taskctl): add processAdversarialVerdicts state machine tests and fix stale verdict reload#256
randomm merged 3 commits intodevfrom
fix/issue-220-pipeline-tests

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Feb 20, 2026

Fixes #220

Changes

  • 4 new test cases for processAdversarialVerdicts state machine: APPROVED path, ISSUES_FOUND path, 3rd failure escalation, double-processing prevention
  • Fixed stale verdict bug: reload task from DB after clearing verdict to prevent subsequent Store.updateTask calls restoring old pipeline.adversarial_verdict

@randomm randomm merged commit 57155fd into dev Feb 20, 2026
1 check passed
@randomm randomm deleted the fix/issue-220-pipeline-tests branch February 20, 2026 09:33
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.

test(taskctl): improve pipeline.test.ts to cover processAdversarialVerdicts state machine

1 participant