Skip to content

Mock execSync in rtk rewrite tests for CI - #2

Merged
5uck1ess merged 1 commit into
mainfrom
fix/rtk-test-mock
Apr 6, 2026
Merged

Mock execSync in rtk rewrite tests for CI#2
5uck1ess merged 1 commit into
mainfrom
fix/rtk-test-mock

Conversation

@5uck1ess

@5uck1ess 5uck1ess commented Apr 6, 2026

Copy link
Copy Markdown
Owner

The rtk rewrite tests shelled out to the real rtk binary, which isn't installed in CI. Mocks execSync so tests pass without rtk on PATH. Also adds a test for the exit-code-3 rewrite path.

@5uck1ess
5uck1ess merged commit 79c62ad into main Apr 6, 2026
1 check passed
@5uck1ess
5uck1ess deleted the fix/rtk-test-mock branch April 6, 2026 18:41
5uck1ess added a commit that referenced this pull request Apr 7, 2026
autoloop:
- #1: Clarify comparisons are always against original baseline
- #2: Count only autoloop: commits (not Revert commits) for iteration limit
- #3: Constrain guard output to GUARD_PASSED/GUARD_FAILED on first line

reason:
- #4: Add loop max:8 on converge step for bounded stopping
- #5: Feed {{tally}} into generate-a so it gets previous winner
- #6: Report uses only tally+critique instead of all 6 step outputs

predict:
- #7: Inline finding format in all three analyst prompts
- #8: Broaden file extensions, respect user scope, exclude vendor dirs

readme:
- #9: Move predict/reason next to tri-* analysis group
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