Skip to content

Retain current working directory between steeps#267

Merged
aamini7 merged 3 commits intomainfrom
aamini/cwd
Jul 23, 2025
Merged

Retain current working directory between steeps#267
aamini7 merged 3 commits intomainfrom
aamini/cwd

Conversation

@aamini7
Copy link
Collaborator

@aamini7 aamini7 commented Jul 2, 2025

Make it so that the CWD is preserved between runs similar to how it is for ENV variables

@github-project-automation github-project-automation bot moved this from 🆕 Backlog to 📋 To Do in Innovation Engine Backlog Jul 3, 2025
@rgardler-msft
Copy link
Collaborator

For context this was a TODO item I left in my PoC for Terraform docs. It was necessary to ad a "cd workingDirectory` at the start of every exec block, which is clutter. This patch removes that need.

@vmarcella
Copy link
Member

LGTM, but could you add unit tests for this fix?

@aamini7 aamini7 dismissed rgardler-msft’s stale review July 23, 2025 20:00

Unrelated to current PR. Making the temp file platform independent doesnt make sense since we're so coupled to bash already. It was also already like that before. Also using an ENV variable makes sense but I wasn't able to make it work because of the complex interaction of how we manage env variables

@aamini7 aamini7 added this pull request to the merge queue Jul 23, 2025
Merged via the queue into main with commit 6a1ba56 Jul 23, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from 📋 To Do to ✅ Done in Innovation Engine Backlog Jul 23, 2025
@aamini7 aamini7 deleted the aamini/cwd branch July 23, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants