Skip to content

Sync main f6656de9 into the cutover - #544

Merged
SaladDay merged 11 commits into
aos/cutoverfrom
aos/sync-6
Oct 8, 2026
Merged

SaladDay merged 11 commits into
aos/cutoverfrom
aos/sync-6

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Sync 6: merges main 6ce0e51 and then f6656de into the cutover. Lanes:


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Core owns one idle suspension policy (300 seconds idle, 86400 seconds
retention) and reports it for every Provider that declares checkpoint
support. The microsandbox registry constant, its copy in the provider
description and the idle_seconds/retention_seconds deployment columns are
deleted; migration 000094 drops the columns and rewrites
runtime_deployment_setup_check without them.

Registration keeps only the declared rule that checkpoint support needs a
nodes registration. The API suspension shape is unchanged; its description
names the declaration rule instead of a vendor.
Merge origin/main (6ce0e51) into aos/cutover.

Migrations: the cutover's 000094_session_runtime_assignments.sql and
000095_sandbox_link_authority.sql become 000096 and 000097, after main's
000094 (drop runtime_deployment idle and retention columns) and 000095
(vendor-free node readiness codes). Neither cutover migration touches
those columns or codes; nothing referenced the old numbers. A database
that applied the old numbering must be recreated.

Logic resolutions:
- processconfig: main makes OAC_PUBLIC_URL, OAC_INSTALLATION_ID_FILE and
  OAC_CREDENTIAL_KEY_FILE required, so the cutover's "agent-host identity
  only with OAC_PUBLIC_URL" pairing becomes OAC_AGENT_HOST_IDENTITY_FILE
  required; the pairing checks are gone. tests/container_server.py mounts
  the identity with main's other required files.
- cmd/server: main's unconditional startup (value PublicOrigin, always
  wired Execution and Sandboxes) now always registers the agent host and
  builds the Link authority and relay; Dispatcher and api.Execution get
  Links. managed_nodes keeps main's shape plus the cutover's sandboxLink.
- api: Execution.Links joins main's value-type validate; the
  /api/v1/sandbox-link routes are always registered.
- sessionpg: SignAttachGrant drops its nil-cipher arm, as main removed
  credentialcrypto.ErrUnavailable.
- Integration fixtures: main's publicHandler default Execution gains
  Links: strict and replaces storeExecution; withPolicy stays deleted;
  fixtureCipher and NewModelTestStore give way to New(t, pool) and
  testStore(t) over pgtest.CredentialKey. Every Session still needs a
  model provider, so fixtureDeploymentProvider stays.
- link_authority_test supplies main's required installation ID and
  credential key.
- sessions creation_test keeps main's fingerprint failure case and the
  cutover's removal of the self-hosted deployment case.
- Docs and Web copy keep main's removals (noAddress, credentials none,
  ErrUnavailable) with the cutover's Link wording; zh hashes recomputed.
TestInitialSessionInputOfficialClient and TestListQueryOfficialClientPostgres create Sessions through the official SDK. Every Session needs a model provider, so their handlers take the deployment default as the other public fixtures do. Both failed the same way on aos/cutover ac07a61; CI's acceptance job does not select them.
Merge origin/main (f6656de, #543) into aos/cutover.

The only conflicts were the source_hash lines of docs/zh/configuration.md
and docs/zh/sandbox-provider.md; both are recomputed from the merged
English files. The cutover never edited the Docker and microsandbox node
code that #543 moved (providers/docker.go, microsandbox.go, probe.go,
specification.go, capacity.go, config.go), so nothing needed carrying;
the cutover's Sandbox I/O bootstrap in docker/provider.go and
docker/bootstrap.go and its Bootstrap.Validate in sandbox_provider.go sit
beside #543's NodeConfig, LocalOptions and Built. No migration or
generated projection changed.
@SaladDay
SaladDay merged commit a1e9acc into aos/cutover Oct 8, 2026
25 checks passed
@SaladDay
SaladDay deleted the aos/sync-6 branch October 8, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant