You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(review): one-shot AI review cadence, configurable globally + per repo (#4657)
* feat(review): one-shot AI review cadence, configurable globally + per repo
AI-generated review content (main review, slop advisory, linked-issue
satisfaction) now freezes after its first pass by default -- no further
automatic push/CI-completion/sweep trigger spends a fresh AI call, only
an explicit maintainer retrigger does. Configurable via the new
GITTENSORY_REVIEW_CONTINUOUS fleet-wide env default and the per-repo
review.auto_review.cadence .gittensory.yml override (either direction),
so self-hosters who want the traditional re-review-on-push behavior can
opt back in. The deterministic gate is unaffected and always re-evaluates.
Fixes#4636
* test(review): close linked-issue-skip coverage gap + mark unreachable headSha branches
Add the missing positive-case test for the linked-issue-satisfaction
one-shot skip actually firing (previously only the negative/never-skip
case was covered), and mark the advisory.headSha ?? null fallback on
the three new one-shot-cadence audit events as v8-ignored, mirroring
the identical, already-established treatment of the same fallback
shape elsewhere in maybePublishPrPublicSurface.
* test(review): cover the one-shot-cadence fail-safe catch arms codecov flagged
codecov/patch flagged 6 lines at 81.82% patch coverage: the .catch()
fallback bodies for the three new existence-check lookups and their
paired audit-event writes never fired in the initial test suite (the
happy path never rejects). Adds one combined read-failure +
audit-write-failure regression per feature (slop, linked-issue
satisfaction, main-review reuse), mirroring the exact two-part pattern
already used for the pre-existing frozen-reuse fail-safe test.
0 commit comments