Skip to content

Bundle peer review check as standalone Bun executable - #105

Closed
roryabraham wants to merge 4 commits into
mainfrom
rory/670058-bun-peer-review-binary
Closed

roryabraham wants to merge 4 commits into
mainfrom
rory/670058-bun-peer-review-binary

Conversation

@roryabraham

@roryabraham roryabraham commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Details

Migrates the peer-review verifier and this repository's TypeScript tooling from Node/tsx/npm to Bun. The verifyPeerReview script is compiled to a standalone Linux x64 executable, so that this workflow no longer has to setup node or install node_modules. It's expected that this will save 5-10s per workflow execution. In this run it took ~7s, and I'm assuming that downloading a single binary will be much faster.

The binary is published on merge via GitHub releases, and verified via GitHub's attestation feature.

Related Issues

$ https://github.com/Expensify/Expensify/issues/670058

Manual Tests

n/a - merge to test. Generally though, Bun has very high compatibility with node and built-in TS support.

Linked PRs

N/A

@roryabraham
roryabraham requested a review from a team September 7, 2026 22:18
@roryabraham
roryabraham removed the request for review from a team September 7, 2026 22:39
@roryabraham

Copy link
Copy Markdown
Contributor Author

ok, so while this seems fine, the final binary is ~91MiB, which I'm assuming will take about 5-10s to download. So the premise doesn't really hold: this is more complexity for roughly a wash in execution time

@roryabraham roryabraham closed this Sep 7, 2026
@roryabraham
roryabraham deleted the rory/670058-bun-peer-review-binary branch September 7, 2026 22:56
@roryabraham
roryabraham restored the rory/670058-bun-peer-review-binary branch September 7, 2026 22:58
@roryabraham roryabraham reopened this Sep 7, 2026
@roryabraham roryabraham closed this Sep 7, 2026
@roryabraham
roryabraham deleted the rory/670058-bun-peer-review-binary branch September 7, 2026 23:00
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