Skip to content

Tests on free ports; a closing-socket trial that missed its order runs again; AppArmor compile required - #183

Merged
tesseractAZ merged 1 commit into
mainfrom
ci-tests-hygiene
Nov 27, 2026
Merged

tesseractAZ merged 1 commit into
mainfrom
ci-tests-hygiene

Conversation

@tesseractAZ

Copy link
Copy Markdown
Owner

Summary

  • The SSH server tests in ingressTrust.test.ts now listen on free ports. They used fixed ports (24391 + n), so two suites running on one machine at once, such as a mutation run beside another suite, collided. One server could not bind, its client reached the other process's server, and the keepalive and active-operator tests failed. CI runs one suite per runner and never saw it. The keepalive test now also hangs up on the server's own accept log line rather than after a fixed 250 ms.
  • haWsClientLateSubscribe.test.ts: the closing-socket test runs a trial again when it misses its order. The test needs the reply bound to pass while the socket is closing. On a loaded machine the close event can run first, and that trial tests nothing; it is now run again, up to five times. A trial that reaches the order is judged in full.
  • README: the AppArmor profile compile is now a required status check. It is added to main's branch protection beside the other five jobs. It takes 4–6 s and installs nothing, because the runner image ships apparmor_parser.

No version bump: tests and docs only.

Verification

  • Six full suites run two at a time on one machine, the condition that failed four of six runs before: 6/6 pass, 0 failures (1,972 tests each).
  • Mutation harness over every entry the two test files kill (19): 19 killed, 0 survived.
  • Typecheck clean.

🤖 Generated with Claude Code

…eruns a trial that missed its order; README: AppArmor compile is a required check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tesseractAZ
tesseractAZ merged commit 9a73d91 into main Nov 27, 2026
7 checks passed
@tesseractAZ
tesseractAZ deleted the ci-tests-hygiene branch November 27, 2026 18:13
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.

1 participant