Skip to content

Harden CI command execution and runtime cleanup paths#52

Merged
cosmocoder merged 5 commits intomainfrom
fix-issues
Mar 4, 2026
Merged

Harden CI command execution and runtime cleanup paths#52
cosmocoder merged 5 commits intomainfrom
fix-issues

Conversation

@cosmocoder
Copy link
Copy Markdown
Owner

Summary

  • Hardened CI action command execution by removing eval usage and passing CLI args safely in array form.
  • Fixed multiple runtime reliability issues: safe fallback handling in RAG response parsing, guaranteed cleanup for DB connections/spinner intervals, and stronger PR comment action input guarding.
  • Improved git and custom-doc internals by hardening diff command execution, avoiding checkout side effects, and aligning custom document cache usage to canonical APIs.

Harden composite actions by building CLI arguments as arrays and invoking `node` directly, eliminating eval-based command construction.
Use safely escaped git diff invocation and create tracking branches without switching the working tree during branch preparation.
Serialize fallback raw responses safely so malformed analysis payloads no longer throw during reconstruction.
Ensure temporary DB connections and progress timers are always cleaned up, guard missing review output paths in the PR comment action, and use table query APIs for last-analysis lookups.
Remove now-unused alias methods and update custom document processor/tests to rely on the existing custom chunk cache interfaces.
@cosmocoder cosmocoder merged commit 92c5729 into main Mar 4, 2026
14 checks passed
@cosmocoder cosmocoder deleted the fix-issues branch March 4, 2026 20:12
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 4, 2026

🎉 This PR is included in version 1.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant