Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Browser Rendering JS wrapped binding #3334

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

G4brym
Copy link
Member

@G4brym G4brym commented Jan 14, 2025

Browser rendering team is migrating from a simple Fetcher binding into a JS wrapped binding.
This pull requests adds a very simple wrapped binding that only exposes the already existing .fetch() method for existing worker.
Follow up pr's will include adding custom methods to this new binding once it starts being used.

@G4brym G4brym force-pushed the add-brapi-binding branch 7 times, most recently from 907c834 to 8e093a9 Compare January 14, 2025 14:14
@G4brym G4brym marked this pull request as ready for review January 14, 2025 16:46
@G4brym G4brym requested review from a team as code owners January 14, 2025 16:46
@G4brym G4brym requested review from npaun and ObsidianMinor January 14, 2025 16:46
src/cloudflare/brapi.ts Outdated Show resolved Hide resolved
@G4brym G4brym force-pushed the add-brapi-binding branch from 8e093a9 to b2ad485 Compare January 14, 2025 20:07
@G4brym G4brym force-pushed the add-brapi-binding branch from b2ad485 to 1737772 Compare January 14, 2025 20:20
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

Code changes LGTM

@anonrig
Copy link
Member

anonrig commented Jan 14, 2025

@G4brym Would you mind updating the pull-request description?

@G4brym G4brym changed the title Add brapi js wrapped binding Add Browser Rendering js wrapped binding Jan 14, 2025
@G4brym G4brym changed the title Add Browser Rendering js wrapped binding Add Browser Rendering JS wrapped binding Jan 14, 2025
@G4brym
Copy link
Member Author

G4brym commented Jan 14, 2025

@G4brym Would you mind updating the pull-request description?

Just updated the title and description, let me know if there's anything else for me to do 👍

@anonrig anonrig enabled auto-merge (squash) January 14, 2025 21:21
auto-merge was automatically disabled January 14, 2025 22:21

Head branch was pushed to by a user without write access

@G4brym G4brym force-pushed the add-brapi-binding branch from 1737772 to 07d73be Compare January 14, 2025 22:21
@G4brym
Copy link
Member Author

G4brym commented Jan 15, 2025

Sorry the builds were failing with the previous compability date, pushing a fix disabled auto merge
Can you merge the pr?

@jasnell jasnell merged commit a33c6d2 into cloudflare:main Jan 15, 2025
12 checks passed
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