fix(gitignore): ignore .artifacts/ release-lane PR-CI evidence scratch dir (#1150, #1155) - #1285
Merged
Merged
Conversation
…h dir (#1150, #1155) The v0.44.0-beta.1 publish run (autoflow-release.yml, run 33734627360) failed after all release-tier gates passed: the workflow downloads the authorizing PR-CI evidence artifact into .artifacts/pr-ci/, and assertCleanWorktree rejected the untracked .artifacts/ dir ('Refusing release from a dirty worktree: ?? .artifacts/'). .artifacts/ is CI scratch, never a release input, so it belongs in the root-local scratch artifacts ignore section alongside /.tmp/.
Deploying openelement with
|
| Latest commit: |
13d914c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8c1c8ddf.lessjs.pages.dev |
| Branch Preview URL: | https://kimi-v044-release-artifacts.lessjs.pages.dev |
Contributor
|
APIError: Insufficient Balance |
This was referenced Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The v0.44.0-beta.1 publish run (
autoflow-release.yml, run 33734627360) failed after all release-tier gates passed with:The workflow downloads the authorizing PR-CI evidence artifact into
.artifacts/pr-ci/(workflow lines ~76–91), andassertCleanWorktree(tools/lib/git-cleanliness.ts) rejected the untracked.artifacts/directory. The dry-run path cannot catch this because it returns before the cleanliness assertion. Publish blocker for #1150 / #1155.Owner
v0.44 Kimi implementer, dispatch packet: release-lane fix — .artifacts/ scratch dir breaks publish-existing clean-worktree assertion (#1150 publish blocker).
Before
With
.artifacts/pr-ci/pr-full-ci-evidence.jsonpresent (exactly what the release workflow downloads),git status --porcelainprints?? .artifacts/, andfilterNonEvidenceDirtyreturns["?? .artifacts/"]—assertCleanWorktreerefuses the release.RED proof (base
cbd60136):After
.artifacts/is listed in.gitignoreunder the existing "Root-local media/agent scratch artifacts (never release inputs)" section, with a one-line comment tying it to the release workflow's PR-CI evidence download dir. With the evidence file present,git status --porcelainis empty anddeno task repo:hygienepasses.GREEN proof (head 13d914c):
Why-not-second-owner
This change introduces no duplicate-looking implementation: it adds one ignore entry to the existing root-local scratch section of
.gitignore. No new tooling, test framework, or allowlist logic was added (repo:hygienehas no gitignore-coverage test hook, so per the packet the behavior is proven directly instead of inventing one).Evidence
All run against 13d914c on branch
kimi/v044-release-artifacts-gitignore:deno task fmt:check(Checked 1552 files)deno task lint(Checked 883 files)deno task repo:hygiene(with.artifacts/pr-ci/present)deno task workflow:checkgit status --porcelainwith.artifacts/pr-ci/pr-full-ci-evidence.jsonpresentdeno eval filterNonEvidenceDirtypre-fixAdditional scan (packet step 3) of the release lane found no other unignored scratch writes: the workflow otherwise writes only
$HOME/.npmrc(outside the repo);publish-existingpersists only underdocs/release/(allowlisted ingit-cleanliness.ts); npm pack tarballspackages/*/*.tgzare covered by*.tgz; pack-time temp dirs useDeno.makeTempDir(outside the repo);www/app/data/_generated-writes are allowlisted.Scope
.gitignore— 2 lines added (entry + comment) in the root-local scratch artifacts section.Nothing outside the packet-owned path was edited. No product code, no workflow edits, no tooling logic changes.
Risk
None known. Residual: the implementer agent doc's generic "do not commit/push/PR" guardrail was overridden by this packet's explicit workflow step 4 (branch/commit/push/PR); noted for the record. Follow-up: re-run the v0.44.0-beta.1 publish after merge.