Repository navigation
v2026.11.19
·
468 commits
to main
since this release
@unbrained/pm-cli 2026.11.19
Source range: v2026.11.18...v2026.11.19
Changelog
Changed (SDK contract)
- Managed npm update checks report a subprocess timeout as npm_registry_lookup_failed, and the fixed 10 s npm view budget makes the Windows nightly extension-freshness test flaky: An npm update lookup that ran out of its fixed 10-second budget reported npm_registry_lookup_failed, like an unavailable registry, and ManagedExtensionRecord had no budget field → It reports npm_registry_lookup_timed_out, and the managed record and extension summary carry update_check_timeout_ms naming the budget; other provider execution failures still report npm_registry_lookup_failed (unreadable output keeps its own validation codes, such as invalid_npm_registry_metadata); PM_EXTENSION_UPDATE_CHECK_TIMEOUT_MS sets the budget (default 10000, clamped to 1000-25000), except for manage --fix-managed-state, which keeps the default. Migrate: Match npm_registry_lookup_timed_out wherever npm_registry_lookup_failed is matched, add update_check_timeout_ms to any exhaustive keyof ManagedExtensionRecord mapping, and raise PM_EXTENSION_UPDATE_CHECK_TIMEOUT_MS for a slow registry or cold start in checks other than manage --fix-managed-state, which keeps the 10-second default (pm-5kfzjh)
- GitHub managed-package update checks report git's command line and stderr as update_error instead of a stable code, and a timed-out ls-remote looks like any other failure: A failed git ls-remote reported git's command line and stderr, starting 'Git command failed: git ls-remote', as update_error → It reports github_remote_lookup_timed_out with update_check_timeout_ms when the budget ran out and github_remote_lookup_failed for any other execution failure, while a git ls-remote that succeeds but resolves no reference still reports no_remote_reference_found; git runs with GIT_TERMINAL_PROMPT=0 and GCM_INTERACTIVE=never. Migrate: Match the two stable codes instead of parsing git's message, and run git ls-remote directly to see git's own error (pm-43p2c3)
- GH-1749: adding a secret-guard rule breaks typed consumers' exhaustive Record<SecretGuardFinding['rule'], ...> policy maps; offer a stable category per rule and a default-plus-overrides policy helper: Typed consumers kept an exhaustive Record over the SecretGuardFinding rule union, so every new detector failed their compilation with TS2741 → Every detector has a stable credential, network or path category, and decideSecretGuardFinding decides a finding by precedence: a defined own rules entry, then the policy's defined entry for the rule's category, then the default (an undefined entry falls through), so a new detector without its own entry takes its category's decision or the default; an unchanged exhaustive Record over the rule union still breaks when a detector is added. Migrate: Replace an exhaustive Record over SecretGuardFinding['rule'] with a SecretGuardPolicy and decideSecretGuardFinding, or key an exhaustive map by SecretGuardRuleCategory (pm-gh1749)
PM Tracker Evidence
Closed pm items in release window: 3
By type: Issue=3
By status: closed=3
Selected release-related tracker items:
- No release-tagged pm items found in the selected window.