fix: keep filtered smoke evidence consistent - #1770
Conversation
|
Warning Review limit reached
Next review available in: 58 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough생성 앱 스모크의 Changes생성 앱 스모크 증거
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant SmokeRun as 생성 앱 스모크 실행
participant Manifest as verification-manifest.mts
participant Evidence as release-spine-evidence.mts
participant Journey as spine-blocking-journeys
SmokeRun->>Manifest: 실행 프로필 전달
Manifest-->>SmokeRun: 아티팩트 필수 여부 반환
SmokeRun->>Evidence: 생성된 증거 전달
Evidence->>Journey: 여정 번들 참조 탐색
Evidence->>Journey: 조건부 번들 검증
Journey-->>Evidence: 검증 결과 또는 copyError
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
📊 Benchmark Results✅ All benchmarks passed
Updated: 2026-08-07T02:55:41.335Z · Commit: 20fdfd6 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/tests/release-spine-evidence.spec.ts`:
- Around line 264-267: Update the assertion in the report checks test to select
the optional journey bundle artifact by its sourcePath before matching exists
and required. Do not use find(({ required }) => !required), so changes to other
optional artifacts cannot satisfy the assertion.
In `@scripts/tests/verification-manifest.spec.ts`:
- Around line 363-368: Update the assertion around generatedSmoke.artifacts to
first verify that exactly two spine-blocking-matrix artifacts are present, then
assert that every matched artifact has required set to true. Preserve the
existing packagePath context and avoid relying on every alone, since it passes
for an empty match.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: b2e88ddb-e09f-4c46-ae61-7e4b8e241c23
📒 Files selected for processing (4)
scripts/release-spine-evidence.mtsscripts/tests/release-spine-evidence.spec.tsscripts/tests/verification-manifest.spec.tsscripts/verification-manifest.mts
|
@coderabbitai resolve |
✅ Action performedComments resolved and changes approved. |
Outcome
Dependency-aware filtered generated-app smoke runs no longer fail after all selected cases pass merely because they omit the canonical full-spine journey bundle. Required matrix evidence remains blocking for filtered runs.
Full spine and scaffold runs continue to require and validate the canonical journey bundle. When journey validation fails, the diagnostic is attached to the journey artifact instead of an unrelated required matrix.
Fixes #1768
Verification
pnpm exec vitest run scripts/tests/verification-manifest.spec.ts scripts/tests/release-spine-evidence.spec.ts— 63 passedgit diff --check— passedpnpm changeset-required:check -- --base origin/trunk --head HEAD— no publishable package behavior changesReview gates
Residual risk
None identified within the issue scope.
Summary by CodeRabbit
버그 수정
테스트