Skip to content

Make Carried Link Tests Executable - #832

Merged
ptr727 merged 1 commit into
developfrom
feature/831-test-shebang
Aug 19, 2026
Merged

Make Carried Link Tests Executable#832
ptr727 merged 1 commit into
developfrom
feature/831-test-shebang

Conversation

@ptr727

Copy link
Copy Markdown
Owner

Apply the executable test-file convention identified during promotion review.

  • Add the standard Python shebang and executable mode.
  • Pin the directly executed test to LF in .gitattributes.

The complete local gate passed, including 733 tests and all container analyzers.

CopilotAI lite review requested due to automatic review settings August 19, 2026 02:35

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 python3 shebang to scripts/tests/test_spec_validate.py to support direct execution.
  • Pin scripts/tests/test_spec_validate.py to eol=lf in .gitattributes so 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.

FileDescription
scripts/tests/test_spec_validate.pyAdds a standard Python shebang to make the unittest file directly executable.
.gitattributesPins 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
ptr727 marked this pull request as ready for review August 19, 2026 02:36
@ptr727
ptr727 merged commit 85c0d9b into developAug 19, 2026
8 checks passed
Sign up for freeto 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.

2 participants

@ptr727