Skip to content

Adding Phabricator ChangeProvider#241

Merged
behinddwalls merged 7 commits into
mainfrom
phab_change_provider
Jun 17, 2026
Merged

Adding Phabricator ChangeProvider#241
behinddwalls merged 7 commits into
mainfrom
phab_change_provider

Conversation

@ubettigole

Copy link
Copy Markdown
Contributor

Why?

In order to get diff information for Phabricator ChangeIDs, we must implement a Phabricator ChangeProvider.

What?

This change creates a Phabricator ChangeProvider, similar to the existing GitHub ChangeProvider. Like the GitHub ChangeProvider, it:

  • Retrieves diff information in batches (currently set at 10 diffs per batch)
  • Converts responses into a []ChangeInfo

Test Plan

I created a temporary unit test (removed before committing) that pointed the Phabricator ChangeProvider at Uber's internal Phabricator instance, and confirmed that we could retrieve diff information by passing a bearer token, similar to the way we initialize the GitHub ChangeProvider in the example server.

All unit tests pass, with 99% coverage in the new phabricator directory.

@ubettigole ubettigole requested review from a team, behinddwalls and sbalabanov as code owners June 12, 2026 18:17
@ubettigole ubettigole force-pushed the phab_change_provider branch 2 times, most recently from 8a81862 to 127cb56 Compare June 12, 2026 21:00
Comment thread submitqueue/extension/changeprovider/phabricator/conduit.go Outdated
Comment thread submitqueue/extension/changeprovider/phabricator/conduit.go Outdated
Comment thread submitqueue/extension/changeprovider/phabricator/convert.go Outdated

@JamyDev JamyDev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

minor nit

@ubettigole ubettigole force-pushed the phab_change_provider branch from a296220 to 964ff95 Compare June 17, 2026 21:27
@ubettigole ubettigole force-pushed the phab_change_provider branch from 964ff95 to fb875aa Compare June 17, 2026 21:29
@behinddwalls behinddwalls added this pull request to the merge queue Jun 17, 2026
Merged via the queue into main with commit 871e68d Jun 17, 2026
15 checks passed
@behinddwalls behinddwalls deleted the phab_change_provider branch June 17, 2026 22:09
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.

3 participants