Skip to content

Revert "Fix weird daemon folder"#1065

Merged
phil-opp merged 1 commit intomainfrom
revert-1064-fix-weird-daemon-working-dir
Jul 15, 2025
Merged

Revert "Fix weird daemon folder"#1065
phil-opp merged 1 commit intomainfrom
revert-1064-fix-weird-daemon-working-dir

Conversation

@phil-opp
Copy link
Copy Markdown
Collaborator

The working directory deliberatly included the session ID in distributed settings to avoid conflicts when multiple dataflows are run on the same daemon.

The session ID is a unique identifier created for each dataflow.yaml file. By using this ID as part of the working directory, we can ensure that no other dataflow is running in the same directory. Sharing a working directory between multiple distinct dataflows could easily lead to unexpected behavior, e.g. by overwriting files of the other dataflow run. So it's better to avoid this.

By using the session ID, the daemon will still be able to reuse build artifacts etc of previous dataflow runs. So incremental compilation still works.

Reverts #1064

@phil-opp phil-opp merged commit c05509d into main Jul 15, 2025
26 of 27 checks passed
@phil-opp phil-opp deleted the revert-1064-fix-weird-daemon-working-dir branch July 15, 2025 14:42
@phil-opp
Copy link
Copy Markdown
Collaborator Author

Merging to avoid accidental release of #1064.

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.

1 participant