mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +00:00
feat(cloud): default distributed plans to v2 (#3311)
* feat(cloud): default distributed plans to v2 * fix(cloud): address plan v2 review feedback * fix(examples): document explicit v2 samples
This commit is contained in:
@@ -77,8 +77,8 @@ describe("Cloud Workflows plan protocol routing", () => {
|
||||
expect(source.match(/max_retries: 4/g)).toHaveLength(4);
|
||||
});
|
||||
|
||||
it("keeps v1 as the default and rejects unknown protocols before plan", () => {
|
||||
expect(source).toContain('default(map.get(args, "PlanProtocol"), "v1")');
|
||||
it("defaults omitted protocol to v2 and rejects unknown protocols before plan", () => {
|
||||
expect(source).toContain('default(map.get(args, "PlanProtocol"), "v2")');
|
||||
expect(namedStep("selectPlanProtocol")).toMatchObject({
|
||||
next: "unsupportedPlanProtocol",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user