Skip to content

test(diagnostics): validate standalone connection churn investigation - #319

Merged
voidvec merged 1 commit into
masterfrom
investigation/connection-churn-s02
Nov 9, 2026
Merged

voidvec merged 1 commit into
masterfrom
investigation/connection-churn-s02

Conversation

@voidvec

@voidvec voidvec commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

The #303 investigation lacked a completed standalone matrix and durable request/socket evidence. Add a bounded serial Linux runner, effective IO-thread/listener/SO_REUSEPORT checks, streamed gzip attempts, endpoint correlation, PID/inode sampling, cancellation cleanup and real-fixture checks.

The uniform primary experiment completed 18 valid cells (six configurations × three rounds × 600 seconds): 4,131,146 attempts, zero request failures, zero sampled server CLOSE-WAIT, and every drained fd count returned to baseline. Each cell's handler counter delta matched its attempt count. Actual rates were 299.06–395.38 requests/second; these are standalone ping diagnostics, not IAM capacity results.

Retain all preliminary observations separately: 1,367,892 attempts and 11 timeouts (eight body records with HTTP 200, one connect-stage, two send-stage), including two cells invalidated by observer timeouts. The original symptom is not confirmed or refuted; #303 stays open. Source and getsockopt confirm that app.reuse_port=false still leaves SO_REUSEPORT=1 on Drogon 1.9.13 Linux listeners, so this is not a kernel-option on/off comparison.

Validation:

  • GCC 13.3.0 / C++17 Release fixture compiled with -Wall -Wextra -Werror.
  • Probe black-box tests 9/9; real C++ fixture checks 3/3; Ruff, architecture guard and API-diff passed locally.
  • All 24 observations' gzip streams, JSON records, sequences, handler counters, counts and latency summaries verified against raw evidence.
  • Detailed results, package revisions, measured/final source hashes and limitations: benchmarks/diagnostics/connection-churn/results/2026-11-07-linux.md.

This draft is stacked on #306 and targets improvement/iam-hardening-20261106, so it contains only the S02 diagnostic delta. The main CI workflow filters pull_request to master; it will not run automatically for this base. Other automatic workflows do not match this diagnostic-only change. Local validation above is not a remote CI claim. Product runtime, dependency versions, macOS runners and #300 are unchanged. No merge or deployment.

Addresses #303

Rebased lineage: master 498daa3 → #306 head 656d690 → this PR head 1332c96. Only the original S02 commit was replanted onto the actual new #306 head. Its patch-id is unchanged and all eight S02 files are byte-identical. Historical measurement baselines, archived execution sources and hashes are preserved; the three-hour experiment was not relabeled as a run against the new master.

Post-rebase validation: probe 9/9, real-fixture smoke 3/3, Ruff and tracked Markdown links passed. The branch includes the latest master while the PR remains stacked on #306, so its diff remains the eight-file S02 delta and main CI still does not auto-trigger for this base.

@voidvec
voidvec force-pushed the improvement/iam-hardening-20261106 branch from 4b5a4f3 to 656d690 Compare November 8, 2026 10:27
@voidvec
voidvec force-pushed the investigation/connection-churn-s02 branch from 0646887 to 1332c96 Compare November 8, 2026 10:30
@voidvec
voidvec force-pushed the investigation/connection-churn-s02 branch from 1332c96 to 2bbdf86 Compare November 9, 2026 04:38
@voidvec
voidvec changed the base branch from improvement/iam-hardening-20261106 to master November 9, 2026 04:38
@voidvec voidvec closed this Nov 9, 2026
@voidvec voidvec reopened this Nov 9, 2026
@voidvec
voidvec marked this pull request as ready for review November 9, 2026 07:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T07:39:40.884401Z 2bbdf86 Draft marked ready
ℹ️ 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.

Add a serial Linux connection matrix with effective socket/thread checks,
streamed evidence, failure correlation and cancellation cleanup. Record the
18-cell standalone investigation and retain preliminary timeouts separately.

Addresses #303
@voidvec
voidvec force-pushed the investigation/connection-churn-s02 branch from 2bbdf86 to 64efc82 Compare November 9, 2026 07:39
@voidvec
voidvec merged commit 77d42f3 into master Nov 9, 2026
9 checks passed
@voidvec
voidvec deleted the investigation/connection-churn-s02 branch November 9, 2026 08:27
voidvec added a commit that referenced this pull request Nov 9, 2026
2026-11-09 retest: fine-grained PAT can merge PRs (#306/#319/#308 via
pr merge --rebase); reading branch-protection rules is the new 403.
Record the real merge blockers (draft flag, up-to-date requirement,
author-cannot-self-approve, auto-merge disabled), prefer close->reopen
over empty commits for CI retriggering (pull_request branch filter +
non-default edited event gotcha), and mark Automatically-delete-head-
branches as no longer effective (manual delete after merge).
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.

2 participants