@absolutejs/voice 0.0.22-beta.225 → 0.0.22-beta.226
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/index.js +3060 -2983
- package/dist/productionReadiness.d.ts +21 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2816,18 +2816,31 @@ The route helper exposes JSON at `/api/voice/observability-export`, an artifact
|
|
|
2816
2816
|
Pass the same report into production readiness when export health should block deploys:
|
|
2817
2817
|
|
|
2818
2818
|
```ts
|
|
2819
|
+
const observabilityExportDeliveryReceipts =
|
|
2820
|
+
createVoiceFileObservabilityExportDeliveryReceiptStore({
|
|
2821
|
+
directory: '.voice-runtime/observability-export-receipts'
|
|
2822
|
+
});
|
|
2823
|
+
|
|
2819
2824
|
app.use(
|
|
2820
2825
|
createVoiceProductionReadinessRoutes({
|
|
2821
2826
|
links: {
|
|
2822
|
-
observabilityExport: '/voice/observability-export'
|
|
2827
|
+
observabilityExport: '/voice/observability-export',
|
|
2828
|
+
observabilityExportDeliveries:
|
|
2829
|
+
'/api/voice/observability-export/deliveries'
|
|
2823
2830
|
},
|
|
2824
2831
|
observabilityExport: exportReport,
|
|
2832
|
+
observabilityExportDeliveryHistory: {
|
|
2833
|
+
failOnMissing: true,
|
|
2834
|
+
failOnStale: true,
|
|
2835
|
+
maxAgeMs: 60 * 60 * 1000,
|
|
2836
|
+
store: observabilityExportDeliveryReceipts
|
|
2837
|
+
},
|
|
2825
2838
|
store: runtimeStorage.traces
|
|
2826
2839
|
})
|
|
2827
2840
|
);
|
|
2828
2841
|
```
|
|
2829
2842
|
|
|
2830
|
-
Readiness adds
|
|
2843
|
+
Readiness adds `Observability export` and `Observability export delivery` checks. Failed export manifests fail the deploy gate, and delivery receipt history can fail or warn when no successful delivery exists or the latest success is older than your configured freshness window.
|
|
2831
2844
|
|
|
2832
2845
|
## Production Voice Ops
|
|
2833
2846
|
|