Skip to content

release: v0.5.1#51

Merged
ashu17706 merged 7 commits intomainfrom
dev
Mar 9, 2026
Merged

release: v0.5.1#51
ashu17706 merged 7 commits intomainfrom
dev

Conversation

@ashu17706
Copy link
Contributor

@ashu17706 ashu17706 commented Mar 9, 2026

Release Summary

  • Version: v0.5.1
  • Source: dev
  • Target: main
  • Scope: promote validated changes from dev to main

Changes Included

  • fix(install): remove temp HOME isolation breaking PATH dependencies (4abdda5)
  • perf: add caching and optimize Bun install for faster CI workflows (797221a)
  • fix: add missing cline and copilot to default agents seed (476eb75)
  • Merge branch 'fix/copilot-fk-constraint' into dev (91fcac8)
  • Merge branch 'fix/v0.3.1-install-submodules' into dev (0c1e42d)
  • merge: resolve install script conflicts between fix branches (8846aee)
  • release: v0.5.1 — bug fixes for copilot FK, install path, CI caching (d525d44)

Validation

  • CI passed on dev
  • Perf bench reviewed (if relevant)
  • Breaking changes documented
  • Release notes verified

Notes

  • Replace or extend this section with any release-specific context.

ashu17706 and others added 7 commits February 25, 2026 20:20
Critical fix: CI mode was using a temporary HOME directory that caused
PATH mismatches between install and test steps.

Problem:
- Install script sets HOME to /tmp/smriti-ci-XXXXX in CI mode
- Next workflow step uses runner's original HOME ($HOME = /home/runner)
- Binary installed in temp HOME but tests look in runner's HOME
- Result: "Module not found" and "command not found" errors

Solution:
- Remove temp HOME logic from install.sh and install.ps1
- Use runner's actual HOME for installation (cleaned up after job anyway)
- Add shell: bash to all test steps to ensure PATH exports work
- Keep fallback: smriti || bun direct execution

Changes:
- install.sh: Remove mktemp HOME assignment
- install.ps1: Remove USERPROFILE override
- uninstall.ps1: Remove temp HOME logic
- install-test.yml: Add shell: bash to all test steps for consistency

This ensures tests run with the same HOME where files were installed.

Fixes: Install Test failures on all platforms (Windows, macOS, Ubuntu)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Optimization targets Windows install-test slowness by caching Bun binaries
and dependencies, plus improving bun install performance.

Changes:
- install-test.yml: Add cache action for Bun binary (~/.bun)
- install-test.yml: Add cache action for QMD database (~/.cache/qmd)
- install.sh: Add --no-progress flag to faster bun install fallback
- install.ps1: Use --frozen-lockfile for faster cached installs

Performance improvements:
- Windows: Bun binary reused from cache (skip redownload)
- All platforms: Bun modules cached in ~/.bun directory
- QMD database pre-warmed from cache (avoids re-initialization)
- Fallback install uses --no-progress for reduced output overhead

Cache keys:
- Bun: keyed by OS + bun.lockb (invalidates on dependency changes)
- QMD: simple OS key (persists across runs)

Expected impact:
- First run: Full install (establishes cache)
- Subsequent runs: 40-60% faster on Windows (Bun already downloaded)
- All platforms: Faster dependency resolution with cached modules

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The smriti_session_meta table has a FOREIGN KEY on agent_id referencing
smriti_agents, but only claude-code, codex, and cursor were seeded.
This caused FK constraint failures when ingesting copilot or cline
sessions on a clean database.

Closes #30

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep expanded Bun cache paths from v0.3.1-version-command and
frozen-lockfile comment from v0.3.1-install-submodules.
@ashu17706 ashu17706 merged commit dc1cb53 into main Mar 9, 2026
13 checks passed
@github-actions github-actions bot changed the title release: batch 2 — bug fixes (v0.5.1) release: v0.5.1 Mar 9, 2026
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