Skip to content

Fix enrich-on-push test in shallow checkouts - #124

Merged
2wenty2wo merged 1 commit into
mainfrom
fix/enrich-shallow-test
Dec 1, 2026
Merged

2wenty2wo merged 1 commit into
mainfrom
fix/enrich-shallow-test

Conversation

@2wenty2wo

Copy link
Copy Markdown
Owner

Summary

  • Run the enrich-on-push CLI test in a temporary Git repository with two fixture commits. The Enrich workflow checks out main at depth 1, so its checkout has no parent commit.
  • The fixture changes a catalog repo field alongside bot metadata. The test verifies that the bot metadata guard prints skip and exits with status 1.

Verification

  • Reproduced the original failure in a fresh git clone --depth 1.
  • Ran the full npm test suite in that one-commit clone after the fix. All tests passed.
  • Removed the CLI actor in an isolated probe and verified that the fixture caught the regression.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T00:12:22.592943Z fa17bf9 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.

@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@2wenty2wo
2wenty2wo merged commit d045965 into main Dec 1, 2026
2 checks passed
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