Skip to content

v0.13.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:37
· 83 commits to main since this release
bae063b

ProxCloud v0.13.0-rc.1 is the first release candidate of v0.13.0, published as a prerelease. v0.13.0 offers serverless functions on the managed-services platform: a tenant runs a container image behind a stable internal HTTPS address, started on demand, stopped when idle and billed per minute while it runs. Functions are offered with a shared sandbox node group only, and they stay off until the operator switches them on. Nothing of functions has run on a lab through the product: a spike tried pieces of it by hand on the v0.12.0 portal, and this candidate exists so that the lab can run the drill. It is not for production. v0.12.0 stays the current stable release and latest.

The BOM (bill of materials) is the list of exact versions a managed-services platform runs. The BOM of this candidate is 0.13.0-rc.1. Against 0.12.0 it moves one pin: the sandbox chart proxcloud-sandbox 0.1.0 → 0.2.1, which holds the function objects (off by default) and a sandbox-proxy that drains when it stops.

Highlights

  • Read "Read these first" under Upgrade before you upgrade. From v0.12.0, and from each earlier release.
  • Serverless functions from container images. A tenant names an image by tag or digest. Each function gets https://<name>-<6 hex>.<sandbox domain> and runs as gVisor pods on the sandbox machines. Deploy, roll back, suspend and resume, secrets and a registry login stored sealed, logs. Through the API, nine MCP tools and the customer console's Functions page.
  • Scale to zero and wake. An idle function goes to zero instances after its idle time (300 s by default). The next request wakes it: sandbox-proxy holds the request while one instance starts.
  • Shared placement only, internal endpoints only. Functions run on the node group sandbox of the platform cluster. With separate the tick is refused. An endpoint is reached on the sandbox proxy address and has no caller authentication: see Known issues before you route the internet to that address.
  • Off until the operator switches them on, in three steps. The platform upgrade to this BOM; the Functions tick in the install settings and its apply; the sandbox provider's functions block, through its gate. See "Switching functions on".
  • The price. 0.00142 per vCPU-minute and 0.00018 per GB-minute, modelled on AWS Lambda list prices of 2026-11-28, the same pair as a sandbox minute. Whole minutes, at least one; no price per request; no free tier. One instance of 250m and 256 MiB costs 0.0004 a minute.
  • sandbox-proxy drains when it stops. At a rollout, a replica lets the requests it holds finish for up to 120 s. A stream open longer than that is cut. The upgrade itself still cuts every open stream once.
  • Compose sites in TLS mode internal get a stable certificate from a CA of their own, portal-ca.crt. The sandbox proxy can trust the portal by it.
  • Fixes. An installer site's holders of Secrets no longer run on a sandbox worker (#533). A scheduler whose first charge closes a month no longer leaves dead jobs (#530).
  • Dependencies. @airwallex/components-sdk stays on 1.36.0 on purpose (#532); tailwind-merge 3.7.1 in both consoles (#534).
  • The platform upgrade replaces no machine. From the BOM 0.12.0 the plan has one row, or two where a run built sandboxes. Functions stay off.

Upgrade

Use a lab or another non-production site. Production sites should stay on v0.12.0 and wait for v0.13.0. No duration below was measured on this candidate.

Read these first, from v0.12.0

  1. The platform upgrade has one or two rows, and replaces no machine. Without sandboxes, and with sandboxes asked for but not built: the row release, record only; nothing is synced. With sandboxes built: also sandbox, the sandbox chart 0.1.0 → 0.2.1, class chart, stage workload-platform. No machines row, no parts, no seed backup, no functions row. Phrase: upgrade <installation name> to 0.13.0-rc.1. Read from the code (PlanFor in a throwaway test), not run.
  2. With sandboxes built, sandbox-proxy is replaced once and every open stream through it is cut once. The new chart changes the proxy's Deployment and nothing else: its image, a 5 s preStop, a grace period of 135 s and DRAIN_TIMEOUT=120s. node-setup is the same bytes, so containerd restarts on no sandbox machine and running sandboxes stay. The two replicas are replaced one at a time, but the replicas being stopped are those of 0.1.0, which do not drain: a stream open through one (a terminal, a long command) is cut about 20 s after the stop, a WebSocket as early as the stop, and a new connection can be refused for under a second. Make the upgrade when that is acceptable. From then on a replaced replica drains for up to 120 s.
    • shared: the Application pc-platform-sandbox moves to the new version (wave 4).
    • separate: the run writes the new version into the Application of pc-sandbox (addonCharts.sandbox.version), and the add-on is upgraded in place inside that cluster.
  3. Functions stay off after the upgrade. The run builds nothing of them: no wake token, no Secret, no functions values in the chart, no record, and it asks the portal nothing about functions. Switching them on is an apply of its own ("Switching functions on").
  4. Compose sites in TLS mode internal: the certificate changes once, then stays; the host needs openssl 1.1.1 or later (#559). The first install or upgrade with this script makes the site's CA (deploy/compose/portal-ca.crt and portal-ca.key, mode 600, never printed, never mounted) and Traefik serves a certificate issued from it. Browsers that accepted the old certificate ask again: trust portal-ca.crt once instead. Back the two files up with .env (backup copies them). The script checks openssl before it writes anything. The ACME modes change in nothing.
  5. The portal upgrade does not restart the database. The PostgreSQL line of compose.yaml did not change since v0.12.0. In TLS mode internal, Traefik is recreated once for its new certificate.
  6. The rule before a portal rollback changes. Before rolling the portal back to 0.12.x, switch the sandbox provider's functions block off and wait until no function runs (the reaper stops them within 15 s; a function shows instances: 0), and delete the functions of any project that is to be deleted meanwhile. The upgrade creates the empty collection function_proxies and runs two jobs that find nothing to do (functionReaper, functionDeploySync); a 0.12.x portal ignores them.
  7. An existing site gets no price rule for functions. The seed writes the rule function: CPU + RAM per minute only at an installer's first run. Add one rule of resource type function (both prices in one rule) before functions go live: without one, functions run and bill nothing, and a rule added later bills a running function back to the start of the billing cycle or to its start, whichever is later.
  8. A site with the installer's sandbox cluster and no sandbox domain gets a system group at the next stage 55 (#533). make upgrade adds the node group sandbox-system: two VMs by default (sandbox.system_nodes: 2 vCPU, 2 GiB and 30 GB each), with addresses from sandbox.network.nodes. It stops before it applies anything when that range is too small, and names both settings. Cilium's operator is down from the chart's move until the first system machine has registered. MetalLB's controller and the agent-sandbox controller move once the provider sync has fenced the new machine (20 minutes after its join by default). No sandbox worker rolls. With a sandbox domain only the agent-sandbox controller moves. Read in the rendered charts, not run on a cluster.
  9. Switching the job scheduler on has no time to avoid any more (#530). A first charge that closes a month with no bill is now a logged no-op.
  10. From an earlier release, its notes still hold. Read the notes of v0.12.0 first.

From another release

  • From v0.12.0-rc.3: as from v0.12.0, the same rows (the two BOMs have the same pins).
  • From v0.12.0-rc.2 or v0.12.0-rc.1: the rows from v0.12.0 and tenantCharts.kubernetes 0.1.19 → 0.1.20, record only. Read "From a candidate" in the notes of v0.12.0. With separate stored, the save and the Check refuse it until the way out there is taken.
  • From v0.11.1 and its five candidates: four rows: release and tenantCharts.kubernetes, record only; pc-platform 0.1.16 → 0.1.19, class chart; sandbox, class added, now at 0.2.1. Read the first list of the notes of v0.12.0.

Steps

  1. Before the upgrade, look at two things.

    • The platform's BOM. The move is planned from the BOMs 0.10.1, 0.10.2, 0.11.0, 0.11.1, 0.12.0 and their candidates. A platform on an older BOM (0.8.0 to 0.10.0 and their candidates, all on Kubernetes 1.35.10) is refused by this build. Move it to 0.10.1 first with the v0.10.1 build, as the notes of v0.10.1 describe.
    • Do not change machine sizes, nodes or node groups together with the upgrade. Apply such a change before it or after it.
  2. Upgrade the portal. On the Docker Compose host, check out the tag and run the upgrade. The script takes its backup first. See "Upgrade" in the Compose guide.

    git fetch --tags && git checkout v0.13.0-rc.1
    ./proxcloud-up.sh upgrade v0.13.0-rc.1
    • Nothing changes on the platform or on Proxmox by this step.
    • TLS mode internal: the new certificate (point 4 of the first list).
  3. Read the plan. Open System → Managed services and read the plan in step 4. It refuses nothing. From the BOM 0.12.0 (and from 0.12.0-rc.3):

    Your platform Change From → to Class Stage Wave
    Every one release 0.12.0 → 0.13.0-rc.1 record only none
    Sandboxes built with shared sandbox (platform cluster) proxcloud-sandbox 0.1.0 → 0.2.1 chart workload-platform 4
    Sandboxes built with separate sandbox (add-on of pc-sandbox) proxcloud-sandbox 0.1.0 → 0.2.1 chart workload-platform
    • No sandboxes, or sandboxes asked for and not built yet: the release row alone. The apply of a platform that asked for sandboxes keeps its own rows sandbox, sandbox-pool and sandbox-access, as before.
  4. Run the platform upgrade. Type upgrade <installation name> to 0.13.0-rc.1. There is one action, with no parts, and no seed backup is asked for.

    • With sandboxes built: sandbox-proxy is replaced once (point 2 of the first list). Tell the clients that hold streams open first.
    • What the run does not do: it replaces no machine, restarts no pod of a tenant, restarts no node-setup, writes nothing on Proxmox and builds nothing of functions.
  5. Decide whether to switch functions on. Skip it and nothing changes. See "Switching functions on" below.

  6. Follow each row of this table that matches your site.

If you run ... Do ...
A platform on the BOM 0.12.0 or 0.12.0-rc.3 One row, or two with sandboxes built (step 3).
A platform on the BOM 0.12.0-rc.2 or 0.12.0-rc.1 Those rows and tenantCharts.kubernetes, record only ("From another release").
A platform on the BOM 0.11.1 or one of its five candidates Four changes, the sandbox chart added at 0.2.1.
A platform on the BOM 0.11.0, 0.11.0-rc.1, 0.11.0-rc.2, 0.10.2 or 0.10.2-rc.1 The same four, the tenant chart from 0.1.17 (or 0.1.16 for the two of 0.10.2).
A platform on the BOM 0.10.1, 0.10.1-rc.1 or 0.10.1-rc.2 Six changes: those four and cert-manager v1.20.2 → v1.21.3 on the seed and on the platform cluster. Back up the cert-manager resources first, as the notes of v0.10.2 describe.
A platform on an older BOM Refused (step 1).
A Compose portal in TLS mode internal Trust portal-ca.crt once, and back it up with its key (point 4 of the first list).
A sandbox cluster of the Ansible installer without a sandbox domain Leave room in sandbox.network.nodes for two more machines before the next stage 55 (point 8 of the first list).
A site installed with the Ansible installer Its ProxCloud pin stays v0.12.0. The installer path was not drilled.
A new install proxcloud-up.sh install still takes v0.12.0 by default. Pass the candidate's version to try it on a lab.
  1. If you roll the portal back. A platform moved to the BOM 0.13.0-rc.1 is not known to an older build: that portal refuses the platform (bom_unsupported) until the roll forward. A rollback before step 4 leaves the platform on a BOM the old portal knows. With functions on, switch them off first (point 6 of the first list). No rollback ran on a lab.

Switching functions on

Read "What functions add to a shared node group" under Known issues first. Each step is the operator's.

  1. Before. The platform is on the BOM 0.13.0-rc.1, with sandboxes built in placement shared. The job scheduler runs, the portal has its encryption key, and billing is not the external provider. The portal serves a certificate the sandbox proxy can verify for the portal's host: a public one, or a compose portal in TLS mode acme-http or acme-dns-cloudflare, or mode internal with its site CA portal-ca.crt.

  2. Tick Functions. Under Sandboxes in Settings, tick Functions (spec.sandbox.functions.enabled). Give the portal URL the proxy calls (https only; empty takes the API's own base URL) and its CA when no public authority signed the portal's certificate.

    • The save refuses the tick with placement separate, on a BOM before this one, and while the portal's certificate does not verify for its host with the system's roots and the CA you gave (Check row functions-portal, also stage 1 of every apply). A portal that does not answer the API is a warning only.
  3. Plan and apply. The plan has one row, sandbox-functions. The apply mints the function wake token once (32 random bytes), keeps it sealed, writes it as Secret sandbox-system/sandbox-proxy-wake and stores it on the sandbox provider. It then sets the chart's functions values: the proxy's replicas are replaced once, and they drain.

  4. Switch the provider's block on. On the sandbox provider's page, group Functions: the switch, the instance floors, the idle bounds, the per-instance caps and the default quota of a project. The save that switches it on is refused (409) while one of the first four rows does not hold:

    Row Holds when
    function-scheduler the job scheduler is on
    function-sealing-key the portal has an encryption key
    function-proxy a sandbox-proxy replica of this provider reported to this portal in the last 90 seconds
    function-billing billing is not the external provider
    function-price (a warning) an enabled price plan has a rule for resource type function
  5. Add the price rule if the site has none (point 7 of the first list under Upgrade).

  6. A project's function quota is on its Quota tab (functions, vCPUs, RAM), saved through PUT /api/v1/admin/project/{id}/function-quota. Without it the provider's default holds.

  7. Off. The provider's block off stops every function of the provider within 15 s, and is always accepted. The tick in the install settings is not taken away while the block is on (409 functions_block_on) or while a function record exists (409 functions_exist). Sandboxes may be switched off with function records: the run ends every running interval, keeps the records and deletes the fn-* namespaces.

  8. A new wake token is made only by an apply started with rotateFunctionWakeToken: true (an API field of POST …/runs; the console has no control for it yet). It replaces the proxy's replicas, which drain.

Details: functions on the sandbox machines and managed functions.

What changed

Since v0.12.0: 25 merged pull requests, with main at 54710ffb, where these notes were closed. The release pull request of this candidate is not counted. A pull request merged after that commit and before the tag is not described here: the list GitHub adds below these notes names it, and the Unreleased section of the changelog describes it. Every change below rests on tests with fakes, renders or PostgreSQL. None ran on a lab.

Serverless functions (#495, #510, #511, #512, #518, #556, #571)

  • From an image. One Deployment per function in the namespace fn-<project> of the sandbox cluster, under gVisor, from an image in a registry the sandbox machines reach (its host a DNS name). Defaults: port 8080, 250m CPU, 256 MiB, at most 1 instance, idle time 300 s, concurrency 50. Each instance gets 1 GiB of its own disk.
  • Internal endpoints. https://<name>-<6 hex>.<domain> on the sandbox proxy address, under the sandboxes' certificate. A host is never given twice, also after its function is deleted.
  • Scale to zero and wake (#518). The job functionReaper (every 15 s) brings an idle function to its floor. A request to a function at zero is held by sandbox-proxy while one instance starts. Scaling on load up to maxInstances follows the requests in flight the proxies report.
  • A start that never serves bills nothing. It is ended as void; one whose image is still being pulled is left until 130 s after its pod was made (#558).
  • Deploy and roll back. A change of the image or the size is a new deployment; ten are kept. A rollback deploys the digest the deployment ran, whatever its tag points at since, and is held to today's per-function limits (#560). A suspended function refuses a new deployment and a rollback until it is resumed (#560).
  • Secrets. A function's secrets and registry password are stored sealed, bound to their project, function and name, never given back by a route, and written to the cluster as two plain Secrets per function. env values are shown only to those who may change the function. A failed start is explained in one of nine fixed sentences; what the cluster said goes to the operator's log.
  • The jobs that keep record and cluster equal (#518). functionDeploySync, every minute at second 20, settles a rollout, rescales, applies a missing Deployment again, and deletes what no record needs.
  • The platform's side (#512, #571). The BOM pins sandbox chart 0.2.1. The tick, the portal certificate check, the wake token made once, the chart's values, and the off path that ends every running interval before a cluster is deleted.
  • The operator console (#511). The Functions box of the install settings, the provider's Functions group, the function gate rows apart from the release gates, and a project's function quota.
  • The chart's objects (#510). The role proxcloud-function-namespace for the portal's identity in fn-* namespaces, the policy proxcloud-function-objects, pods held to gVisor with no token and no volume, and the internet for function pods under the guardrail's denies.
  • The billing engine charges by running intervals (#495). Its one user is the function meter. A recorded comparison of every billable type over 23 passes shows that no existing bill moves.
  • Fixes from the reviews and the spike: at most 64 proxy records per provider (#551); external billing stops functions at once (#552); a provider with no placement is no longer asked for a cluster, which also ends the ERROR per call seen in the drills (#553); race-free function tests in CI (#554); the namespace sweep no longer crosses a create (#555); a deploy or rollback of a suspended function, a rollback above today's limits, and a quota without a bound (#560); an off of shared deletes the function namespaces (#563); only a platform run stores a function wake token (#564).

The price of a function minute (#556)

  • The seed's rule function: CPU + RAM per minute: 0.00142 per vCPU and 0.00018 per GiB of memory, per minute. It is the pair of the sandbox rule, modelled on AWS Lambda's x86 list price in us-east-1 at the memory size that gives one vCPU, from the list prices of 2026-11-28.
  • What is billed. One item per function per bill: the wall minutes with at least one instance, each running interval from the minute it started to its end rounded up to whole minutes, at least one, at the size of all instances that ran. Nothing at zero instances or while suspended. A start nobody saw serving is billed from its start once it serves.
  • What it does not give: the bill of Lambda for a short run. There is no price per request and no free tier. A function item below 0.005 stays its own line: one instance of 250m and 256 MiB is invoiced 0.00 at 12 minutes in a month or less, and 0.01 from 13.
  • See pricing-rate-card.md and billing.md.

sandbox-proxy drains when it stops (#557, #561)

  • The finding. On the spike, 10 rollouts of the proxy cut every stream open through a replaced replica 20 s after that pod's SIGTERM (40 of 40), and refused 14 new connections within a second of a SIGTERM.
  • Now a replica keeps accepting for 5 s after its delete, then closes its listener and waits for the requests it holds, WebSockets included, for up to 120 s (DRAIN_TIMEOUT, grace period 135 s). Chart 0.2.1 pins the proxy build that reads it (dev-6948c22).
  • Still cut: a request open more than 120 s after the SIGTERM, at every rollout of the proxy (a new image, a new wake token, a new portal CA) and at every eviction or drain of its node.
  • An installer site gets the same in deploy/sandbox-cluster/sandbox-proxy.yaml, with its release's proxy image.

Compose sites in TLS mode internal (#559)

  • Before, the mode served Traefik's own default certificate: self-signed, with none of the portal's hostnames, and new at each restart. Nothing could trust it, so the sandbox proxy could never verify the portal.
  • Now proxcloud-up.sh makes a CA for the site once (EC P-256, ten years) and issues Traefik's certificate from it for the four hostnames (825 days). install and upgrade issue it again only when it is missing, names other hostnames, does not verify, or ends within 90 days. Run one of them at least every 90 days. The CA is trusted for any name by whoever trusts it.
  • See "DNS and TLS modes" in the Compose guide.

Installer (#533)

  • Stage 55 always builds the node group sandbox-system when sandboxes are on. Without a sandbox domain, Cilium's operator (it reads every namespace's Secrets) and MetalLB's controller ran on a sandbox worker, where tenant code runs under gVisor; on every installer site the agent-sandbox controller did too. They now run on the system group. This answers a known issue of v0.12.0.

Billing at a month boundary (#530)

  • A scheduler whose first charge closes a month no longer leaves two dead jobs per billing profile. A closing pass for a month nothing charged is a logged no-op; a bill deleted after a pass charged it still fails as before. This answers a known issue of v0.12.0.

Dependencies (#532, #534)

  • @airwallex/components-sdk is held at exactly 1.36.0, and Dependabot ignores 1.37.0 and later. 1.37.x loads the card form's script from a fallback host, openpay.com, whose owner could not be established; the production fallback answers 404 today.
  • tailwind-merge 3.7.1 in both consoles. Two components keep their rendering; every screenshot of both consoles equals main within the difference between two runs of main.

Tests (#562)

  • A sandbox test matches the 401 status, not a bare "401": a closed test server's random port could contain the digits.

Release

  • BOM 0.13.0-rc.1. The pins of 0.12.0 but the sandbox chart proxcloud-sandbox 0.2.1 (sha256:2e37030950d392aa6b0858d839b5da335ec628dc87fb6582082357a8b5c7f358), published by the tag proxcloud-sandbox-v0.2.1. No chart of the product differs from its newest tag. This build carries the BOMs of 0.8.0 to 0.12.0 (twenty-seven) as previous BOMs (#550).
  • A candidate moves nothing a final moves. The app chart stays 0.12.0, and the installer's ProxCloud pin and the Compose default stay v0.12.0.

Verified on a lab

Nothing of this candidate, and no function has run. What follows is a spike, not a test of this code: on 2026-11-29, on one lab of three Proxmox nodes, pieces of the function side were tried by hand on the lab's v0.12.0 portal, which has no function routes.

  • What was hand-made. shared was built through the product. The sandbox Application was then patched by hand to chart 0.2.0 (the first with the function objects) and its proxy build fd0afa97, which does not drain; functions were switched on in the chart's values by hand. A read-only audit recomputed every figure from the saved files afterwards.
  • The chart move from 0.1.0, functions off. sandbox-proxy was replaced one replica at a time, never fewer than two ready. node-setup kept its pod and start time, the DaemonSet, Machine and Node hashes held over 283 reads, every QEMU process kept its pid, and the running sandbox survived. Open streams: 4 of 4 cut.
  • Functions on in the chart. It added exactly the objects the goldens hold and changed the seven they change, two of them read on the cluster and five taken from the render and ArgoCD's sync (31 of the 57 objects could not be read with the lab's access); the chart's node-setup and agent-sandbox documents stayed the same.
  • Rollouts of the proxy. In 10 rollouts every stream open through a replaced replica was cut 20.04 to 20.13 s after its SIGTERM (40 of 40), and 14 new connections were refused within a second of a SIGTERM; 32 control streams arrived whole. This is the finding chart 0.2.1 answers.
  • Held requests. 10 requests held 55 s through the real proxy arrived whole.
  • Image references. Of 40 ready containers, each image id had the repo@sha256: form, and the 7 looked up in their registries answered. Not checked on a function pod, and nothing was pulled.
  • The portal's certificate in TLS mode internal could not be verified with any portal CA: it named none of the portal's hosts and changed at each API restart (3 of 3). This is the finding #559 answers.
  • The off of shared took 6 min 17 s with no retry, wrote on Proxmox only on its own objects, and left the lab as before but for what the off itself changes. The owner's VMs, the other stacks, the shared tokens and the access list stayed byte-equal; no secret value was found in any record.

Said plainly: the function gate never opened on a lab, no run wrote a wake token, and no function was created. The items that needed a write identity on the platform cluster (the policies, cold starts, pulls, quota, disk) did not run. The drill of this candidate is the first live test of the function path.

Not verified

  • Functions through the product. The tick and its apply (the token, the Secret, the chart's values). The gate opening on a real proxy's report. A function created from a public image and from a private one, deployed, woken, scaled to zero, rolled back, suspended, given secrets, its logs. A cold start, and a pull longer than a minute (#558). Quota refusals. The off within 15 s. A portal restart under traffic.
  • The cluster's rules for functions. The role and the policies in fn-* namespaces, the pod rules, the internet policy and the egress cap.
  • Billing a function. A function's minutes on a sent bill, a stale heartbeat, the forecast.
  • The upgrade. The portal upgrade from v0.12.0 and the move of the BOM, with a running sandbox and an open stream. The drain of chart 0.2.1's own replicas.
  • The fixes. The stable site CA (#559) on a lab portal. The system group of the installer (#533) on a cluster. The month-boundary fix (#530) on a site.
  • Not offered, so not run. Placement separate for functions, the upgrade of the sandbox chart inside pc-sandbox, and a rebuilt pc-sandbox that deploys the functions again.
  • What the lab cannot show. Scaling on load past four instances of 250m, a site's own pull times, and a real invoice.
  • The candidate itself. Its images and its tag's workflows do not exist before the tag.
  • Earlier releases. Everything the notes of v0.12.0 list as not verified still holds.

Known issues

Functions in this candidate

  • Placement separate is refused for functions. separate was never built past register on the lab within its memory limit.
  • Function endpoints have no caller authentication and no rate limit of their own. Whoever reaches the sandbox proxy address on 443 and knows a host can call that function, and keeps it running at its project's cost. The six hex digits of a host are not a secret. Do not forward 443 from the internet to the proxy address of a platform that offers functions. A function that needs to know its caller checks a header itself.
  • A stream longer than the drain is cut. A request still open 120 s after a replica's SIGTERM is cut at every rollout of the proxy, and the upgrade from 0.1.0 cuts every open stream once.
  • Scaling on load never ran on a cluster, and concurrency is not enforced per instance.
  • Every tenant's functions are under one parent domain. A function must not set a cookie for that domain: another project's function would be sent it.
  • A sandbox provider the installer built never offers functions: its proxy has no function mode, and the gate's function-proxy row never holds there.
  • The console has no control for rotateFunctionWakeToken; it is an API field.
  • The nine function tools of the MCP server are listed on every site, and answer 403 where functions are off.
  • After an off of the placement, the provider row keeps secret.functionWakeToken. Only a run whose settings drop functions, or deleting the provider, removes it.
  • With functions off and sandboxes still on, an empty fn-* namespace can stay after a project's teardown: the portal's identity may no longer delete it.
  • A save that switches functions off is refused when the sandbox provider row cannot be read.
  • A create holds the project's function lock and a database connection through its calls to the cluster, so creates in one project wait for each other.
  • A start that never served leaves a bill item of 0.00 with 0 minutes.
  • The plan's text says a connection open through a replaced proxy replica is cut once, also for a replacement of chart 0.2.1's own replicas, which drain for 120 s first.

What functions add to a shared node group

The install page prints the first three above the Functions box.

  • Code that escapes gVisor on a sandbox machine reads the secrets and registry passwords of every function with an instance there, other projects' too.
  • The cluster's copy of a function's secrets is a plain Secret: nothing this product configures encrypts it at rest.
  • Anyone who reaches a function's address keeps it running at its tenant's cost; with more instances allowed, at that many.
  • Function pods reach the internet on every port but TCP 25, under the guardrail's denies of the private, CGNAT and link-local ranges and the platform prefix.
  • What a shared node group gives up for sandboxes still holds: code that escapes is root on a machine of the platform cluster, beside every tenant's control plane and database. See the notes of v0.12.0.

Still true from v0.12.0

Two known issues of v0.12.0 are answered by this candidate: the installer site without a sandbox domain (#533) and the billing at a month boundary (#530). R1-a, the ERROR per functions call on a provider with no placement, is answered by #553. No pull request since v0.12.0 addressed the others. Those an operator meets first:

  • separate went no further than register on a lab.
  • R5-a. Attaching a project to a sandbox provider with no placement answers 500 and logs an ERROR; nothing is written.
  • R3-a. A provider sync that falls inside an off of shared logs two ERROR lines; it writes nothing.
  • Lease loss. On a lab with slow disks, the offs of shared made the platform cluster's control plane lose its leases (14 pods restarted in the spike's off). The cause is not isolated.
  • The seed's sandbox rule keeps the name "PLACEHOLDER sandbox: CPU + RAM per minute" while it carries the price.
  • The full list is in the notes of v0.12.0.

Full detail: changelog of 0.13.0-rc.1 and its Unreleased section. Guides: managed functions, managed services, managed sandboxes, pricing, Docker Compose install, release operations.

What's Changed

  • build(deps): hold airwallex sdk at 1.36.0 by @hiento09 in #532
  • fix(installer): always build the sandbox system group by @hiento09 in #533
  • build(deps): bump tailwind-merge to 3.7.1 in both consoles by @hiento09 in #534
  • chore(platform): keep the 0.12.0 bom, set main to 0.13.0-dev by @hiento09 in #550
  • fix(billing): end no job dead when a first charge closes a month by @hiento09 in #530
  • feat(billing): charge a resource by its running intervals by @hiento09 in #495
  • feat(functions): scale to zero, wake, and the jobs that keep record and cluster equal by @hiento09 in #518
  • fix(functions): bound the proxy records of one provider by @hiento09 in #551
  • fix(functions): no function service for a provider with no placement by @hiento09 in #553
  • feat(charts): function objects in the sandbox chart, off by default by @hiento09 in #510
  • test(functions): make the function test harness race-free by @hiento09 in #554
  • fix(functions): stop functions when billing is external by @hiento09 in #552
  • feat(billing): bill a function per minute while instances run by @hiento09 in #556
  • fix(functions): keep the namespace sweep off a create by @hiento09 in #555
  • fix(sandbox): drain sandbox-proxy when it stops by @hiento09 in #557
  • fix(functions): do not end a start that still pulls its image by @hiento09 in #558
  • fix(compose): give tls mode internal a stable site ca by @hiento09 in #559
  • feat(platform): build the function side of a platform's sandboxes by @hiento09 in #512
  • test(sandbox): match the 401 status, not a bare "401" by @hiento09 in #562
  • fix(charts): pin the sandbox proxy build that drains by @hiento09 in #561
  • fix(admin): only a platform run stores a function wake token by @hiento09 in #564
  • fix(functions): findings F1-F4 of the review of #513 by @hiento09 in #560
  • fix(platform): an off of shared deletes the function namespaces by @hiento09 in #563
  • feat(admin): functions on the sandbox provider and in the install settings by @hiento09 in #511
  • feat(platform): offer functions on the managed platform by @hiento09 in #571
  • chore(release): prepare v0.13.0-rc.1 by @hiento09 in #573

Full Changelog: v0.12.0...v0.13.0-rc.1