fix: keep context artifacts out of quality gates - #862
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughESLint's flat config gains Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
test/claude-workflow-contract.test.jsOops! Something went wrong! :( ESLint: 10.5.0 ReferenceError: describe is not defined test/eslint-config.test.jsOops! Something went wrong! :( ESLint: 10.5.0 ReferenceError: describe is not defined test/jest-config.test.jsOops! Something went wrong! :( ESLint: 10.5.0 ReferenceError: describe is not defined Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 98e4cf2814
ℹ️ 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".
| module.exports = { | ||
| testEnvironment: 'node', | ||
| testMatch: ['**/test/**/*.test.js', '**/test/**/*.spec.js'], | ||
| testPathIgnorePatterns: ['<rootDir>/.context/worktrees/'], |
There was a problem hiding this comment.
Ignore every .context artifact in Jest
Because this only excludes .context/worktrees, Jest's testMatch still discovers tests in other .context subdirectories. In this repo, agents are instructed to store intermediate artifacts under .context/, and I verified npx --no-install jest --config jest.config.js --runInBand --reporters=default --listTests lists .context/review-jest/test/leak.test.js; such artifacts can make npm test fail despite the quality-gate fix. Consider ignoring <rootDir>/.context/ rather than only worktrees.
Useful? React with 👍 / 👎.
|
🎉 This PR is included in version 1.119.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Checks
Summary by CodeRabbit
Configuration
.context/worktrees/directories, preventing interference with linting and test workflows.Script Improvements
Tests