Skip to content

Notion of a per-task working directory#2441

Open
mkeeter wants to merge 1 commit intomasterfrom
mkeeter/task-work-dir
Open

Notion of a per-task working directory#2441
mkeeter wants to merge 1 commit intomasterfrom
mkeeter/task-work-dir

Conversation

@mkeeter
Copy link
Collaborator

@mkeeter mkeeter commented Mar 19, 2026

I did an experiment where Hubris builds were isolated by image + task, which made incremental rebuilds much faster (45 → 11 seconds) but take up much more space (1 GiB → 23 GiB). This PR doesn't implement that change, but it does lay the groundwork for that (or similar) changes by abstracting away a per-task working directory. Now, instead of being hard-coded to target, the build system has to ask the PackageConfig for a working directory (passing in the task name as an argument). Right now, we always return target, so there should be no functional change.

In many cases, passing around the whole &PackageConfig as an argument makes other arguments unnecessary (because they were being extracted out of the PackageConfig.

@mkeeter mkeeter requested review from hawkw and labbott March 19, 2026 13:40
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