Skip to content

DO NOT MERGE test: validate re-review gate from clean baseline - #118

Closed
csoceanu wants to merge 3 commits into
mainfrom
codex/aisdlc-118-clean-rereview-gate
Closed

csoceanu wants to merge 3 commits into
mainfrom
codex/aisdlc-118-clean-rereview-gate

Conversation

@csoceanu

Copy link
Copy Markdown
Collaborator

End-to-end validation fixture for AISDLC-118 Workstream B.

Starts from current main, whose harness pins agents commit b33f1e6. The initial fixture is intentionally clean; a follow-up commit will introduce a low-severity finding to test verified re-review behavior.

Test-only PR; do not merge.

Establish a clean baseline before the low-finding re-review test.\n\nCo-authored-by: Codex <codex@openai.com>

Signed-off-by: csoceanu <csoceanu@redhat.com>
@csoceanu csoceanu changed the title test: validate re-review gate from clean baseline DO NOT MERGE test: validate re-review gate from clean baseline Oct 12, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:37 PM UTC · Completed 5:50 PM UTC

Commit: 7a5b960 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-4-6 · Effort: high · Cost: $1.80

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Oct 12, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Risk Assessment: low (1/5)

Details

Single test-only file with 3 added lines, no protected paths, no dependency or CI changes, 100% test file ratio, and a stable low-churn history yield a composite score of 1.

Previous run

Risk Assessment: low (1/5)

Details

Single test-only file with 3 lines added, no protected paths, no security-sensitive or dependency changes, no CI modifications, minimal recent churn, and a single recent author — all Tier 1 and Tier 2 signals converge at the floor, yielding a composite of approximately 1.1 rounded to 1.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Single new test-fixture file (21 lines, small blast radius) with no security, protected-path, CI, or dependency signals; composite ~1.8 rounded to 2.

@fullsend-ai-review

fullsend-ai-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Review

Findings

Medium

  • [test-integrity] tests/test_utils.py:24 — The assertion calc_backoff_delay(2, multiplier=0) == 1 is incorrect. The function computes (attempt + 1) * multiplier; with attempt=2 and multiplier=0 the result is (2+1)*0 = 0, not 1. This is a provably failing test introduced by the "test: introduce low-only re-review finding" commit.
    Remediation: Change the assertion to assert calc_backoff_delay(2, multiplier=0) == 0.

  • [label-contradiction] tests/test_utils.py — The PR carries the ready-for-merge label while the title says "DO NOT MERGE", the body says "do not merge", and the incremental change intentionally introduces a wrong test assertion. Automation or reviewers acting on the label could merge a known-bad assertion into the production test suite.
    Remediation: Remove the ready-for-merge label while the PR serves as a process-validation fixture.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run

Looks good to me

Previous run (2)

Review

Findings

Low

  • [Code organization] tests/fixtures/arithmetic_helpers.py — The new tests/fixtures/ subdirectory lacks an __init__.py. The parent tests/ directory contains an __init__.py, so the established pattern suggests subdirectories should also include one for consistency. Nothing in the PR imports this module via a package path, so there is no runtime breakage — the concern is purely structural consistency.
    Remediation: Add an empty tests/fixtures/__init__.py to match the package structure established by tests/__init__.py.

  • [missing-authorization] tests/fixtures/arithmetic_helpers.py — This PR adds 21 lines of arithmetic helpers in a new directory with no linked GitHub issue. The PR body references Jira key AISDLC-118 but no GitHub issue is linked.
    Remediation: Link a GitHub issue (or create one) that tracks this review-gate validation work, or add a cross-reference in the PR description.

  • [architectural-coherence] tests/fixtures/arithmetic_helpers.py — The file introduces a new tests/fixtures/ subdirectory not present in the base branch and not mentioned in CLAUDE.md. The established test convention is a flat tests/ directory with test_<module>.py files mirroring source modules. The content (arithmetic helpers) is unrelated to the project domain (AI-powered documentation generation), making the abstraction choice incoherent with the project's trajectory.
    Remediation: If this fixture must live in the repo, consider a segregated location (e.g., tests/_harness/) with a README explaining its meta-testing purpose, and document the convention in CLAUDE.md. Alternatively, host the fixture externally in the review harness configuration.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

