Remove per-DC deployment complete and rack QA failure notifications
CI / build-and-push (push) Successful in 36s
CI / build-and-push (push) Successful in 36s
These fire constantly at scale with thousands of racks, flooding the notification panel with noise. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -322,22 +322,8 @@ export function processInfrastructure(state: GameState): InfraTickResult {
|
|||||||
|
|
||||||
computeRacksOnline += racksJustOnlined;
|
computeRacksOnline += racksJustOnlined;
|
||||||
|
|
||||||
if (racksFailedTesting > 0) {
|
|
||||||
const skuName = dc.rackSkuId ? RACK_SKU_CONFIGS[dc.rackSkuId].name : 'Unknown';
|
|
||||||
notifications.push({
|
|
||||||
title: 'Racks Failed Testing',
|
|
||||||
message: `${dc.name}: ${racksFailedTesting} ${skuName} rack${racksFailedTesting > 1 ? 's' : ''} failed QA — repair batch created.`,
|
|
||||||
type: 'warning',
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (racksJustOnlined > 0 && updatedCohorts.filter(c => c.stage !== 'repair').length === 0) {
|
|
||||||
notifications.push({
|
|
||||||
title: 'Deployment Complete',
|
|
||||||
message: `${dc.name}: all racks deployed and online!`,
|
|
||||||
type: 'success',
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// Production failures (statistical)
|
// Production failures (statistical)
|
||||||
if (computeRacksOnline > 0 && dc.rackSkuId) {
|
if (computeRacksOnline > 0 && dc.rackSkuId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user