Skip to content

chore(ci): add develop/main branch flow workflow - #4

Merged
davidjadczyk merged 4 commits into
mainfrom
develop
Jun 16, 2026
Merged

chore(ci): add develop/main branch flow workflow#4
davidjadczyk merged 4 commits into
mainfrom
develop

Conversation

@davidjadczyk

Copy link
Copy Markdown
Owner

Summary

  • Merge develop into main to adopt the new develop/main release workflow setup (CI + contributor/process docs).

Changes

  • Add .github/workflows/ci.yml to run on push/pull_request for main and develop with:
    • npm ci
    • npm run typecheck
    • npm run build
    • npm --prefix ui run build
    • npm test
  • Update README.md with the recommended collaboration/release flow:
    • feature branches -> develop
    • develop -> main
    • release via npm run release -- <patch|minor|major> (tag-triggered publish)

Testing

  • Not run in this PR.
  • Recommended command before merge: npm run typecheck && npm run build && npm --prefix ui run build && npm test.

Risks / Rollback

  • This PR introduces the full accumulated history currently on develop into main; if unintended behavior appears, revert with git revert <merge-commit>.

Checklist

  • Tests updated or not needed
  • Documentation updated or not needed
  • Breaking changes called out

davidjadczyk and others added 4 commits June 11, 2026 11:46
- add GitCommitMode, GitConfig types with 5-min batch default
- new src/core/git.ts: isGitRepo, isGitAvailable, commitFile, message resolvers
- new src/core/git-batcher.ts: GitBatcher with idle-timer debounce and flush()
- new src/core/store-git-options.ts: buildStoreCommitOptions helper
- store.ts: addTerm/editTerm/removeTerm now async with optional gitOptions
- CLI add/edit/remove: load config, pass gitOptions (batch falls back to operation with warning)
- control server: create GitBatcher at startup in batch mode, wire into all write routes, flush on close
- export GitCommitMode, GitConfig from public API
- tests: git.ts real-git-repo integration, git-batcher mocked, store/mcp updated to async
chore(ci): add develop/main branch flow workflow
@davidjadczyk
davidjadczyk merged commit 8e79b77 into main Jun 16, 2026
2 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