Skip to content

Settle the node configuration and admission review findings - #547

Merged
SaladDay merged 1 commit into
mainfrom
fix/jm-review-findings
Oct 8, 2026
Merged

SaladDay merged 1 commit into
mainfrom
fix/jm-review-findings

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes from the batched blind review of #543 (vendor node settings in the adapter) and #546 (configured admission).

  • Flaky integration test. TestLocalEnvironmentWorkerRejectsGeneralDeviceDespiteCapability asserted that a second hosted Session has no device. Since Admit hosted work only on a configured deployment #546 the Worker always runs managed-runtime maintenance, which may legitimately bind a managed-runtime device to that Session within its 5s cycle. The test now asserts what it means: the read never binds the general device. Verified by forcing a 6s wait before the assertion: maintenance bound managed-runtime and the test passed.
  • extra_hosts. The Docker node setting has no producer: the installer never writes it and nothing else does. Removed from docker.Native, docker.Config, the container options and the configuration reference (en and zh, with a new source_hash).
  • Web error text. runtime_history_unavailable said history is unavailable "on this Core", which described the not-configured mode Admit hosted work only on a configured deployment #546 deleted. It now matches core-errors.md: temporarily unavailable.

Checks: go build ./..., go vet on the touched packages, the Docker adapter and cmd/sandbox-node tests, the local-environment Worker integration tests (4 runs, plus the forced-wait probe), the translation test and check-names.py.


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

@SaladDay
SaladDay merged commit bb1485e into main Oct 8, 2026
@SaladDay
SaladDay deleted the fix/jm-review-findings branch October 8, 2026 06:05
- The local-environment test no longer races managed-runtime
  maintenance: it asserts the read never binds the general device,
  while maintenance may bind its own.
- Drop Docker's extra_hosts, a node setting nothing produces.
- Web's runtime_history_unavailable text matches the contract: the
  history is temporarily unavailable.
SaladDay added a commit that referenced this pull request Oct 8, 2026
Merges main bb1485e (#546, #547). The aos migrations become 000097 and 000098.
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