Repository navigation
fix(search,minimize): validate replay outcomes and allow deadlocked invariant minimization - #51
Conversation
…nvariant minimization - TraceReplayer now executes each step and verifies that the actual StepOutcome matches the recorded trace outcome, failing fast with CorruptedTraceException on divergence. - DeltaDebugger.isStillFailing evaluates invariant violations directly when an invariant is present, allowing counterexamples in deadlocked configurations to be minimized. - Add test coverage in TraceReplayerTest and DeltaDebuggerTest. Co-authored-by: Codex <noreply@openai.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
📝 Summary
Merge Risk: ⚪ Minimal · up to Replay now fails fast when a recorded outcome disagrees with the executed step, and minimization now handles invariant violations in deadlocked configurations. No concrete merge-blocking risk was found. Pre-merge checks |
|
|
🤖 Completed: Generate docstrings for PR #51 — View commit |
Description
This PR addresses PR 1 from the approved remediation plan:
TraceReplayer): Replay execution now checks that each step execution outcome matches the outcome recorded in the trace. On divergence, it fails fast by throwing a newly introducedCorruptedTraceExceptioninstead of silently stepping into inconsistent states.DeltaDebugger):isStillFailingnow evaluates invariant violations directly when an invariant is present, removing the restrictive!config.isDeadlockCandidate()check. Invariant violations occurring in deadlocked terminal configurations are now properly recognized and can be minimized byddmin.Verification
TraceReplayerTest: verified outcome verification and fail-fastCorruptedTraceExceptionbehavior on mismatch.DeltaDebuggerTest: verified minimization of an invariant violation in a deadlocked terminal configuration../gradlew test: 529 tests pass../gradlew check: clean build and verification../gradlew javadoc: passes with strict doclint (-Werror)../gradlew --max-workers=1 -PpitestThreads=1 pitest: mutation ratchet passes at 255/268 (95.15%) >= 94%.