Skip to content

fix: lazy-load yaml so CLI startup stays within budget - #28

Merged
psmyrdek merged 1 commit into
masterfrom
fix/lazy-yaml-import
Aug 13, 2026
Merged

fix: lazy-load yaml so CLI startup stays within budget#28
psmyrdek merged 1 commit into
masterfrom
fix/lazy-yaml-import

Conversation

@psmyrdek

Copy link
Copy Markdown
Collaborator

The top-level 'yaml' import in bench-kit.ts is pulled in by index.ts, so every CLI start paid for loading the YAML parser and the binary smoke test's 50ms startup budget blew on CI (~58ms). Import yaml dynamically inside registerBaseRepo — the only code path that needs it.

The top-level 'yaml' import in bench-kit.ts is pulled in by index.ts,
so every CLI start paid for loading the YAML parser and the binary
smoke test's 50ms startup budget blew on CI (~58ms). Import yaml
dynamically inside registerBaseRepo — the only code path that needs
it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@psmyrdek
psmyrdek merged commit 0f5c2b5 into master Aug 13, 2026
9 checks passed
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