Skip to content

ci: apply engineer bot learnings from #565 and #567 - #572

Merged
vuanhphung merged 1 commit into
mainfrom
ci/engineer-bot-pr-565-567-learnings
Nov 11, 2026
Merged

vuanhphung merged 1 commit into
mainfrom
ci/engineer-bot-pr-565-567-learnings

Conversation

@vuanhphung

Copy link
Copy Markdown
Collaborator

Applies the lessons from the engineer bot runs on #565 and #567 that don't need engine changes.

The reviewer follow-up checked out the commit from before each "Pushed " reply, so it reported pushed fixes as missing 12 times. It now reads the PR branch tip. Engineer follow-ups load .bot/ from main, and the agent can no longer write to .bot/, so a PR branch can't change its own allowlist or prompts. A new workflow merges main into engineer-bot PRs that start to conflict after a push to main: GitHub runs no PR workflows on a conflicting PR, which left #565 without bot responses for three days. Conflicts limited to new ## Unreleased entries are resolved by keeping both sides; others get a comment.

The prompts now pick unit or e2e tests by whether the server can observe the bug, require each new test case to fail before the fix, prefer fixes that remove the cause, answer stale reviews with evidence, and keep pre-existing issues and repeated concerns out of review threads. .claude/knowledge/driver-pitfalls.md records contract and platform facts from both PRs for all bots. tsconfig.json maps @databricks/sql to lib/ so npm run type-check passes.

Testing

test_engineer_bot_sync.py, added to the lint job, covers changelog merging and branch syncing against a local repository with a fake gh. Type-check, prettier and YAML parsing pass. The workflows haven't run on GitHub yet.

This pull request and its description were written by Isaac.

Read the PR branch tip in reviewer follow-ups, load .bot/ from main in
engineer follow-ups, deny agent writes to .bot/, and merge main into bot
PRs whose only conflict is new changelog entries. Tune the bot prompts
for test level, fix choice, stale reviews and review scope, and record
driver pitfalls for all bots.

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No issues identified by the review bot.

@vuanhphung
vuanhphung added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 2739fcc Nov 11, 2026
22 checks passed
@vuanhphung
vuanhphung deleted the ci/engineer-bot-pr-565-567-learnings branch November 11, 2026 00:20

This branch was previously deployed

1 inactive deployment
azure-prod — fe03b01c Deployed Nov 10, 2026 by vuanhphung via e2e-test (24.22.1, 24_22_1) #1834
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