Skip to content

chore(seidroid): remove xreview while its approach is reconsidered - #54

Merged
bdchatham merged 1 commit into
mainfrom
chore/remove-xreview
Aug 3, 2026
Merged

chore(seidroid): remove xreview while its approach is reconsidered#54
bdchatham merged 1 commit into
mainfrom
chore/remove-xreview

Conversation

@bdchatham

Copy link
Copy Markdown
Contributor

What this does

Removes xreview from .github/seidroid/, along with its reusable workflow. 2,064 lines deleted across 16 files. ai-review is untouched.

Why now, given it works

xreview reached working end to end. It drove the sei-droid agent inside a managed omnigent Kubernetes sandbox with a real git/gh toolchain, so a review could build, test and inspect a tree rather than only read its diff, and it came back with one structured verdict. The reusable workflow, the session driver, idempotency, policy and the verdict post all landed and ran.

Having the whole shape running is exactly what made the design questions legible, and those questions are cheaper to answer on a clean base than by amending a working implementation nobody has committed to yet. Better to iterate on the approach before it becomes something other repos depend on.

The implementation is not lost. It stays in history at this PR's merge-base, and the callers below pin it by SHA, so it remains runnable while we decide.

Nothing breaks

Two repos call the reusable workflow:

Caller Pin
sei-protocol/sei-chain …@65901242 (uci v0.0.15), uci-ref same commit
sei-protocol/platform …@65901242 (uci v0.0.15), uci-ref same commit

Both pin a specific commit for both uses: and uci-ref, so they resolve this workflow from git history and keep working unchanged after this merge. I verified both files rather than assuming.

But they should not be left as they are. Each still advertises a seidroid xreview PR-comment trigger for a feature no longer maintained on main, so a contributor could invoke it and get a result from code we have stopped iterating on. I would rather remove those two callers in follow-ups than leave them pinned to an abandoned path. Happy to open both, or leave them to whoever owns those repos, whichever the team prefers.

Supersedes

#52 (fix/xreview-setup-python) is an in-flight xreview fix and becomes moot. It should be closed rather than merged.

What I would want the discussion to cover

Recording these so the next attempt starts from the questions rather than rediscovering them:

  • Where the driver belongs. A Python driver living in .github/ is awkward: it needs its own pyproject.toml, it is invisible to the repo's normal test and lint gates, and its interpreter has to be supplied rather than assumed. fix(xreview): bring the driver's tooling instead of reading it off the runner image #52 exists because of that last point specifically.
  • Trigger shape. A seidroid xreview comment is discoverable but unbounded. Any PR can start a credentialed sandbox session, and nothing sizes the cost against the change.
  • Where the verdict lands. A PR comment reads well for a human and is awkward to gate on. A check run gates well and is worse to read.
  • The pinning contract. Callers pin uses: and uci-ref to the same commit by hand. That is the thing which keeps this PR from breaking anyone, and it is also a step that is easy to get wrong in a way nothing catches.

Type of change

  • Bug fix
  • Feature
  • UI / frontend change
  • Refactor / chore
  • Docs
  • Test / CI
  • Breaking change

Not marked breaking: both callers pin by SHA and are unaffected on merge.

Test Plan

No behaviour to test; this is a deletion. What I verified instead:

  • Every tracked path matching xreview is gone: the 14-file xreview/ tree plus .github/workflows/seidroid-xreview.yml.
  • No dangling references remain. git grep -i xreview returns one hit, the deliberate note in .github/seidroid/README.md explaining where the feature went.
  • git grep seidroid-xreview returns nothing.
  • .github/seidroid/ retains ai-review/ and README.md; .github/workflows/ retains its other nine workflows.
  • Both external callers read and confirmed pinned by SHA.
  • The README's closing paragraph existed only to contrast the two review paths, so it is rewritten rather than left describing a path that no longer exists.

xreview drove the sei-droid agent inside a managed omnigent Kubernetes
sandbox so a review could build, test and inspect a tree rather than only
read its diff. It reached working end to end: the reusable workflow, the
Python session driver, idempotency, policy, and the structured verdict post.

Removing it now is not a retreat from that result. Having the whole shape
running is what made the design questions legible, and they are easier to
answer on a clean base than by amending a working implementation nobody has
committed to yet. The team wants to iterate on the approach before it
becomes the thing other repos depend on.

Nothing breaks. The caller workflows in sei-chain and platform pin uci
v0.0.15 for both `uses:` and `uci-ref`, so they resolve this workflow from
history and keep working unchanged. They do continue to advertise a
`seidroid xreview` trigger for a feature that is no longer maintained on
main, so they should be removed separately rather than left to rot.

ai-review is untouched. It is the other seidroid review path and shares
nothing with this one beyond the folder.

The implementation stays in history at this commit's parent for whatever the
next approach reuses.

Signed-off-by: bdchatham <bdchatham@gmail.com>
@cursor

cursor Bot commented Aug 3, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Deletes a maintained GitHub Actions integration (~2k lines) from default branch; repos with unpinned or main-pinned callers would break, though SHA-pinned external callers remain runnable from history.

Overview
Removes the sandbox-backed xreview seidroid capability from main: the full .github/seidroid/xreview/ tree (Python omnigent session driver, policy/idempotency/verdict logic, docs, caller template) and the reusable workflow .github/workflows/seidroid-xreview.yml.

ai-review is unchanged — diff-only automatic review and @seidroid assistant stay as the only documented feature. The seidroid index README drops the xreview row and now states that the build-and-test review path was removed pending redesign, with a pointer to this PR for lessons learned.

Callers that still uses: the workflow at a pinned commit SHA can keep resolving it from git history; nothing on main references xreview except that README note.

Reviewed by Cursor Bugbot for commit 1fd3277. Bugbot is set up for automated code reviews on this repo. Configure here.

@bdchatham
bdchatham merged commit f11bc40 into main Aug 3, 2026
1 check passed
@bdchatham
bdchatham deleted the chore/remove-xreview branch August 3, 2026 22:33
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