[Fix] (CI): the latch-site gate's DrainRing pattern accepts the drain's poll-head parameter.

This commit is contained in:
2026-10-07 22:13:20 -04:00
parent a0f4aa830e
commit 92da2486c5
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ MECHANICS = [
# pattern may not leave DrainRing's body (`\n }\n` closes a member function in ServerLoop.cpp).
(REMOTE / "Server" / "ServerLoop.cpp",
"DrainRing: no record is popped once the session latched (checked immediately before every pop)",
r"Uint64 ServerLoop::DrainRing\(\) \{(?:(?!\n \}\n).)*?for \(;;\) \{\s*if \(SessionLatched\(\)\) break;",
r"Uint64 ServerLoop::DrainRing\([^)]*\) \{(?:(?!\n \}\n).)*?for \(;;\) \{\s*if \(SessionLatched\(\)\) break;",
[("ServerLoopTest.cpp", "ALatchedRecordEndsItsBatchAndTheApplyThreadLeavesWithoutAStop"),
("PeerLatchTest.cpp", "ALatchedRecordIsTheLastRecordItsBatchApplies"),
("ServerLoopTest.cpp", "ALatchFromAnotherThreadBetweenTwoRecordsStopsTheNextPop")]),