Skip to content

Add direct BreakTest DB output and drain pending TimescaleDB batches - #4

Merged
jgaalen merged 11 commits into
masterfrom
codex/migrate-breaktest-db
Nov 6, 2026
Merged

jgaalen merged 11 commits into
masterfrom
codex/migrate-breaktest-db

Conversation

@jgaalen

@jgaalen jgaalen commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Continues jgaalen/k6#4, which records the implementation history, earlier benchmarks and acceptance reports.

Changes

Add direct BreakTest DB ingestion and native/browser completion watermarks. Reconcile the TimescaleDB shutdown fix with the binary COPY writer from #3. Steady-state sends keep their one-second cadence. Shutdown joins the batch and HTTP-group cleanup workers, drains queued binary rows, and reports exhausted delivery retries. Both writers use the same metric mapping.

Verification

  • Passed ten consecutive race-enabled runs of the drain, retry and cadence tests, including arrivals during blocked sends, incomplete HTTP groups, and exhausted delivery.
  • Passed lean writer, tracker, output, HTTP, browser/common and CLI race tests, plus targeted full-build tests.
  • Ran both writers together against a disposable four-lane BreakTest DB service and an independent binary COPY capture server. Native/custom and real Chromium runs matched all stored columns except independently generated error UUIDs, sealed with zero coverage gaps and retained counts after restart.

@jgaalen
jgaalen marked this pull request as ready for review November 6, 2026 06:54
@jgaalen
jgaalen merged commit 515ef32 into master Nov 6, 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