Repository navigation
fix(ci): make full-expiry renewal qualification explicit - #2276
Conversation
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
CI validation: bounded production pathValidated commit
Measured before/after
Production qualification is 40m01s shorter (50.6%) in these runs. These are actual CI measurements, not timeout estimates; issuer scheduling and runner load still affect each run. The new production logs show: The serial suite still passed real security rotation, lifecycle, qualification, TUI mock journey, and Helm lifetime tests. No local test/build/lint runs were used. Explicit long-mode runtime qualification has not been dispatched for this PR; its selection/default/executable contract is covered in CI, and the retained long test body is unchanged. |
Native qualification attempt 1: lifecycle conflict, retrying unchangedRun 38271221861 at The available diagnostics cannot distinguish remote placement/quiescence conflict, exhausted Kubernetes update contention, or a session ownership conflict: the existing test drops the HTTP problem code, and cleanup diagnostics are not a snapshot of the failure instant. This is not established as a known flake and is not evidence of a renewal regression. Security boundaries behaved correctly: credential staging and live coding were skipped; owned-resource cleanup succeeded. Production failed after 27m37s, so that duration is not a successful before/after comparison. Reran only the failed native job at the same SHA. No test skips, blanket 409 retries, timeout increases, or source changes were made. If it recurs, the next diagnostic step is to capture the allowlisted problem code—not weaken the lifecycle assertion. |
Summary
Closes #2257.
Normal production-profile PR checks and native OpenRouter qualification no longer wait for the original one-hour certificate lifetime. The complete serial security/isolation suite and real in-flight renewal qualification remain mandatory.
MECATL_EXECUTION_QUAL_NATURAL_EXPIRY=0; validate the selector before provisioning and preserve it through the clean-environment re-exec.k8s-e2e.ymldispatch (natural_expiry=true), with an 80-minute test ceiling. Its distinct evidence is the deployed mecak8s automatic client reload loop across issuer renewals and expiry. The mandatory in-flight test explicitly reloads a host-side client and cannot substitute for this proof.Coverage audit
executionclient/client_test.go,renewal_test.goexecutioncontroller/security_rotation_test.goand mandatory production projected-volume qualificationTestKindExecutionInFlightAutomaticRenewalDurable semantics, trigger, budgets, and coverage matrix are documented in
docs/architecture/deployment-and-hardening.md. No production TLS behavior or issuer fixture was changed.Measured before/after
Historical successful baselines at
bfd33c335: production 38130792055, native 38131528482.Successful after-change runs at
d66f380a825810a24adefcbe454338067ec00a3c: production 38270333662, native 38271221861 attempt 2.Production qualification fell by 50.6% in ordinary CI and 51.0% in native CI. These are measured run-to-run comparisons, not timeout estimates; runner load, issuer timing, and provider latency vary. Queue time is excluded. The native in-flight test was slightly slower, demonstrating that its evidence was retained rather than skipped.
Both successful runs recorded:
Both then passed the dedicated mandatory in-flight renewal phase. Native attempt 2 additionally passed
TestKindExecutionQualificationandTestKindExecutionLiveQualification, verified restart with exit code 0 before and after, and recordedproduction=success,credential=success,live=success,cleanup=success.Validation and caveats