• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

prisma-risk / tsoracle / 26434148274
95%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 05:35AM UTC
Jobs 1
Files 88
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 May 2026 05:28AM UTC coverage: 95.462%. Remained the same
26434148274

push

github

web-flow
test(e2e): add mixed-version-soak driver mode and Job manifest (#470)

A new `Mode::MixedVersionSoak` variant on the existing `kube-e2e-driver`
that sustains GetTs load while the orchestrator performs a rolling
restart to a new image and drives an activation against live traffic.
Asserts the same invariants as the existing `Soak` mode — zero
monotonicity violations, final error rate below `MAX_SOAK_ERROR_RATE`
(0.5%) — because timestamp monotonicity is exactly the property a
format activation must not break.

The driver itself is a pure observer of monotonicity; it does NOT
perform the rollout or the activation. The orchestrator (a future
GitHub Actions workflow path) drives those between the live-load
sentinel and the Job's final verdict.

**Mode + runner** (`e2e/kube/driver/src/main.rs`).

- New `Mode::MixedVersionSoak` enum variant.
- New `run_mixed_version_soak` runner that prints a distinct sentinel
  (`mixed-version-soak: first GetTs ok`) on the first success so the
  orchestrator can sequence the partial upgrade + activation against
  live load, mirroring how the existing soak lane sequences the
  rolling restart.
- Refactored both runners to share a `sustain_load(endpoints,
  duration, label)` helper. The `label` is the per-mode prefix used
  in the first-success sentinel, the per-error log line, and the
  final-verdict tracker report — so the orchestrator can grep for
  the right mode unambiguously. Behaviour-preserving for the
  pre-existing `soak` path (same sentinel, same error log shape).
- `Mode` derives `PartialEq, Eq` so the new CLI parse tests can
  match without `matches!`.

**CLI parse tests.** Three small unit tests pin that `cold-start`,
`soak`, and `mixed-version-soak` all parse with the expected
`--mode=` clap value and that the endpoint/count/duration arguments
flow through.

**Job manifest** (`e2e/kube/driver/job-mixed-version-soak.yaml`).
Modeled on `job-soak.yaml`: same labels, same backoff/restart
policy, same per-replica e... (continued)

12979 of 13596 relevant lines covered (95.46%)

444507.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26434148274.1 26 May 2026 05:35AM UTC 88
95.46
GitHub Action Run
Source Files on build 26434148274
  • Tree
  • List 88
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26434148274
  • 29ffa9d0 on github
  • Prev Build on main (#26433783579)
  • Next Build on main (#26435191251)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc