Rebuild beta and campaign file activations

This commit is contained in:
2026-10-12 22:52:58 -04:00
parent fa0baa8db5
commit 537b9841a7
22 changed files with 533 additions and 94 deletions
+7 -1
View File
@@ -290,7 +290,13 @@ describe('staged beta files', () => {
if (blocked)
await expect(request).rejects.toMatchObject({
kind: 'conflict',
details: [expect.objectContaining({ deploymentId: promotion.deploymentId })]
...(operationState === 'waiting'
? { message: expect.stringContaining('rebuild') }
: {
details: [
expect.objectContaining({ deploymentId: promotion.deploymentId })
]
})
});
else await expect(request).resolves.toMatchObject({ servers: [servers[1]] });
}