Skip to content

fix(core): restore post-push backup via git wrapper#199

Merged
skulidropek merged 2 commits intoProverCoderAI:mainfrom
skulidropek:issue-198
Mar 25, 2026
Merged

fix(core): restore post-push backup via git wrapper#199
skulidropek merged 2 commits intoProverCoderAI:mainfrom
skulidropek:issue-198

Conversation

@skulidropek
Copy link
Contributor

Closes #198.

Summary

  • replace the non-functional client-side post-push hook assumption with a managed git wrapper in the generated container
  • keep pre-push protections in hooks while running the session backup post-action only after a successful real git push
  • skip post-actions for git push --dry-run and guard internal backup pushes from recursion
  • update template expectations and post-action wording to match the runtime behavior

Root Cause

Git does not execute a client-side post-push hook, so the previously generated hook file under core.hooksPath was never called.

Validation

  • pnpm --filter ./packages/lib typecheck
  • pnpm --filter ./packages/lib test
  • pnpm --filter ./packages/app exec vitest run tests/docker-git/entrypoint-auth.test.ts

@skulidropek skulidropek merged commit e92f0c3 into ProverCoderAI:main Mar 25, 2026
12 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.

Разберись почему не работает post hooks на git push

1 participant