Skip to content

Commit d927513

Browse files
icecrasher321claude
andcommitted
chore(test): use neutral identifiers in the change-detection fixture
The fixture carried the reporting workflow's name and block UUID. This repo is public, so neither belongs in it. The stored subblock spelling is what the test actually pins, and that is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1cca93f commit d927513

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

apps/sim/lib/workflows/canonical/reported-bug.test.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
/**
22
* @vitest-environment node
33
*
4-
* The originally reported workflow, kept verbatim as a fixture.
4+
* The block shape from the originally reported workflow. Identifiers are
5+
* replaced; the stored subblock spelling is reproduced exactly, because that is
6+
* the part that carries the bug.
57
*
68
* `provider-config-round-trip.test.ts` asserts the same property across the whole
7-
* registry and is the stronger guard, but it synthesizes its blocks. This one is
8-
* a real block a real user hit, including the exact spelling mix that produced
9-
* the bug: `verifyTestEvents` stored as `null`, and `acceptOtherMethods` /
10-
* `exposeRequestHeaders` absent entirely because the workflow predates #6893.
9+
* registry and is the stronger guard, but it synthesizes its blocks. This one
10+
* pins the combination a real deployment actually held: `verifyTestEvents`
11+
* stored as `null`, `acceptOtherMethods` / `exposeRequestHeaders` absent
12+
* entirely because the workflow predates #6893, `responseMode` explicitly set
13+
* away from its default, and `inputFormat` as an empty array rather than null.
1114
*/
1215
import { describe, expect, it, vi } from 'vitest'
1316

@@ -21,9 +24,9 @@ import { generateWorkflowDiffSummary } from '@/lib/workflows/comparison/compare'
2124
import type { WorkflowState } from '@/stores/workflows/workflow/types'
2225

2326
const deployedWebhookBlock = {
24-
id: 'ddbc6e68-fbfc-5ac0-970e-40fcd7fa6493',
27+
id: 'webhook-block',
2528
type: 'generic_webhook',
26-
name: 'AskRVTReturn',
29+
name: 'Webhook',
2730
position: { x: 150, y: 143.65 },
2831
subBlocks: {
2932
token: { id: 'token', type: 'short-input', value: null },

0 commit comments

Comments
 (0)