You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "seekskyworld (via GitHub)" <gi...@apache.org> on 2026/09/06 19:11:45 UTC

[PR] refactor(storage): centralize sanitized Git subprocess execution [maka]

seekskyworld opened a new pull request, #4934:
URL: https://github.com/apache/maka/pull/4934

   Fixes #4929
   
   ## Summary
   - add a storage-local Git execution helper for text and byte output
   - centralize repository environment sanitization and retain explicit temporary index support
   - migrate worktree, workspace identity, and project catalog Git calls
   
   ## Motivation
   Repeated subprocess setup could diverge across security-sensitive Git calls. A single helper keeps repository selection isolated from ambient Git variables while preserving existing timeouts, buffer limits, and error behavior.
   
   ## Validation
   - npm --workspace @maka/core run build
   - npm --workspace @maka/storage run build
   - npx biome check (changed files)
   - git diff --check
   - node --test packages/storage/dist/__tests__/git-exec.test.js packages/storage/dist/__tests__/git-worktree-child-executor.test.js packages/storage/dist/__tests__/workspace-identity.test.js packages/storage/dist/__tests__/project-catalog.test.js (45 passed)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] refactor(storage): centralize sanitized Git subprocess execution [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks merged PR #4934:
URL: https://github.com/apache/maka/pull/4934


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org