Repository navigation
fix(test): keep CI validate from timing out on the usage lock and an unborn HEAD - #897
Merged
Merged
Conversation
…unborn HEAD A busy event loop stretched the usage rewrite wait past its 5s budget because the wait counted sleeps. Bound it by wall time. The viz fixture also cloned a bare repo whose HEAD stayed on master under git 2.39, so worktree add failed with "invalid reference: HEAD". Co-authored-by: Cursor <[email protected]>
Code Erosion ReportInformational — never blocks the merge.
Scanned 271 files / 50597 SLOC · high-CC functions 318/3772 * On TypeScript, Rule hits (TS verbosity layer)Standalone
34 distinct lines flagged across |
This was referenced Sep 29, 2026
Walternater
pushed a commit
to Walternater/teamai-cli
that referenced
this pull request
Nov 2, 2026
…unborn HEAD (Tencent#897) A busy event loop stretched the usage rewrite wait past its 5s budget because the wait counted sleeps. Bound it by wall time. The viz fixture also cloned a bare repo whose HEAD stayed on master under git 2.39, so worktree add failed with "invalid reference: HEAD". Co-authored-by: Cursor <[email protected]>
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.
Summary
-b mainand a local git identity. Coding CI's git 2.39 leaves a bare repo's HEAD onmaster, and a plain clone then failsworktree addwithinvalid reference: HEAD.Test plan
viz-foreign-checkout.test.tsandusage-tracking.test.ts(127 tests)cbbde7don TGit, treee1d1886): validate 340 files / 5350 tests passed, build passed, e2e passed. Publish did not run (not a tag). npm and tnpmlateststayed0.25.0.Made with Cursor