优化
This commit is contained in:
@@ -521,10 +521,8 @@ export class AcceptanceRun {
|
||||
|
||||
async preparePhase3ContainerFixture() {
|
||||
const originalMarker = this.marker
|
||||
// Keep the shared orchestration marker stable. Downstream loading,
|
||||
// overview and finance modules select fixtures by context.marker; using a
|
||||
// private -CAB suffix here made the producer invisible to those modules.
|
||||
const fixtureMarker = originalMarker
|
||||
// Isolate order idempotency, then publish the fixture under the run marker.
|
||||
const fixtureMarker = `${originalMarker}-CAB`
|
||||
const createdKeys = ['orders', 'ocrInbound', 'testInbound', 'inboundMeasurement']
|
||||
const contextKeys = ['inboundWeightOcr', 'ocrInbound', 'testInbound', 'createdInbound']
|
||||
const createdSnapshot = new Map(createdKeys.map((key) => [key, {
|
||||
@@ -546,7 +544,8 @@ export class AcceptanceRun {
|
||||
this.createdResources.orchestrationFixtures = {
|
||||
...(this.createdResources.orchestrationFixtures || {}),
|
||||
phase3Container: fixture ? {
|
||||
marker: fixtureMarker,
|
||||
marker: originalMarker,
|
||||
sourceMarker: fixtureMarker,
|
||||
tenantId: fixture.tenantId,
|
||||
orderId: fixture.orderId || this.createdResources.orders?.orderId,
|
||||
inboundId: fixture.inboundId,
|
||||
|
||||
Reference in New Issue
Block a user