Commit adec3d8
fix(ci/parity-guards): unblock registry-drift + soften citation-audit
Self-review of 200c9e6 surfaced three concrete defects:
1. ``registry-drift`` installed ``pip install -e .`` (no ``[dev]``) but
then invoked ``pytest``. Two failures stacked: pyproject's pytest
``addopts`` injects ``--cov`` unconditionally (needs ``pytest-cov``),
and ``pytest`` itself is only in ``[dev]``. Switched to
``pip install -e ".[dev]"``.
2. ``citation-audit`` ran with ``--strict``, which exits non-zero on
unresolved citations as well as mismatches. ``--strict`` conflates
"fabricated citation" (§10 red line, *should* fail) with "network
glitch on a cold arxiv / crossref endpoint" (transient, *should
not* fail). Drop ``--strict`` so only mismatches block. Recent
commits (476d6f9, 8faacd7) had already paid for this distinction.
3. None of the three jobs had ``timeout-minutes``, so a hung pip
install or hung arxiv request could burn the GitHub Actions default
6-hour ceiling per shard. Added 10 / 15 / 30 min bounds.
Plus a noise reduction: ``citation-audit`` now runs only when files
that can carry citations actually change (``src/``, ``docs/``,
``paper.md`` / ``paper.bib``, top-level README / CHANGELOG /
MIGRATION, or the auditor itself). Rust / benchmarks / .gitignore
commits no longer trigger 167+ outbound API calls. The audit report
is uploaded as an artifact whether the job passes or fails so a
reviewer can read unresolved entries without re-running.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 200c9e6 commit adec3d8
1 file changed
Lines changed: 43 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | | - | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
71 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
72 | 86 | | |
73 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
74 | 103 | | |
| 104 | + | |
75 | 105 | | |
76 | 106 | | |
77 | 107 | | |
78 | 108 | | |
| 109 | + | |
79 | 110 | | |
80 | 111 | | |
81 | 112 | | |
82 | | - | |
| 113 | + | |
| 114 | + | |
83 | 115 | | |
84 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
0 commit comments