-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: simplify deeplink updates, use cloudflare worker #58
Conversation
await worker.stop(); | ||
}); | ||
|
||
it("should return the apple-app-site-association JSON on the correct route", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice @brainbicycle - I couldn't quite figure out how to test that other worker in MP 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah i thought this was gonna be a pain but was pleasantly surprised! https://developers.cloudflare.com/workers/wrangler/api/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I tried to get some basic test going in Metaphysics but was unsuccessful... possibly due to the worker's usage of the cache
API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is such a solid / modern improvement over this whole complicated process. Dang! Very nice work 💯
Resolves: https://artsyproduct.atlassian.net/browse/PHIRE-1143
Implements RFC here: https://www.notion.so/artsy/Simplify-universal-link-config-updates-fffcab0764a0804bbf32d730ee4ed134
Updates this repo to stop distributing a library to be consumed by clients.
Instead we will use the same cloudflare worker to distribute app-site-association and assetlinks for deeplinks on every url we need. Deployment will be similar to other repos, deploy to staging* (test worker) on merge to main, deploy to production using deploy prs.
Implementation details:
Follow-ups