Move the baseline case into the established utility test suite so the review gate is not distracted by fixture-structure findings.\n\nCo-authored-by: Codex <codex@openai.com>

Signed-off-by: csoceanu <csoceanu@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 6:09 PM UTC · Completed 6:19 PM UTC

Commit: 9570cc8 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-4-6 · Effort: high · Cost: $1.40

@fullsend-ai-review fullsend-ai-review Bot added risk/low PR risk: low and removed risk/moderate PR risk: moderate labels Oct 12, 2026
@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review October 12, 2026 18:19

Superseded by updated review

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Oct 12, 2026
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: csoceanu <csoceanu@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 6:22 PM UTC · Completed 6:33 PM UTC

Commit: 4355a7a · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-4-6 · Effort: high · Cost: $1.59

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the review comment for full details.

Comment thread tests/test_utils.py
assert calc_backoff_delay(2, multiplier=2) == 6

def test_zero_multiplier(self):
assert calc_backoff_delay(2, multiplier=0) == 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[medium] test-integrity

The assertion calc_backoff_delay(2, multiplier=0) == 1 is incorrect. The function computes (attempt + 1) * multiplier; with attempt=2 and multiplier=0 the result is (2+1)*0=0, not 1. This is a provably failing test introduced by the 'test: introduce low-only re-review finding' commit.

Suggested fix: Change the assertion to assert calc_backoff_delay(2, multiplier=0) == 0.

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review October 12, 2026 18:33

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot removed the ready-for-merge All reviewers approved — ready to merge label Oct 12, 2026
@csoceanu csoceanu closed this Oct 13, 2026
@fullsend-ai-retro

fullsend-ai-retro Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 7:25 AM UTC · Completed 7:35 AM UTC

Commit: 4355a7a · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.81

@fullsend-ai-retro

Copy link
Copy Markdown

Retro Analysis: PR #118 — Re-review Gate Validation Fixture

Outcome: Workflow performed well — no new proposals.

PR #118 was an intentional test fixture for AISDLC-118 Workstream B, designed to validate the review agent's re-review gate behavior across three commits. The review agent performed correctly at each stage:

  1. Commit 7a5b960 (clean fixture): Found 3 low-severity architectural issues → REQUEST_CHANGES. Cost: $1.80
  2. Commit 9570cc8 (cleanup): No findings → APPROVE. Cost: $1.40
  3. Commit 4355a7a (intentional bug): Correctly caught the incorrect assertion calc_backoff_delay(2, multiplier=0) == 1 (should be 0) as a medium-severity correctness finding → REQUEST_CHANGES. Cost: $1.59

The re-review mechanism properly tracked prior review provenance, dismissed stale reviews, and narrowed scope on incremental changes. Total review cost: $4.79 across 3 runs.

Evidence for existing issues

  • #115 (bot review cascade): 8 of 19 workflow runs across AISDLC-118 branches were pull_request_review events triggered by the bot's own reviews, all resulting in skipped runs with no agent routed. This 42% waste rate provides strong supporting evidence for filtering bot-authored review events. Upstream fix tracked at dispatch: filter bot-triggered pull_request_review events to prevent review self-triggering loop fullsend-ai/fullsend#1271.
  • #97 (temporary AISDLC-118 config): All four temporary config items tracked by this issue appear to have been fully addressed by PR #119, which restored standard Fullsend configuration (workflow @v0, review role re-enabled, fork agents removed from trust list, custom harness pin reverted). This issue may be closeable pending verification.

Agents repo

During this PR's lifetime, agents were resolved from csoceanu/agents@b33f1e6 (a personal fork used for AISDLC-118 testing). PR #119 has since restored the canonical fullsend-ai/agents configuration. Eval measurement manifests were separately fetched from fullsend-ai/agents@main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk/low PR risk: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant