Skip to content

Replace pre-commit symlink with bash script#1122

Merged
geofffranks merged 1 commit intodevelopfrom
symlink-error
Apr 7, 2026
Merged

Replace pre-commit symlink with bash script#1122
geofffranks merged 1 commit intodevelopfrom
symlink-error

Conversation

@ameowlia
Copy link
Copy Markdown
Member

@ameowlia ameowlia commented Apr 7, 2026

Summary

Concourse v8.1.1 introduced a security check (PR #9486) that blocks volume streaming to Windows workers if a volume contains a symlink pointing outside of its target directory. The 'git-hooks/pre-commit' symlink pointed to '../scripts/generate-cfdot-documentation', causing the 'build-binaries-for-diego-release-windows' task to fail with a 'links outside of target directory' error.

Replacing the symlink with a bash script that executes the target script resolves this streaming failure while maintaining the hook's functionality.

Backward Compatibility

Breaking Change? No

Concourse v8.1.1 introduced a security check (PR #9486) that blocks volume
streaming to Windows workers if a volume contains a symlink pointing
outside of its target directory. The 'git-hooks/pre-commit' symlink
pointed to '../scripts/generate-cfdot-documentation', causing the
'build-binaries-for-diego-release-windows' task to fail with a 'links
outside of target directory' error.

Replacing the symlink with a bash script that executes the target script
resolves this streaming failure while maintaining the hook's functionality.

ai-assisted=yes
TNZ-92655
@ameowlia ameowlia requested a review from a team as a code owner April 7, 2026 17:57
@geofffranks geofffranks merged commit 07a1217 into develop Apr 7, 2026
9 checks passed
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.

2 participants