Skip to content

fix: repair npm-publish semver tag glob, verify CI paths, and fix autoname-sessions cache invalidation - #1

Merged
ngutman merged 2 commits into
mainfrom
fix/npm-publish-trigger-and-autoname-cache
Nov 28, 2026
Merged

ngutman merged 2 commits into
mainfrom
fix/npm-publish-trigger-and-autoname-cache

Conversation

@ngutman

@ngutman ngutman commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Workflow fixes (.github/workflows/npm-publish.yml, .github/workflows/ci.yml):
    • Fix tag trigger glob from '[0-9]+.[0-9]+.[0-9]+' (regex syntax that never matches semver tags in GitHub Actions glob filters) to '[0-9]*.[0-9]*.[0-9]*'.
    • Remove redundant npm install step from npm-publish.yml (package has only peerDependencies).
    • Verify all paths in package.json pi.extensions exist on disk in ci.yml.
  • Runtime fix (pi-extensions/autoname-sessions/index.ts):
    • Re-stat the session file after manager.appendSessionInfo(normalized) so the cached fingerprint records the post-write mtime instead of triggering a re-rename on the next run.
    • Write the cache file atomically via temp file + rename and skip cache mutation during --dry-run.

Testing

  • Verified extension paths check, npm pack --dry-run (16 files, clean tarball), and TypeScript --noEmit check on pi-extensions/autoname-sessions/index.ts.

@ngutman
ngutman merged commit eb4a982 into main Nov 28, 2026
2 checks passed
@ngutman
ngutman deleted the fix/npm-publish-trigger-and-autoname-cache branch November 28, 2026 18:25
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