Skip to content

version bump and doc update for domain docs.agentron.rocks#11

Merged
cap-jmk-real merged 3 commits intomainfrom
improve-coverage
Feb 27, 2026
Merged

version bump and doc update for domain docs.agentron.rocks#11
cap-jmk-real merged 3 commits intomainfrom
improve-coverage

Conversation

@cap-jmk-real
Copy link
Copy Markdown
Owner

@cap-jmk-real cap-jmk-real commented Feb 27, 2026

Summary by CodeRabbit

  • Chores
    • Version bumped to 0.1.9 across all packages and applications.
    • Desktop packaging/distribution now uses pnpm for build commands.
    • CI workflow: improved Windows build caching by ensuring the electron-builder cache directory exists and updating the cache path for Windows builds.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 27, 2026

📝 Walkthrough

Walkthrough

Version fields bumped from 0.1.8 → 0.1.9 across several package.json files. apps/desktop/package.json also updated its dist script to use pnpm run ... and pnpm exec electron-builder. CI workflow .github/workflows/release-desktop.yml adds a Windows-specific step to create the electron-builder cache dir and updates the Windows cache path.

Changes

Cohort / File(s) Summary
Manifests — version bump
package.json, apps/docs/package.json, packages/core/package.json, packages/runtime/package.json, packages/ui/package.json
Version field updated from 0.1.80.1.9. No other edits.
Desktop app manifest — script update + version bump
apps/desktop/package.json
Version field updated 0.1.80.1.9. dist script changed to use pnpm run ... and pnpm exec electron-builder instead of previous npm/direct electron-builder invocation.
CI workflow — Windows cache setup
.github/workflows/release-desktop.yml
Adds a Windows-only step to ensure the electron-builder cache directory exists and updates the Windows cache path used by the cache action to point to the electron-builder directory.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰
A hop, a bump, from eight to nine,
I swapped a script and pruned a line,
CI clears a Windows trail,
Electron gears set to sail,
Carrot-cheers for each small sign!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions 'version bump and doc update for domain docs.agentron.rocks', but the actual changes are version bumps across multiple package.json files and a Windows cache fix in CI/CD workflow. The 'domain docs.agentron.rocks' reference is not evident in the changeset. Revise the title to accurately reflect the main changes: consider 'Bump version to 0.1.9 and fix Windows electron-builder caching' or similar, removing the unsubstantiated domain reference.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch improve-coverage

Comment @coderabbitai help to get the list of available commands and usage tips.

@cap-jmk-real
Copy link
Copy Markdown
Owner Author

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

📥 Commits
Reviewing files that changed from the base of the PR and between c46056e and 3369af5.

📒 Files selected for processing (6)

  • apps/desktop/package.json
  • apps/docs/package.json
  • package.json
  • packages/core/package.json
  • packages/runtime/package.json
  • packages/ui/package.json
 ___________________________________________________
< What happens in code review stays in code review. >
 ---------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)

  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch improve-coverage

Comment @coderabbitai help to get the list of available commands and usage tips.

Totally agree, sorry for before posting your opinion on my time complexity. was just proud.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 27, 2026

Tip

For best results, initiate chat on the files or code changes.

@cap-jmk-real, no need to apologize at all! Being proud of your work is a great thing - it shows you care about quality and performance. Feel free to share your thoughts and insights anytime. I'm here to collaborate and help however I can! 🐰

(__/)
(•ㅅ•)
/>💙

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/release-desktop.yml:
- Around line 46-53: The cache path currently hardcodes the Windows user
directory in the "Cache Electron and electron-builder" step (uses:
actions/cache@v4) which can cause cache misses; update the with.path expression
to use '~' for the Windows branch instead of
'C:\\Users\\runner\\AppData\\Local\\electron-builder' so the action expands the
runner's home directory on Windows (keep the macOS and Linux branches as-is) —
modify the path value used by the actions/cache@v4 step accordingly.

ℹ️ Review info

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2c377a0 and c847d16.

📒 Files selected for processing (1)
  • .github/workflows/release-desktop.yml

Comment on lines +46 to +53
- name: Ensure electron-builder cache dir exists (Windows)
if: runner.os == 'Windows'
run: New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\electron-builder\cache"

