The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Harness OS update test: sign the installed machine in before updating it
bubu-dudu495d7e788153
diff --git a/.github/workflows/os.yml b/.github/workflows/os.ymlindex 13d4191fd..eb57d9199 100644--- a/.github/workflows/os.yml+++ b/.github/workflows/os.yml@@ -675,6 +675,9 @@ jobs:python3 os/tools/build-package.py --runtime os/work/runtime --compositor os/work/compositor --output os/work/development-update --developmentpython3 os/tests/build-update-fixture.py- name: Exercise apply, rollback, running work and encrypted reboot+ env:+ HARNESS_TEST_EMAIL: ${{ secrets.HARNESS_TEST_EMAIL }}+ HARNESS_TEST_OTP: ${{ secrets.HARNESS_TEST_OTP }}run: python3 os/tests/update_vm.py --iso os/dist/*.iso --bundle os/work/development-update --fast-fixture os/work/fast-update-fixture- name: Show update failure diagnosticsif: failure()diff --git a/os/tests/update_vm.py b/os/tests/update_vm.pyindex 146f1f2d8..fbc37a8d2 100644--- a/os/tests/update_vm.py+++ b/os/tests/update_vm.py@@ -91,6 +91,10 @@ def main():vm.stop()vm.start(live=False)vm.login_installed(config)+ # hn requires an account before its workspace (#1276): signed in now, the updated machine+ # reboots to that workspace, which the keyboard check below needs. Since 0.1.4 it reached+ # the sign-in page instead and the update was never accepted.+ vm.sign_in('installed')receipt['checks'].append('Published ' + image['version'] + ' installs offline and boots from its encrypted internal disk')vm.command('printf %s ' + shlex.quote(config['password'] + '\n') + ' | sudo -S -v')# Reuse the exact bundle after encrypted reboot; /tmp is intentionally