Skip to content

Conversation

@ahal
Copy link
Collaborator

@ahal ahal commented Aug 13, 2025

We made the repo root detection smarter by using util/vcs.py to search for the .git directory. However, this broke a MacOS build task in Gecko CI because no .git directory exists. I'm not entirely sure why that happens, as the Taskgraph command still needs to run from the repo root.

At any rate, this patch re-adds the old logic as a fallback in the event util/vcs.py wasn't able to detect the repo.

@ahal ahal self-assigned this Aug 13, 2025
@ahal ahal requested a review from a team as a code owner August 13, 2025 14:32
@ahal ahal requested a review from abhishekmadan30 August 13, 2025 14:32
We made the repo root detection smarter by using util/vcs.py to search
for the `.git` directory. However, this broke a MacOS build task in
Gecko CI because no `.git` directory exists. I'm not entirely sure why
that happens, as the Taskgraph command still needs to run from the repo
root.

Ay any rate, this patch re-adds the old logic as a fallback in the event
util/vcs.py wasn't able to detect the repo.
@ahal ahal force-pushed the ahal/push-puqsuvllpmuz branch from 7da3d22 to a8ff729 Compare August 13, 2025 14:33
Copy link
Contributor

@bhearsum bhearsum left a comment

Choose a reason for hiding this comment

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

This seems like a fine workaround for now...let's make sure we have something on file for investigation later though, considering how annoying it was to debug.

@ahal ahal merged commit 29f22f8 into taskcluster:main Aug 13, 2025
17 checks passed
@ahal ahal deleted the ahal/push-puqsuvllpmuz branch August 13, 2025 15:09
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