Made with love

logo

by Prismic PM team

Agency Update - Migration Releases

By Alaina for the Agency Squad

Finalizing Migration Releases and Improving Auth for Migration API

In 2 sentences:


Last week, we made huge progress on the UI for Migration Releases and also tested the ability to preview and publish up to 1000 documents. This week we will test this feature extensively and get it ready for release, as well as look into introducing a better auth method for the API.

Updates from last week:

Having a completed UI to test the entire flow ✅

As shown in our demo last Friday, you can now preview and publish documents with one click via the new Migration Releases menu item.

Test performances with high numbers of documents in a release & eventually adapt the UI ✅

Based on performance tests with 500, 1000 and 1500 documents, timeouts occurred on previewing over 1000 documents. The publish action remained stable even with 1500 documents.

Based on this, we decided to maintain a

1000 document limit

for migration releases in the first iteration. We will revisit this limitation after public release.


Investigate an issue with Betfair using the old export ❌

We see that documents from custom locales are not being exported properly via the Export tool. Investigation was started but no root cause was discovered yet, so we will continue looking for that with the help of the SRE team this week.


Goals for this week:

Goal 1: Complete testing and fixing UI bugs for Migration Releases


Goal 2: Implement a 1000 document limit for the Migration Release v1

This gives us a 5x improvement over our current 200 document limitation, but is conservative enough in order to ensure stability for the initial release.


Goal 3: Figure out how to implement a token-based auth for Migration API

Users who have authenticated to Prismic via GitHub SSO can't use our current auth method for the Migration API. We want to offer a more permanent bearer token as an alternative, and will do a spike to identify how best to implement this.