chore(ci): add develop/main branch flow workflow - #4
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
developintomainto adopt the new develop/main release workflow setup (CI + contributor/process docs).Changes
.github/workflows/ci.ymlto run onpush/pull_requestformainanddevelopwith:npm cinpm run typechecknpm run buildnpm --prefix ui run buildnpm testREADME.mdwith the recommended collaboration/release flow:developdevelop->mainnpm run release -- <patch|minor|major>(tag-triggered publish)Testing
npm run typecheck && npm run build && npm --prefix ui run build && npm test.Risks / Rollback
developintomain; if unintended behavior appears, revert withgit revert <merge-commit>.Checklist