Repository navigation
Closed
Labels
ciCI, workflows and release automation
Description
Status update (2026-11-20): the deterministic docs-only Towncrier false gate is fixed by merged #71. The remaining scope is post-0.4.0 flake evidence and an end-to-end documentation-only PR, not a 300-run historical analysis. CI regressions that fail on changed commits are real failures, not flakes.
Goal
An authoritative, repeatable CI that is green on stable and fails only when there is a real policy/build/test failure. No continue-on-error escape hatches or automatic green-on-retry.
Evidence audited
- Run 44671925030: Towncrier failed on a documentation-only PR whose sole diff was
docs/releases/RELEASE_STATUS_0.4.0.md("No new newsfragments found"); addingskip-changeloglater made it pass. This is deterministic false friction, not a flaky test. - Run 44607604072: tests errored with
ModuleNotFoundError: uvicornduring a PR changing requirements: genuine regression, not flaky. - Run 44598336950: auth/privacy and datetime assertions failed on an intermediate code HEAD: real development failures, not evidence of random behavior.
- Run 44653445383: research Redis resolver test asserted a mismatched metadata marker form; corrected in later research HEAD.
- Stable CI run 44672202319: passing on
3cb95e0. Do not claim an established flaky suite without same-SHA repeat/failure evidence.
Proposed PRs
- Automatically recognize Markdown-only PR diffs as documentation changes in the Towncrier gate while requiring fragments for
*.py, Poetry metadata, workflows, tests, examples and executable scripts. Keep explicitskip-changelogas audited escape hatch for exceptional cases. - Scope investigation to runs from the 0.4.0 release onward, or a specifically cited earlier repeated error. Group by same SHA + job + environment and failure signature; examine reruns only when there is evidence of a possible flake. Do not require cataloging 100–300 historical runs or mistake failures on successive development commits for nondeterminism.
- Add bounded deterministic timing/TTL/Redis race tests only where a reproducible failure signature exists, prioritizing test-time clocks/expiry and concurrency. Keep pinned tools and current required CI profiles; no speculative large-scale flake cleanup.
- Separate required release CI from opt-in exhaustive research jobs; prohibit masked pytest failures and record full job result summaries, including wheel/sdist
pip check. - Review runner/toolchain deprecations (GitHub Actions Node 20 warnings are not current test failures).
Exit criteria
- PR #71 is MERGED (squash commit
f9b12aa87ba4e818b483c15c52c0b08e3cf83a95, 31/31 checks passed). A docs-only PR must now pass Towncrier end to end without a manual label; mixed source PRs without fragments must still fail. - Stable/release checks remain required; a simulated failing job is still red.
- All genuine flakes have a reproduction, root cause/fix or explicit tracked disposition; no made-up zero-flake metric.
Metadata
Metadata
Assignees
Labels
ciCI, workflows and release automation
Activity
agustin18 commentedon Nov 20, 2026
First scoped fix prepared: PR #71, HEAD
106a6ed66ead31cf3a25cac2137adf62bb155247, 31/31 checks PASS, marked ready for review. This resolves the deterministic docs-only Towncrier false gate at the unit/classifier and workflow-logic level; an actual second docs-only PR should still be used after merge to verify end-to-end skipping. Other historical errors (ModuleNotFoundError: uvicorn, intermediate auth/privacy failures, earlier Redis marker mismatches) were real different-HEAD regressions, not proven same-SHA flakes. The remaining CI repeatability/root-cause inventory stays open in this issue; do not claim it is fully solved by PR #71.ci(towncrier): exempt docs-only changes and scope 0.5.0 roadmap (#71)
docs(roadmap): prioritize confirmed #68 correctness and focus 0.5.0 r…
agustin18 commentedon Nov 20, 2026
E2E verification completed: a true documentation-only PR #72 changed only
ROADMAP.md, with no newsfragment and noskip-changeloglabel. Towncrier passed; all 31/31 checks passed on HEADaabcf42fe8dd76f62b14c49d09502d2f8d37e29e. PR #72 was squash-merged as2276a6c6dcfa037fa96ae6c223c3e1ad1d297577. Thus the docs-only false positive fixed in #71 has both unit and actual PR integration evidence. #67 remains open only for post-0.4.0 evidenced nondeterminism / required CI quality. Do not retroactively call old different-commit failures flaky.agustin18 commentedon Nov 20, 2026
End-to-end docs-only gate verification completed on 2026-11-20; no test changes merged.
docs(roadmap): reconcile completed #53/#67/#68/#69-A and isolate #69-B/…