Skip to content

feat: add model and thread_id to Git commit messages and PR descriptions#51

Merged
pokryfka merged 1 commit intomainfrom
git_metadata
Mar 1, 2026
Merged

feat: add model and thread_id to Git commit messages and PR descriptions#51
pokryfka merged 1 commit intomainfrom
git_metadata

Conversation

@pokryfka
Copy link
Owner

@pokryfka pokryfka commented Mar 1, 2026

Summary by CodeRabbit

  • New Features
    • Commit messages and pull request descriptions now include model name and thread identifiers, providing comprehensive audit trails and improved traceability for all generated changes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 1, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 800c792 and 211d91f.

📒 Files selected for processing (1)
  • src/agent/nodes.py

📝 Walkthrough

Walkthrough

Introduces a _get_metadata() helper function to extract model name and thread ID from state and runnable configuration. Extends commit messages and PR bodies across multiple workflow functions to include this derived metadata for tracking purposes.

Changes

Cohort / File(s) Summary
Metadata extraction and augmentation
src/agent/nodes.py
New _get_metadata(state, config) helper function extracts model name and thread ID. Metadata is appended to commit messages and PR bodies in implement_post, fix_post, create_pr, create_pr_post, and related code paths to track model and execution context.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A metadata tale I'm keen to share,
Model names and threads laid bare,
Posts and PRs now track their way,
Who made the change and what they'll say!

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch git_metadata

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

@pokryfka pokryfka merged commit 4f5cd42 into main Mar 1, 2026
1 of 2 checks passed
@pokryfka pokryfka deleted the git_metadata branch March 1, 2026 11:36
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