Ship production deployment and runtime observability

This commit is contained in:
ms2k 2026-07-18 04:22:14 +09:00
commit 775dd61963

View file

@ -17,7 +17,7 @@ const result: MockResult = {
}
test.beforeEach(async ({ page }) => {
await page.routeWebSocket(/\/api\/v1\/events/, () => {})
await page.routeWebSocket(/\/v1\/events/, () => {})
})
test('completes credential, submission, result, history, and lifecycle workflows', async ({
@ -162,10 +162,10 @@ async function mockApi(page: Page): Promise<{
}
let credential = sourceCredential('active')
let currentJob = job('Existing archive')
await page.route(/\/api\/v1\//, async (route) => {
await page.route(/\/v1\//, async (route) => {
const request = route.request()
const url = new URL(request.url())
const path = url.pathname.replace('/api/v1/', '')
const path = url.pathname.replace('/v1/', '')
state.paths.push(path)
if (
path === 'jobs' &&