Skip to content

Remove a committed validation workspace layout and ignore new ones - #645

Merged
coneilen merged 1 commit into
mainfrom
coneilen-microsoft-windows-preview-rebuild
Oct 7, 2026
Merged

coneilen merged 1 commit into
mainfrom
coneilen-microsoft-windows-preview-rebuild

Conversation

@coneilen

@coneilen coneilen commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

#644 accidentally committed graphcode-workspace.159bee7166972fae.json because
it was staged with git add -A. The Windows shell wrote that workspace layout
into the repository root during a local windows-shell validation run. It
contains only a scratch project path and fixture UUIDs, nothing sensitive. This
PR removes the file and ignores root-level graphcode-workspace.*.json so a
local run cannot add another.

Changes

  • Delete graphcode-workspace.159bee7166972fae.json.
  • Add /graphcode-workspace.*.json to .gitignore. The rule is anchored to the
    repository root, so it does not hide any intentional fixture under another
    directory.

Root cause, not changed here: unless GRAPHCODE_WORKSPACE_LAYOUT is set,
TerminalSurface.Workspace.layoutPathForProject uses a relative
graphcode-workspace.<key>.json. Layouts are therefore written to the shell's
current directory. A product fix that places them under the support directory
needs a separate decision and its own evidence.

Test plan

RED: git check-ignore -v graphcode-workspace.0000.json before the change -> exit 1, no rule matched; the file from #644 was tracked at main ed30b0c
GREEN: git check-ignore -v graphcode-workspace.0000.json after the change -> .gitignore:70:/graphcode-workspace..json matched; git ls-files graphcode-workspace -> no output
REGRESSION: create root graphcode-workspace.regression-probe.json, then git status --porcelain -> 0 lines (file ignored, worktree otherwise clean)

  • No product or test code changed.
  • macOS make test and make check were not run.

Checklist

  • I have read the Contributing Guidelines
  • I have signed off my commits (git commit -s) per the DCO
  • Tests pass locally (make test)
  • Code follows the existing style (make check)
  • I added the test/contract before the implementation and observed the intended RED failure

#644 accidentally committed graphcode-workspace.159bee7166972fae.json, a
workspace layout the Windows shell wrote into the repository root during a
local windows-shell validation run (it holds a scratch project path and
fixture UUIDs only). Remove it and ignore root-level graphcode-workspace.*.json
so local validation runs cannot add another.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Colin Neilens <coneilen@microsoft.com>
@coneilen
coneilen merged commit 1199de5 into main Oct 7, 2026
24 checks passed
@coneilen coneilen mentioned this pull request Oct 7, 2026
2 of 5 tasks
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