Skip to content

tla: check.sh resolves a relative jar path; TODO: spurious wake-ups done - #232

Merged
bernardladenthin merged 1 commit into
mainfrom
fix/check-jar-path
Nov 13, 2026
Merged

bernardladenthin merged 1 commit into
mainfrom
fix/check-jar-path

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • check.sh resolves its jar path before it changes directories, as trace.sh does. With a relative path, the two mutant checks ran in a directory of their own and could not load TLC. CodeRabbit found this on TLA+: spurious wake-ups of Condition.await() in the models and proofs #231. CI passes an absolute path, so CI was not affected.
  • TODO.md: the steps and the run prompt for the spurious wake-ups are done, so I removed them and kept the result with its known limits. The A6 open point is removed, the open-items row is gone, and the A16 wording now treats spurious wake-ups as a model assumption.

Test plan

  • The mutant part of check.sh run with a relative jar path: WaitAlone1 clean, mutant-WaitAlone1 clean, mutant-SpuriousWaitAlone1 violates WaitEnoughOrClosed
  • bash -n src/test/tla/check.sh
  • CI is green on this branch
  • Docs updated (TODO.md)

Related issues / PRs

Follow-up to #231.

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes (if there are, I have notified the maintainer privately per SECURITY.md)

🤖 Generated with Claude Code

https://claude.ai/code/session_01S8cAMbADd1y9p36iFrVkAd

…DO: spurious wake-ups done

CodeRabbit on #231: a relative jar path broke the two mutant checks, which run in a directory of
their own; check.sh now resolves it as trace.sh does (tested with a relative path). TODO.md: the
done steps and the run prompt of the spurious wake-ups removed, the result and its known limits
kept; the A6 open point and the A16 wording follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01S8cAMbADd1y9p36iFrVkAd
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4b0138d7-28bd-4a87-82e7-6243f1e5a5a3
Commits

Reviewing files that changed from the base of the PR and between be3ff73 and 2ad7432.

Files selected for processing: 2

  • TODO.md
  • src/test/tla/check.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bernardladenthin
bernardladenthin merged commit 42b881a into main Nov 13, 2026
22 of 23 checks passed
@bernardladenthin
bernardladenthin deleted the fix/check-jar-path branch November 13, 2026 20:18
@sonarqubecloud

Copy link
Copy Markdown

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage is 100.0% — fix/check-jar-path into main. No base build found for main.

@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.20%. Comparing base (de91b09) to head (2ad7432).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #232   +/-   ##
=========================================
  Coverage     99.20%   99.20%           
  Complexity      165      165           
=========================================
  Files             1        1           
  Lines           376      376           
  Branches         51       51           
=========================================
  Hits            373      373           
  Partials          3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

This branch was successfully deployed

1 active deployment
startgate — 2ad74329 Deployed Nov 13, 2026 by bernardladenthin via Start gate (abort window) #457
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.

2 participants