Skip to content

fix(wake): run default tasks in the executor base directory - #6469

Merged
leaanthony merged 1 commit into
masterfrom
codex/v3-20261028-port-082
Oct 28, 2026
Merged

leaanthony merged 1 commit into
masterfrom
codex/v3-20261028-port-082

Conversation

@taliesin-ai

Copy link
Copy Markdown
Collaborator

Wake expanded an absent task.Dir to an empty string and passed that through to command execution. When the executor's base directory differed from the caller's process directory, default tasks wrote output into the caller directory instead of the project. This was selected after an executor-level regression reproduced a missing project output and an unexpected output in the caller directory.

Default an empty expanded task directory to Executor.Dir, then retain the existing relative-path join and absolute-path handling for explicit values. Production code does not change the process-wide cwd. The resolved directory continues through the existing command and implicit Go-cache paths.

Part of the dependency-ordered Wails v3 bug/performance port series. Feature changes are excluded.

Validation: the original changes have regression coverage and local validation recorded during implementation. This port was checked for patch conflicts and whitespace errors. Per the maintainer’s instruction, package tests are not being repeated for each port and individual CI runs are not merge gates for this series. The final PR will remain open for combined CI review. Historical benchmarks have not been rerun on this port.

No release, milestone or repository-protection changes are included.

@leaanthony
leaanthony merged commit 44a7afc into master Oct 28, 2026
5 of 6 checks passed
@leaanthony
leaanthony deleted the codex/v3-20261028-port-082 branch October 28, 2026 11:10
leaanthony pushed a commit that referenced this pull request Oct 28, 2026
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