ProjectSmokeRunnerTests' Sub Main crash case can read 'ran to the time limit' under load

Open
#5,697 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
testing-qa

Research direction

Start with ProjectSmokeRunnerTests.Sub_Main_is_watched_from_when_it_starts in IDE/HexIDE.Tests/Corpus/ProjectSmokeRunnerTests.cs:357-371 and compare the failing case with issue #2934. Reproduce the full test run under load and the class in isolation to investigate the timing difference; the cause is not established. Done when the flaky timeout is understood and the test reliably expects crashed for this case.

Written by the indexing model from the issue text.

Description

bug flaky small tooling

ProjectSmokeRunnerTests.Sub_Main_is_watched_from_when_it_starts, case ("Err.Raise 5", 4000, "crashed", …) (IDE/HexIDE.Tests/Corpus/ProjectSmokeRunnerTests.cs:357-371, from #4863), failed once under load. Its status read ran to the time limit where crashed was expected. It took 16.7 s.

Measured: lane E's full HexIDE.Tests run for #5691, under WSL on 2026-11-26 at about 05:30Z, on a65a9588e plus a test-only change that touches no HexIDE.Tests file. That's 1 failure of 11,781, with 11,695 passed and 85 skipped, in 45 min 42 s. The class passed 32 of 32 when rerun alone.

Not known: the cause. I'd guess the 4-second preparation delay plus a loaded host left too little of the startup window for Sub Main's error to arrive before the deadline. That's reasoned, not checked. #2934 recorded the same budget being used up by the host's own start.

Size: small.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DNZMmUS19fTmV4TtHJob4G

Dominant language
C#
Stars
11
Forks
6
Avg merge
1h 1m
Merged PRs (30d)
152

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hexide-io/HexIDE

All issues in hexide-io/HexIDE

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.