Skip to content

Main - #71

Merged
marlon-costa-dc merged 7 commits into
0.12.0-devfrom
main
Aug 3, 2026
Merged

Main#71
marlon-costa-dc merged 7 commits into
0.12.0-devfrom
main

Conversation

@marlon-costa-dc

@marlon-costa-dc marlon-costa-dc commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary by cubic

Install managed Git hooks with a FLEXT-compliant guard for agent commit trailers and split local workflows for faster commits. Also add CI concurrency, update jdx/mise-action, and align blocking steps with WHAT=apply.

  • New Features

    • Add .github/scripts/install-git-hooks.sh to install pre-commit/pre-push and gate prepare-commit-msg behind BD_ALLOW_AGENT_COMMIT_TRAILERS=1.
    • Split hooks: pre-commit runs make fmt + make fix; pre-push runs make gen, make check, make test.
  • Dependencies

    • CI: add workflow concurrency (cancel in-progress), pin jdx/mise-action to v4.2.3, and run gen/fmt/fix with WHAT=apply.

Written for commit fee73e9. Summary will update on new commits.

Review in cubic

Marlon Costa and others added 7 commits August 3, 2026 15:19
Align blocking CI and ci-matrix with flext-infra SSOT on main: draft PRs
skip, integration pushes run ci.yml only, main runs full matrix; Dockerfiles
under tests/fixtures/ci/docker.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore(ci): promote CI policy and fixtures to main
fix(ci): promote hooks policy to main
@marlon-costa-dc
marlon-costa-dc merged commit d5fb89b into 0.12.0-dev Aug 3, 2026
1 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Aug 3, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 98159a9c-be4d-44b8-b040-06e0a8adb035

📥 Commits

Reviewing files that changed from the base of the PR and between 7cbe595 and fee73e9.

📒 Files selected for processing (3)
  • .github/scripts/install-git-hooks.sh
  • .github/workflows/ci.yml
  • .pre-commit-config.yaml

📝 Walkthrough

Walkthrough

The change adds an idempotent Git hook installer, separates pre-commit and pre-push workflows, and updates CI concurrency, tooling, and command arguments.

Changes

Hook and CI workflows

Layer / File(s) Summary
Git hook provisioning
.github/scripts/install-git-hooks.sh
The script checks pre-commit and bd, installs chained hooks, injects the trailer guard, and validates installed hooks.
Local hook workflow separation
.pre-commit-config.yaml
Pre-commit runs formatting and fixes. Pre-push runs generation, checks, and tests.
CI execution alignment
.github/workflows/ci.yml
CI cancels superseded runs, updates jdx/mise-action, and passes WHAT=apply to blocking commands.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Workspace
  participant install_git_hooks_sh
  participant pre_commit
  participant bd
  participant GitHooks
  Workspace->>install_git_hooks_sh: Run hook provisioning
  install_git_hooks_sh->>pre_commit: Check availability and install hooks
  install_git_hooks_sh->>bd: Run bd hooks install --chain
  install_git_hooks_sh->>GitHooks: Inject and validate prepare-commit-msg guard
  install_git_hooks_sh->>GitHooks: Validate pre-commit and pre-push hooks
Loading
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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