Make Carried Link Tests Executable - #832
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request applies the repository’s “executable test-file” convention to the carried-link portability test by making it directly runnable via a standard Python shebang, and ensuring Git enforces LF line endings for that directly executed Python file so the shebang remains executable across platforms.
Changes:
- Add
#!/usr/bin/env python3shebang toscripts/tests/test_spec_validate.pyto support direct execution. - Pin
scripts/tests/test_spec_validate.pytoeol=lfin.gitattributesso the shebang doesn’t break under CRLF checkouts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| scripts/tests/test_spec_validate.py | Adds a standard Python shebang to make the unittest file directly executable. |
| .gitattributes | Pins LF line endings for the directly executed Python test to preserve shebang portability. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ptr727
marked this pull request as ready for review
August 19, 2026 02:36
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Apply the executable test-file convention identified during promotion review.
.gitattributes.The complete local gate passed, including 733 tests and all container analyzers.