fix: always try altimate-code check first + expand non_deterministic regex#4
Merged
anandgupta42 merged 2 commits intomainfrom Mar 25, 2026
Merged
Conversation
…c regex Two issues found by simulation: 1. CLI check was never tried — the routing only used `altimate-code check` when v2 config was detected. Since the demo repo has no `.altimate.yml`, it always fell back to regex. Now tries CLI first regardless of config. 2. `generate_uuid()` not detected as non-deterministic — regex only matched CURRENT_DATE/NOW/GETDATE. Added: GENERATE_UUID, UUID, NEWID, RANDOM, RAND, SYS_GUID. Also improved CLI install: removed error suppression, added binary verification step, better PATH handling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes two issues found by the simulation system:
1. CLI check never tried (always fell back to regex)
The routing only used
altimate-code checkwhen v2 config was detected. Since most repos have no.altimate.yml, it always fell back to regex rules. Now the action triesaltimate-code checkfirst regardless of config version, falling back to regex only when the CLI is unavailable.2.
generate_uuid()not detected as non-deterministicThe regex only matched
CURRENT_DATE,NOW(),GETDATE(). Added:GENERATE_UUID,UUID,NEWID,RANDOM,RAND,SYS_GUID.3. Improved CLI install reliability
Removed error suppression (
2>/dev/null || true) from binary extraction. Added verification step that checks the binary exists and prints version.Type of change
How did you verify?
Checklist