Skip to content

chore(gitignore): ignore tsc build info and task-explorer dummy output - #629

Merged
jacob-kreyenbuehl merged 1 commit into
mainfrom
fix/gitignore-build-artifacts
Sep 23, 2026
Merged

jacob-kreyenbuehl merged 1 commit into
mainfrom
fix/gitignore-build-artifacts

Conversation

@jacob-kreyenbuehl

Copy link
Copy Markdown
Contributor

What

Widen two .gitignore rules so build output stops leaking into the Changesets version PR:

  • tsconfig.tsbuildinfo -> *.tsbuildinfo (the exact-name rule missed tsconfig.browser/ext/test.tsbuildinfo).
  • ignore projects/task-explorer/packages/tasks_panel/dummy/ (webpack output of src/dummy.js, used only to copy the frontend files).

Why

release.yml runs pnpm run ci (a full build) before the Changesets step, and changesets/action commits the working tree. Any untracked, not-ignored build output therefore lands in the version PR. On the current version PR (#625) this produced:

  • projects/vscode-webview-rpc-lib/tsconfig.{browser,ext,test}.tsbuildinfo
  • projects/task-explorer/packages/tasks_panel/dummy/main.js

These are machine-generated and should never be committed. No prior version PR had them; they appeared once those packages were migrated.

Note (deliberately not changed)

The version PR also picks up a generated projects/task-explorer/packages/tasks_panel/LICENSE (created by scripts/legal-copy.js). I left that alone on purpose: the root .gitignore intentionally un-ignores nested LICENSE files, and several packages (e.g. packages/app-studio-toolkit/LICENSE) do track one. So whether the generated copy should be committed is a separate call, not obviously a bug.

Behaviour

No code change. Verified with git check-ignore: the four artifact paths are now ignored, and nested LICENSE files remain trackable.

The release workflow builds before running the changesets step, and the
changesets action commits the working tree, so untracked build output
leaks into the version PR. Widen the tsc artifact ignore to *.tsbuildinfo
and ignore task-explorer's generated dummy webpack output.

Signed-off-by: Jacob Kreyenbuehl <jacob.kreyenbuehl@sap.com>
@github-actions

Copy link
Copy Markdown
Contributor

Build Report

badge

Please note:

  1. Files only stay for around 14 days!
  2. This comment will be updated with the data of the last successful build of this PR.
Name Link
Commit 516b6c0
Logs https://github.com/SAP/app-studio-toolkit/actions/runs/35864165933
VSIX Files https://github.com/SAP/app-studio-toolkit/actions/runs/35864165933/artifacts/10752201599

@jacob-kreyenbuehl
jacob-kreyenbuehl merged commit 8b8b385 into main Sep 23, 2026
4 checks passed
@jacob-kreyenbuehl
jacob-kreyenbuehl deleted the fix/gitignore-build-artifacts branch September 23, 2026 13:42
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