Skip to content

fix(ci): grace-window the MCP known-latest audit so same-day releases stop redding every branch#8179

Merged
JSONbored merged 1 commit into
mainfrom
fix/version-audit-grace-window
Jul 23, 2026
Merged

fix(ci): grace-window the MCP known-latest audit so same-day releases stop redding every branch#8179
JSONbored merged 1 commit into
mainfrom
fix/version-audit-grace-window

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Root-cause fix for tonight's recurring red cascades (3.4.0 → 3.5.0 → 3.6.0, each one turning ui:version-audit red repo-wide until a sync PR + rebases): the audit now reads the latest version's publish time from the same registry response and treats a mismatch within 24h of publish as a ::warning (the scheduled sync PR is the fix), while anything older remains a hard failure — the #3047 anti-staleness discipline is fully preserved, and offline enforcement via LOOPOVER_MCP_LATEST_VERSION deliberately stays strict. Verified live against the current 3.5.0-vs-3.6.0 mismatch: warns and passes. Pure helper + both boundary arms + strict-fallback arms tested.

Merging #8178 (the 3.6.0 sync) is still right — this just stops the next release evening from redding every open branch. Complements #8173.

… stop redding every branch

Three times in one night (3.4.0, 3.5.0, 3.6.0) a fresh @loopover/mcp publish
turned ui:version-audit red for main and every in-flight branch/gate -- a
mismatch that is neither the branch's fault nor actionable from it, while the
scheduled sync PR (the real fix) lands within minutes anyway. The audit now
reads the latest version's publish time from the same registry response: a
mismatch within 24h of publish emits a ::warning and passes (the sync PR is
the fix); older than that is genuine staleness and still hard-fails --
preserving the #3047 anti-drift discipline. Offline/env-override enforcement
(LOOPOVER_MCP_LATEST_VERSION, no publish time available) deliberately stays
strict, and --write self-healing is unchanged.
@JSONbored JSONbored self-assigned this Jul 23, 2026
@JSONbored
JSONbored merged commit 602397b into main Jul 23, 2026
2 checks passed
@JSONbored
JSONbored deleted the fix/version-audit-grace-window branch July 23, 2026 08:45
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.06%. Comparing base (bd19df0) to head (12a0b19).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8179   +/-   ##
=======================================
  Coverage   92.06%   92.06%           
=======================================
  Files         768      768           
  Lines       77838    77838           
  Branches    23517    23517           
=======================================
  Hits        71663    71663           
  Misses       5062     5062           
  Partials     1113     1113           
Flag Coverage Δ
shard-1 57.22% <ø> (ø)
shard-2 52.54% <ø> (ø)
shard-3 53.70% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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