Skip to content

fix(scripts): Fix unreliable port exits that causes racing conditions - #49

Open
Savio-Sou wants to merge 3 commits into
masterfrom
ss/fix-race
Open

fix(scripts): Fix unreliable port exits that causes racing conditions#49
Savio-Sou wants to merge 3 commits into
masterfrom
ss/fix-race

Conversation

@Savio-Sou

Copy link
Copy Markdown

Problem Resolved

This came from running scripts/check-critical-libraries.sh.
When oracle tests of sha256, poseidon, and keccak256 were ran consecutively, the same port 8095 they rely on were not freed up in time for the next tests to run on, ended up in failing oracles tests.

Summary of Changes

Strengthen port cleanup, and add error for when RPC server fails to start.

PR Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@Savio-Sou
Savio-Sou requested a review from TomAFrench May 7, 2026 20:07
@Savio-Sou Savio-Sou added the enhancement New feature or request label May 7, 2026
@Savio-Sou Savio-Sou added bug Something isn't working and removed enhancement New feature or request labels May 7, 2026
@Savio-Sou Savio-Sou self-assigned this May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant