Bugfix/sdk misc (#2847)

* misc sdk fixes

* version bump

* formatting

* add missing dependency to root

* alpha.16 and beta.17

* beta.18
This commit is contained in:
Aiden McClelland
2025-03-16 09:04:10 -06:00
committed by GitHub
parent e662b2f393
commit 05162ca350
50 changed files with 756 additions and 442 deletions

View File

@@ -36,7 +36,7 @@ let hostSystemId = 0
export type EffectContext = {
procedureId: string | null
callbacks?: CallbackHolder
constRetry: () => void
constRetry?: () => void
}
const rpcRoundFor =

View File

@@ -306,7 +306,6 @@ export class RpcListener {
const effects = makeEffects({
procedureId: null,
callbacks,
constRetry: () => {},
})
return handleRpc(
id,
@@ -337,7 +336,6 @@ export class RpcListener {
this.callbacks = new CallbackHolder(
makeEffects({
procedureId: null,
constRetry: () => {},
}),
)
const callbacks = this.callbackHolderFor("containerInit")
@@ -345,7 +343,6 @@ export class RpcListener {
makeEffects({
procedureId: null,
callbacks,
constRetry: () => {},
}),
)
this._system = system
@@ -427,7 +424,6 @@ export class RpcListener {
const effects = makeEffects({
procedureId,
callbacks,
constRetry: () => {},
})
return (async () => {

View File

@@ -62,7 +62,7 @@ export class DockerProcedureContainer {
)
} else if (volumeMount.type === "assets") {
await subcontainer.mount(
{ type: "assets", id: mount, subpath: null },
{ type: "assets", subpath: mount },
mounts[mount],
)
} else if (volumeMount.type === "certificate") {

View File

@@ -170,7 +170,7 @@ export const polyfillEffects = (
{
mounts: [
{
path: "/drive",
mountpoint: "/drive",
options: {
type: "volume",
id: input.volumeId,
@@ -212,7 +212,7 @@ export const polyfillEffects = (
{
mounts: [
{
path: "/drive",
mountpoint: "/drive",
options: {
type: "volume",
id: input.volumeId,