Skip to content

test(package): trim and time consumer Git fixture setup - #118

Merged
vincentkoc merged 1 commit into
mainfrom
test/consumer-git-fixtures
Nov 20, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test/consumer-git-fixtures

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

The Windows package-consumer run reported 73 seconds for fixture setup, three installs and generated-file checks together. Give each operation its own elapsed time on stderr.

Initialize the three fixture repositories and their clones with an empty, test-owned Git template. Commit the one tracked file changed by the rollback test directly. The repositories, commits, installed npm shim and late failure remain real.

Compatibility

This changes only the consumer proof. The installed packages, app order, compiler pins, isolated consumer, byte-for-byte comparisons and release assertions are the same.

Verification

  • All 387 runnable local tests passed. Two platform-specific cases were skipped.
  • The offline packed consumer passed CLI, runtime, MCP, declaration and rollback checks.
  • Instrumenting the same proof before and after showed Git init/add calls dropping from four each to three each. Rollback snapshot reads of sample Git hook files fell from 28 to zero.

@clawsweeper

clawsweeper Bot commented Nov 20, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc merged commit 7e9eb61 into main Nov 20, 2026
9 checks passed
@vincentkoc
vincentkoc deleted the test/consumer-git-fixtures branch November 20, 2026 16:00
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