Skip to content

Support committing debugger-frontend sync under Git checkouts (#57997) - #57997

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D116031207
Closed

Support committing debugger-frontend sync under Git checkouts (#57997)#57997
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D116031207

Conversation

@huntie

@huntie huntie commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary:

scripts/debugger-frontend/sync-and-build with --create-diff only worked under fbsource, making commit creation (in particular the generated changes table) inconvenient outside of Meta.

This diff lifts commit creation functionality to both Git and Mercurial (sl), and makes writing a local commit the default behaviour.

Changes

  • Synced debugger-frontend artifacts are now always committed, regardless of version control backend. Internal Mercurial behaviour is forked to a fbsource-backend.fb.js script.
  • --create-diff is narrowed to draft Phabricator diff submission (fbsource only).
  • The script now aborts if there are any working copy changes.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D116031207

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 18, 2026
@meta-codesync

meta-codesync Bot commented Aug 18, 2026

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116031207.

@huntie huntie changed the title Enable committing under Git checkouts Support debugger-frontend sync commits under Git Aug 18, 2026
@huntie huntie changed the title Support debugger-frontend sync commits under Git Support committing debugger-frontend sync under Git checkouts Aug 18, 2026
…57997)

Summary:

`scripts/debugger-frontend/sync-and-build` with `--create-diff` only worked under fbsource, making commit creation (in particular the generated changes table) inconvenient outside of Meta.

This diff lifts commit creation functionality to both Git and Mercurial (`sl`), and makes writing a local commit the default behaviour.

**Changes**

- Synced `debugger-frontend` artifacts are now always committed, regardless of version control backend. Internal Mercurial behaviour is forked to a `fbsource-backend.fb.js` script.
- `--create-diff` is narrowed to draft Phabricator diff submission (fbsource only).
- The script now aborts if there are any working copy changes.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D116031207
@meta-codesync meta-codesync Bot changed the title Support committing debugger-frontend sync under Git checkouts Support committing debugger-frontend sync under Git checkouts (#57997) Aug 18, 2026
@huntie
huntie force-pushed the export-D116031207 branch from 2f7f8bd to e7706e1 Compare August 18, 2026 13:59
@meta-codesync meta-codesync Bot closed this in 526016d Aug 18, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Aug 18, 2026
@meta-codesync

meta-codesync Bot commented Aug 18, 2026

Copy link
Copy Markdown

This pull request has been merged in 526016d.

@huntie
huntie deleted the export-D116031207 branch August 18, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant