chore(bots): reviewer-bot foundation — shared SDK engine + install#826
Open
eric-wang-1990 wants to merge 1 commit into
Open
chore(bots): reviewer-bot foundation — shared SDK engine + install#826eric-wang-1990 wants to merge 1 commit into
eric-wang-1990 wants to merge 1 commit into
Conversation
First of a stacked series migrating the PR-review bot from databricks-driver-test to this repo. This PR adds only the task-agnostic foundation (no bot logic, nothing runs on PRs yet): - scripts/shared/ — the common agent engine (Claude Agent SDK loop/transport, security guard, markers, threads, github/git ops). Self-contained; 94 unit tests pass under scripts/shared/tests. - scripts/__init__.py — makes `scripts` importable for `python -m scripts.*`. - scripts/requirements-sdk.txt — the claude-agent-sdk pin. - .github/actions/setup-claude-sdk + setup-jfrog — install the SDK (pip) + CLI (npm) through Databricks' internal JFrog mirror (the protected runner is egress-blocked from pypi.org/npmjs.org). - .github/workflows/sdk-smoke.yml — manual smoke verifying the SDK/CLI install on this repo's runner. Co-authored-by: Isaac Signed-off-by: Eric Wang <e.wang@databricks.com>
This was referenced Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of a stacked series migrating the PR-review bot from
databricks-driver-testto this repo. Reviewer-bot only (engineer-bot deferred). This PR is the task-agnostic foundation — no bot logic, nothing runs on PRs yet.Contents
scripts/shared/— the common agent engine (Claude Agent SDK loop/transport, security guard, markers, threads, github/git ops). Self-contained (no sibling-package imports); 94 unit tests pass underscripts/shared/tests.scripts/__init__.py— makesscriptsimportable forpython -m scripts.*.scripts/requirements-sdk.txt— theclaude-agent-sdkpin..github/actions/setup-claude-sdk+setup-jfrog— install the SDK (pip) + Claude Code CLI (npm) through Databricks' internal JFrog mirror (the protected runner is egress-blocked from pypi.org/npmjs.org)..github/workflows/sdk-smoke.yml— manual (workflow_dispatch) smoke verifying the SDK/CLI install on this repo's runner (the one infra unknown). No secrets needed.Next in the stack
scripts/reviewer_bot/(adapted for this Python repo) + unit-test workflow.reviewer-bot.yml/reviewer-bot-followup.yml(needs the peco-review-bot App + secrets).Verify
python -m pytest scripts/shared/tests(green locally), and theSDK Smokeworkflow once this lands.This pull request and its description were written by Isaac.