Fix Terraform Sentinel prerelease version resolution in scenario tests#1648
Open
Copilot wants to merge 4 commits into
Open
Fix Terraform Sentinel prerelease version resolution in scenario tests#1648Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'test-scenarios (terraform)'
Fix Terraform Sentinel prerelease version resolution in scenario tests
May 13, 2026
Kaniska244
requested changes
May 13, 2026
Contributor
Kaniska244
left a comment
There was a problem hiding this comment.
@copilot Minor version bump needed.
Contributor
Author
Addressed in |
Kaniska244
requested changes
May 13, 2026
Contributor
Kaniska244
left a comment
There was a problem hiding this comment.
@copilot Should be 1.4.3 not 1.5.0
Contributor
Author
Addressed in |
Kaniska244
approved these changes
May 13, 2026
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.
Bug Fix
The
test-scenarios (terraform)job was failing while installing Sentinel in Terraform scenarios. The installer was corrupting Sentinel prerelease version strings, producing invalid download URLs for the latest release.What was the bug?
find_sentinel_version_from_url()usedtr -d ${prefix}to strip thesentinel_prefix from release names.tr -ddeletes matching characters anywhere in the string, sosentinel_0.40.1-beta2became0.40.1-ba2, and the feature attempted to fetch non-existent Sentinel artifacts.How did this change address it?
Replace character deletion with anchored prefix removal so prerelease suffixes remain intact when resolving the latest Sentinel version.
Impact
0.40.1-beta2