Skip to content

test: align loop freshness with configured source scope - #86

Merged
roodboi merged 2 commits into
mainfrom
codex/review-freshness-regression
Sep 14, 2026
Merged

roodboi merged 2 commits into
mainfrom
codex/review-freshness-regression

Conversation

@roodboi

@roodboi roodboi commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The end-to-end loop fixture still expected unrelated repository commits to make a path-filtered source stale after #85 corrected that behavior. Update it to require complete/current coverage, no synthetic freshness queue item, and no repeated notification.

The preceding CI run passed 1,118 tests and failed only this outdated assertion. This changes the test contract only; production code remains unchanged. Lint/typecheck and the corrected focused regression pass. Fresh CI passes the full CI-safe suite and both macOS/Windows binary verifiers.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-14T16:46:25.645385Z b938566 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b938566bb7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1028 to +1029
expect(freshnessItem).toBeUndefined();
expect(reviewed.delta.notifiable).not.toContain("freshness:git");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Retain coverage for genuine stale-cursor alerts

This replacement removes the only evolution-loop test that verifies a genuinely stale source becomes a blocked freshness:<id> queue item, is notified on its first appearance, and is suppressed on the next unchanged run. The reconciliation tests cover freshness classification, but none exercise the rawQueue/notification transition now that this case always asserts that the item is absent, so a regression in stale-cursor alerting would pass the suite. Keep this unrelated-path case, but retain a separate stale fixture using newer in-scope evidence missed by the incremental cursor.

AGENTS.md reference: AGENTS.md:L132-L132

Useful? React with 👍 / 👎.

@roodboi
roodboi merged commit 64ed848 into main Sep 14, 2026
5 checks passed
@roodboi
roodboi deleted the codex/review-freshness-regression branch September 14, 2026 16:47
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.31.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant