Skip to content

Conversation

@phil-opp
Copy link
Collaborator

The working directory of nodes with git fields is only decided on dora build because that's where we translate the branch/tag name into the commit hash.

Before, we fell back to using the base working directory if no build was done. However, this is confusing since the reason for the different working directory is not communicated in any.

This commit throws an error if no build happened before starting a dataflow with git nodes.

phil-opp added 2 commits July 23, 2025 17:37
The working directory of nodes with git fields is only decided on `dora build` because that's where we translate the branch/tag name into the commit hash.

Before, we fell back to using the base working directory if no build was done. However, this is confusing since the reason for the different working directory is not communicated in any.

This commit throws an error if no build happened before starting a dataflow with git nodes.
To make it more obvious what's going on
@phil-opp phil-opp requested a review from haixuanTao July 24, 2025 15:20
Copy link
Collaborator

@haixuanTao haixuanTao left a comment

Choose a reason for hiding this comment

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

Looks good thanks!

@phil-opp phil-opp merged commit ac3d0da into main Jul 25, 2025
176 of 178 checks passed
@phil-opp phil-opp deleted the git-improvements branch July 25, 2025 13:36
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.

3 participants