chore(swift): point Package.swift at the swift-host-v0.14.0-4 xcframework + over-budget test (#1615) - #1621
Merged
Conversation
…ge_timeout (#1615) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This points
packages/swift/TraverseEmbedder/Package.swiftat the rebuiltswift-host-v0.14.0-4xcframework, which includes #1619 (Spec 074 FR-003, #1615). It also adds the Swift package test that #1615's DoD requires.wasmitrap code:RESOURCE_LIMIT(-4) /bridge_timeout;-4/bridge_resource_limit;-5/bridge_trap.overBudgetInvocationReportsAStableTimeout(swift-testing) runs the bundledclient_bridge.wasmwithfuelPerInvocation: 64. That is enough to create the host (the ABI probe costs fuel; 32 and below fail at create), butinitializethen throwsTraverseBridgeError(status: -4, code: "bridge_timeout")instead of the old-5/bridge_trap.Governing Spec
136-native-embedder-publication074-swift-native-resource-control-certificationProject Item
Closes #1615 (the last DoD item: a Swift package test covering an over-budget invocation).
Validation
959fd005…dcca4d2equals the asset digest GitHub reports forswift-host-v0.14.0-4/TraverseSwiftHost.xcframework.zip.swift testpasses: XCTest 8/8 and swift-testing 48/48, including the new test and the app state-machine golden ([Task]: Cross-platform ordered state/event conformance for app commands and host authorities #1502).🤖 Generated with Claude Code