Repository navigation
Conversation
|
@OpenHands /codereview-roasted Review exactly commit 5090bf3. If the PR head changes, report that and do not approve another commit. Review only: do not push code, merge, deploy, or change attribution. Check correctness, regression coverage, and whether the PR validation claims match the evidence. Keep code comments short. Post the substantive review and link it in your completion message. End the substantive review with these plain lines (no code fence), choosing one verdict: REVIEWED_HEAD: 5090bf3 Use VERDICT: CHANGES_REQUESTED instead when findings require changes. If unable to review, explain the blocker without an approval verdict. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
I'm on it! ak684 can track my progress here |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
ak684
left a comment
There was a problem hiding this comment.
Review: docs: continue one conversation across Bitbucket Data Center review rounds
Note: the formal GitHub review event here is
COMMENTonly because GitHub disallows a user from approving their own pull request (PR author == token owner). The substantive verdict below isAPPROVED.
Reviewed commit 5090bf3c3f20b154e8f7d92f25d47f7d7715270d. PR head matches the requested review commit. Change: enterprise/automations/data-center-events.mdx (+75), a new section on keeping review rounds in one conversation with destination: continue_conversation.
Correctness
Verified the documented behavior against the automation service source (OpenHands/automation), the Agent SDK RepoSource, and this repo's own release notes.
| Documentation claim | Verified? | Evidence |
|---|---|---|
destination default is dispatch_run; continue_conversation sends later events to the subject's conversation |
✅ | schemas.py#L257 |
subject_key_expr names the subject events share; ignored unless destination is continue_conversation |
✅ | schemas.py#L265 |
turn_text_expr renders later turns; an unrecognized Bitbucket payload falls back to verbatim JSON |
✅ | schemas.py#L282, conversation_turn.py#L154 |
keep_alive is forced for continue_conversation; presets only got the rule in 0.110.0 |
✅ | schemas.py#L572, 0.110.0 notes |
repos accepts provider: "bitbucket_data_center" |
✅ | SDK repo.py#L156 |
| First event starts a run with the full event in the prompt; later events become turns, no re-run/clone | ✅ | ingest.py#L300, prompt preset sdk_main.py#L655 |
| Conversation belongs to one automation + source; deleting/recreating re-keys threads | ✅ | subjects.py#L15 |
Example JMESPath expressions are valid and evaluate (filter excludes the bot's own replies; subject key yields ENG/payments/42) |
✅ | Ran the service's own validate_filter/evaluate_filter on the exact expressions |
| Paused-sandbox limit holds through 0.124.x; fix pending OpenHands/automation#832 (open, unmerged) | ✅ | automation#832; 0.124.0 is the latest chart release |
Regression coverage
Documentation-only change; no runtime code is touched. The new section sits in the existing page flow, the JSON request body parses, and the expressions were run through the service's real evaluator.
Non-blocking note
In the subject_key_expr table row, "Events with the same result share a conversation" likely should read "same subject": the field is subject_key_expr and the page uses "subject" terminology everywhere else.
PR validation claims vs evidence
The PR body reports three review comments on one PR stayed in one conversation and sandbox (no second clone), a comment on another PR got its own conversation, and the automation's replies did not re-trigger. All three match the verified behavior: the subject-keyed conversation id, the per-PR subject key, and the filter excluding the bot's account and [openhands] marker.
REVIEWED_HEAD: 5090bf3
REVIEW_REQUEST: 2ea761c88bca45c69bcd787c094004fe
VERDICT: APPROVED
|
Review complete. Here is the summary. What I didReviewed PR #1215 ( Substantive review posted: #1215 (review) Verification performedI verified the new
VerdictAPPROVED — the documentation is accurate and matches the source behavior and the PR author's empirical validation claims. One non-blocking note was included in the review: in the One caveat about the formal review event: GitHub rejects |
Summary of changes
Adds a section to the Jira and Bitbucket Data Center event automations page: how to keep a pull request's review rounds in one conversation with
destination: continue_conversation.The page did not cover this, and the setup form does not offer the setting, so there was nothing to follow for Bitbucket Data Center. The section gives a complete create request (subject key per pull request, a
turn_text_exprfor the Bitbucket payload, a filter that excludes the automation's own replies,keep_alive), explains each field, and lists the limits: paused and deleted sandboxes, the per-user sandbox limit, and that the conversation belongs to one automation and source.The request in the example was run against Bitbucket Data Center 9.4 on a self-hosted 0.103.0 install: three review comments on one pull request were handled in one conversation and sandbox without a second clone, a comment on another pull request got its own conversation, and the automation's replies did not trigger it. The paused-sandbox limit was also seen there; OpenHands/automation#832 addresses it, and the limit text should be updated once a release includes that fix. The page was not rendered locally.