Skip to content

Conversation

@cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Oct 5, 2024

This was extracted from #6202 where I'm working on getting pants to run our tests with pytest.

The runner.yaml symlink is not registered in pants. So far, the test in this PR is the first file I've found that accesses that symlink. So, this PR makes the test just use the actual file instead of the symlink.

I put this commit in it's own PR because it doesn't fit with any of the other changes, and to see if anyone knows of a reason for the runner.yaml symlinks. The symlinks seem pointless to me, so I don't want to rely on them. Is there anything else that relies on these symlinks?

@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label Oct 5, 2024
@cognifloyd cognifloyd added this to the pants milestone Oct 6, 2024
@cognifloyd cognifloyd self-assigned this Oct 6, 2024
The symlink is not registered in pants. So far, this is the first
time something has tried to access that file. So, just use the actual
file instead of the symlink
@cognifloyd cognifloyd force-pushed the runner-yaml-symlink branch from 014fbce to c7e4543 Compare October 8, 2024 14:23
@cognifloyd cognifloyd marked this pull request as ready for review October 8, 2024 14:26
@cognifloyd cognifloyd requested review from a team, amanda11, guzzijones, mamercad and nzlosh October 8, 2024 14:26
@cognifloyd cognifloyd changed the title do not rely on the runner.yaml symlink in tests Adjust test to use runner.yaml file over the symlink Oct 8, 2024
@cognifloyd cognifloyd merged commit d8a9c97 into master Oct 8, 2024
@cognifloyd cognifloyd deleted the runner-yaml-symlink branch October 8, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pantsbuild runners size/XS PR that changes 0-9 lines. Quick fix/merge. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants