Github code links not correct format for forks

The github backlink for tests doesn’t have the correct format for forks.

For branch ib/bk_path_fix on my fork https://github.com/IanButterworth/julia

On Julia’s Base test suite I get back links like
https://github.com/JuliaLang/julia/tree/IanButterworth:ib/bk_path_fix/test/iterators.jl#L651

for what should be
https://github.com/IanButterworth/julia/tree/ib/bk_path_fix/test/iterators.jl#L651

Hi Ian,

Thank you for bringing this to our attention. I will pass it across to the internal team.

1 Like

Hi again Ian,

I’ve heard back from the team.

After investigating, they have identified what’s happening: Test Engine constructs GitHub links using the pattern repository_url + branch + file_location. When tests run from a fork, access to the fork’s repository information is not available within Test Engine - only the branch name and file location are available. This leads to the malformed URLs you’re seeing where the upstream repository URL is combined with a fork-prefixed branch name.

This is a current limitation of how Test Engine processes test execution metadata from forked repositories. The system doesn’t have visibility into whether a branch originates from a fork versus the main repository at the point where these links are generated.

Once tests from your forked branch are merged into the main repository, subsequent test executions will generate correct GitHub links. However, test executions that occurred while the code was still in the fork will retain the incorrect links.

Please let me know if you have any questions or if there’s anything else I can help clarify!

1 Like