Skip to content

In-game tests: a rerun counts the checks it skips - #502

Merged
Frotty merged 2 commits into
masterfrom
ingame-skipped-checks
Oct 1, 2026
Merged

Frotty merged 2 commits into
masterfrom
ingame-skipped-checks

Conversation

@Frotty

@Frotty Frotty commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Running the in-game suite a second time in the same game skips sections 23 and 26. They test the first registration of a listener, a listener can not be taken back, and so a second run can not repeat them. They said so in an INFO note, but the totals did not: the first run reported 103 checks and the second 97, with nothing saying where 6 went.

The note now carries the count (skipped 4 checks: ...) and the summary adds them up: 97/97 checks passed, 6 skipped. The checks a rerun runs plus the checks it skips are what the first run ran, so a rerun which loses a check without saying so can be told from one which skipped it on purpose. IngameChecks gets skipped(int checks, string why) next to note, which the two sections call instead of note. It has a default body, the plain note, so a reporter written before it existed still compiles; the runner's own reporter overrides it to count.

Measured on the 3.0.0.24268 client in a test map, the suite twice in one game: 103 checks the first time, 97 plus 6 skipped the second. The six are the four checks of section 23 and the two of section 26. If one of those sections gains or loses a check without its count changing, that sum no longer holds.

grill test: 522 of 522, including a test with a reporter of the old shape.

Sections 23 and 26 test the first registration of a listener, which a second run in the same game can not repeat, so they skip themselves and said so in a note. The note now carries how many checks it skips and the summary adds them up, so the checks a rerun runs plus the checks it skips are what the first run ran.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T11:12:20.216024Z 13871c9 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3bd9382f3e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread wurst/StdlibIngameChecks.wurst
…t still compiles

A required method on the public interface broke any class implementing it for setEventChecksReporter and its siblings. The default reports the plain note those reporters got before; the runner's own reporter overrides it to count. A test with a reporter of the old shape fails to compile without the default.
@Frotty

Frotty commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 13871c97fa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Frotty
Frotty merged commit 0fdb7e5 into master Oct 1, 2026
2 checks passed
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