Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix(fleet): anchor browser binding mutation fixtures structurally (#7757)
r33drichardse7e141aecd35
diff --git a/libs/fleet/scripts/test-generate-sdk-bindings.sh b/libs/fleet/scripts/test-generate-sdk-bindings.shindex 0c8b9bc1a0..aa2b4a8772 100755--- a/libs/fleet/scripts/test-generate-sdk-bindings.sh+++ b/libs/fleet/scripts/test-generate-sdk-bindings.sh@@ -830,11 +830,15 @@ expectRejected("Python class SignedServiceUrl: pass", assertPython, replaceOnce(expectRejected("renamed Python SignedServiceUrl converter", assertPython, replaceOnce(sources.python, "class _UniffiFfiConverterTypeSignedServiceUrl(", "class _UniffiFfiConverterTypeRenamedSignedServiceUrl(", "Python converter rename"));expectRejected("Python CreatePoolRequest lowering", assertPython, withinAfter(sources.python, "class CyclopsClient(CyclopsClientProtocol):", " async def create_signed_service_url", "\n async def ", "_UniffiFfiConverterTypeCreateSignedServiceUrlRequest.lower", "_UniffiFfiConverterTypeCreatePoolRequest.lower", "Python create lowering"));expectRejected("Swift FFI moved to EOF", assertSwift, `${within(sources.swift, "open func createSignedServiceUrl", "\nopen func ", "uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url", "uniffi_cyclops_sdk_fn_method_cyclopsclient_create_wrong", "Swift create FFI")}\n// uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url`);-expectRejected("browser service setter FFI", assertBrowser, within(sources.browser, " service(value: string)", "\n uniffiDestroy", "createsignedserviceurlrequestbuilder_service", "createsignedserviceurlrequestbuilder_label", "browser setter FFI"));+const browserSignedUrlBuilder = braceBlock(sources.browser, "export class CreateSignedServiceUrlRequestBuilder", "browser setter builder");+const browserServiceSetter = braceMember(browserSignedUrlBuilder, " service(value: string)", "): CreateSignedServiceUrlRequestBuilderLike {", "browser setter method");+expectRejected("browser service setter FFI", assertBrowser, replaceOnce(sources.browser, browserServiceSetter, replaceOnce(browserServiceSetter, "createsignedserviceurlrequestbuilder_service", "createsignedserviceurlrequestbuilder_label", "browser setter FFI"), "browser setter method"));expectRejected("Python concrete SdkError", assertPython, withinAfter(sources.python, "class CyclopsClient(CyclopsClientProtocol):", " async def create_signed_service_url", "\n async def ", "_UniffiFfiConverterTypeSdkError", "_UniffiFfiConverterTypeSdkBuildError", "Python create error"));expectRejected("Python swapped SignedServiceUrlsUnavailable ordinal", assertPython, replaceOnce(sources.python, "if variant == 7:\n return SdkError.SignedServiceUrlsUnavailable(", "if variant == 8:\n return SdkError.SignedServiceUrlsUnavailable(", "Python ordinal"));expectRejected("Ruby swapped SignedServiceUrlsUnavailable ordinal", assertRuby, replaceOnce(sources.ruby, "if variant == 7\n return SdkError::SignedServiceUrlsUnavailable.new", "if variant == 8\n return SdkError::SignedServiceUrlsUnavailable.new", "Ruby ordinal"));-expectRejected("browser swapped SignedServiceUrlsUnavailable ordinal", assertBrowser, replaceOnce(sources.browser, "case 7:\n return new SdkError.SignedServiceUrlsUnavailable();", "case 8:\n return new SdkError.SignedServiceUrlsUnavailable();", "browser ordinal"));+const browserErrorConverter = braceBlock(sources.browser, "const FfiConverterTypeSdkError", "browser ordinal converter");+const browserErrorRead = braceMember(browserErrorConverter, "read(from: RustBuffer)", "): TypeName {", "browser ordinal decoder");+expectRejected("browser swapped SignedServiceUrlsUnavailable ordinal", assertBrowser, replaceOnce(sources.browser, browserErrorRead, replaceOnce(browserErrorRead, /case 7:(\s+return new SdkError\.SignedServiceUrlsUnavailable\(\))/, "case 8:$1", "browser ordinal"), "browser ordinal decoder"));NODE