Skip to content

Make code review agent aware of the current date - #6435

Merged
suhaibmujahid merged 2 commits into
mozilla:masterfrom
ayoubdiourin7:add-current-date-to-code-review-agent
Jul 31, 2026
Merged

Make code review agent aware of the current date#6435
suhaibmujahid merged 2 commits into
mozilla:masterfrom
ayoubdiourin7:add-current-date-to-code-review-agent

Conversation

@ayoubdiourin7

Copy link
Copy Markdown
Collaborator

Resolves #6376

This PR makes the code review agent include the current UTC date in its prompt on every review call.

The change applies to both review flows:
the main code review prompt
the patch-scope review prompt

@ayoubdiourin7
ayoubdiourin7 requested a review from a team as a code owner July 30, 2026 15:09
Comment thread bugbug/tools/code_review/prompts.py Outdated
Comment thread tests/test_code_review.py
@ayoubdiourin7
ayoubdiourin7 force-pushed the add-current-date-to-code-review-agent branch from 3b26219 to d7dfed7 Compare July 31, 2026 09:25

@suhaibmujahid suhaibmujahid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@suhaibmujahid
suhaibmujahid merged commit 05abe40 into mozilla:master Jul 31, 2026
7 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.

The code review agent is not aware of the current date

3 participants