- name: Cache Electron and electron-builder
uses: actions/cache@v4
with:
path: ${{ runner.os == 'Windows' && 'C:\\Users\\runner\\AppData\\Local\\electron-builder\\Cache' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
path: ${{ runner.os == 'Windows' && 'C:\\Users\\runner\\AppData\\Local\\electron-builder' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

cat -n .github/workflows/release-desktop.yml | sed -n '40,60p'

Repository: cap-jmk-real/agentron

Length of output: 1159


🌐 Web query:

GitHub Actions cache path Windows tilde expansion home directory

💡 Result:

On Windows runners, actions/cache does not expand Windows-style environment variables in path (for example %LocalAppData%), so those paths won’t work as-written. Instead, use ~ because the cache action’s path globbing supports it and expands ~ to the runner’s home directory (HOME). (github.com)

Example:

- uses: actions/cache@v4
  with:
    path: |
      ~\AppData\Local\mytool\cache
      # or POSIX-style:
      # ~/.cache/mytool
    key: ${{ runner.os }}-mytool-${{ hashFiles('**/lockfiles') }}

Notes:

  • Prefer ~\AppData\Local\... over %LocalAppData%\... for caching on Windows. (github.com)
  • If you need the exact home directory, GitHub documents HOME as the “home” directory variable on runners (including Windows). (docs.github.com)

Citations:


🏁 Script executed:

# Let's also check the full context of the cache step and any related steps
rg -n "Cache Electron|electron-builder" .github/workflows/release-desktop.yml -A 5 -B 2

Repository: cap-jmk-real/agentron

Length of output: 952


🏁 Script executed:

# Check if there are other cache steps with similar Windows path issues
rg "actions/cache" .github/workflows/release-desktop.yml -A 5 | grep -E "(path:|Windows)" -B 2

Repository: cap-jmk-real/agentron

Length of output: 396


🏁 Script executed:

# Verify if the directory creation step is actually necessary
# The cache action should create directories if they don't exist
rg -i "electron-builder" .github/workflows/release-desktop.yml | head -20

Repository: cap-jmk-real/agentron

Length of output: 636


Use ~ for Windows cache path instead of hardcoded user directory.

Line 53 hardcodes C:\Users\runner\AppData\Local\electron-builder, but GitHub Actions cache@v4 does not expand Windows environment variables. On windows-latest, this hardcoded path is not guaranteed and may cause silent cache misses. Use ~ to expand to the runner's home directory, which the cache action properly supports on Windows.

Proposed fix
-          path: ${{ runner.os == 'Windows' && 'C:\\Users\\runner\\AppData\\Local\\electron-builder' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
+          path: ${{ runner.os == 'Windows' && '~/AppData/Local/electron-builder' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Ensure electron-builder cache dir exists (Windows)
if: runner.os == 'Windows'
run: New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\electron-builder\cache"
- name: Cache Electron and electron-builder
uses: actions/cache@v4
with:
path: ${{ runner.os == 'Windows' && 'C:\\Users\\runner\\AppData\\Local\\electron-builder\\Cache' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
path: ${{ runner.os == 'Windows' && 'C:\\Users\\runner\\AppData\\Local\\electron-builder' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
- name: Ensure electron-builder cache dir exists (Windows)
if: runner.os == 'Windows'
run: New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\electron-builder\cache"
- name: Cache Electron and electron-builder
uses: actions/cache@v4
with:
path: ${{ runner.os == 'Windows' && '~/AppData/Local/electron-builder' || (runner.os == 'macOS' && '~/Library/Caches/electron-builder') || '~/.cache/electron-builder' }}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/release-desktop.yml around lines 46 - 53, The cache path
currently hardcodes the Windows user directory in the "Cache Electron and
electron-builder" step (uses: actions/cache@v4) which can cause cache misses;
update the with.path expression to use '~' for the Windows branch instead of
'C:\\Users\\runner\\AppData\\Local\\electron-builder' so the action expands the
runner's home directory on Windows (keep the macOS and Linux branches as-is) —
modify the path value used by the actions/cache@v4 step accordingly.

@cap-jmk-real cap-jmk-real merged commit bc97d36 into main Feb 27, 2026
9 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