Skip to content

fix: correct branch trigger from main to master (upstream default branch) - #16

Merged
Doorman11991 merged 3 commits into
Doorman11991:masterfrom
Zireael:pr/branch-fix
May 20, 2026
Merged

fix: correct branch trigger from main to master (upstream default branch)#16
Doorman11991 merged 3 commits into
Doorman11991:masterfrom
Zireael:pr/branch-fix

Conversation

@Zireael

@Zireael Zireael commented May 20, 2026

Copy link
Copy Markdown
Contributor

The build workflow wasn't triggering because I had branch name 'main' on my fork, and here we have 'master' branch. Classical example of "it works on my machine".

How to create new tag/release:

website - go to

https://github.com/Doorman11991/smallcode/releases/new

terminal - something like

git tag v0.7.0
git push origin v0.7.0

(CI should create the release + tarballs)

Also, automating changelog text for releases made with new version tag.
Added a workflow step that auto-extracts the matching section from CHANGELOG.md based on the tag version and passes it as the release body. Now git push v0.X.X produces a complete release with tarballs + changelog — zero manual steps.

How it works

  1. Tag push fires the workflow
  2. Build matrix runs (all 3 platforms)
  3. release job extracts the ## [X.X.X] section from CHANGELOG.md using awk
  4. softprops/action-gh-release creates the release with the extracted notes + tarballs

Edge cases handled:

  • No matching section in CHANGELOG → empty body (harmless, still uploads tarballs)
  • Test tags like v0.2.5-test → no match, no error

Zireael added 3 commits May 20, 2026 08:43
- workflow triggers were set to main but upstream repo uses master
- README install URLs and script headers point to master
- install.sh ARM arch tag: Arm64 -> ARM64 to match GHA runner.arch
@Doorman11991
Doorman11991 merged commit 77fd6c6 into Doorman11991:master May 20, 2026
6 checks passed
Doorman11991 added a commit that referenced this pull request May 21, 2026
Feature #14 - Prompt cache split: move dynamic context (memory/knowledge/skills)
to user message when SMALLCODE_CACHE_SPLIT=true. Keeps system prompt stable
for provider-side prefix caching.

Feature #15 - Multi-model chaining: declare planner+executor models separately.
Fast planner pre-generates numbered plan concurrently with task classification,
injected before first chatCompletion. SMALLCODE_CHAIN=true + SMALLCODE_CHAIN_PLANNER.

Feature #16 - Diff-based context: read_file returns unified diff on re-reads
instead of full content. Saves significant context on multi-edit sessions.
SMALLCODE_DIFF_CONTEXT=true to enable. Falls back to full on large diffs.

12 bugs fixed across 6 audit passes. 5/5 smoke all runs.
Kothulhu94 pushed a commit to Kothulhu94/smallcode that referenced this pull request May 29, 2026
fix: correct branch trigger from main to master (upstream default branch)
Kothulhu94 pushed a commit to Kothulhu94/smallcode that referenced this pull request May 29, 2026
Feature Doorman11991#14 - Prompt cache split: move dynamic context (memory/knowledge/skills)
to user message when SMALLCODE_CACHE_SPLIT=true. Keeps system prompt stable
for provider-side prefix caching.

Feature Doorman11991#15 - Multi-model chaining: declare planner+executor models separately.
Fast planner pre-generates numbered plan concurrently with task classification,
injected before first chatCompletion. SMALLCODE_CHAIN=true + SMALLCODE_CHAIN_PLANNER.

Feature Doorman11991#16 - Diff-based context: read_file returns unified diff on re-reads
instead of full content. Saves significant context on multi-edit sessions.
SMALLCODE_DIFF_CONTEXT=true to enable. Falls back to full on large diffs.

12 bugs fixed across 6 audit passes. 5/5 smoke all runs.
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.

2 participants