Repository navigation
Binary testing instructions, agent-seed bootstrap scenarios and binary smoke test - #3722
Conversation
|
CI note on the This is not caused by this PR. It only adds/edits markdown ( The push of Generated by Claude Code |
|
CI note on the This is not caused by this PR: it does not touch I could not re-run the failed job: the re-run request was rejected with a 403 ( (Correction: an earlier version of this comment said I had re-run the job. I had not.) Generated by Claude Code |
|
good for me when the branch is rebased and not with a dev merge commit |
…y smoke test Document how to test a CI-built PyInstaller binary, and add the tooling to do it: BINARY_TESTING_INSTRUCTIONS.md, a curl-only smoke_test.sh, and agent-seed bootstrap scenarios (grid, index, completed, lifecycle) with builders, typed errors, and unit tests. Co-authored-by: Herklos <herklos@drakkar.software>
050ec92 to
194fced
Compare
|
it's up |
Summary
Document how to test a CI-built PyInstaller binary, and add the tooling to do it: extra agent-seed bootstrap scenarios and a curl-only smoke test.
Solve the issue: (no issue)
Changelog
packages/binary/BINARY_TESTING_INSTRUCTIONS.md: download the artifact,TENTACLES_URL_TAG=latestonly for builds frombin_factory, run it, and a test checklist (HTTP surface, Node UI, seeded QA, debug API user actions, scheduler, journal, restart recovery)packages/binary/AGENTS.mdpointing to itpackages/binary/scripts/smoke_test.sh: boots the binary in an empty dir, checks the HTTP and setup/debug APIs, creates a throwaway wallet, stops and restarts it. Needs only bash and curl. Exit code 0 or 1bootstrapandalltake repeatable--scenario(griddefault,index,completed,lifecycle,all);seed-agent.sh bootstrapforwards the optionsindex: index automation on Seed kraken Bcompleted: a second index automation, created then stopped, so the UI has a completed automationlifecycle: stops and restarts the grid automation and raisesAutomationNameLostErrorif the name is lostBootstrapScenarioenum, typed errors, unit tests for builders, scenarios (fake debug API) and CLI optionsWhat's new?
Tested against the
bin_factoryLinux x64 binary (run 36476985898):grid,indexandcompletedscenarios work, re-running them is a no-op, and the UI showsActive 2, Completed 1lifecyclecurrently fails on purpose: afterautomation_restartthe automation name is empty (the UI then showsOctoBot a00000). This is a node bug (restart_automation.py), not addressed hererunning, it only becomesfailedafter recovery attempts are exhaustedtools/testsandpackages/node/tests/agent_seed: 101 passed.python -m tools.extended_linter --base origin/dev: 0 violations🤖 Generated with Claude Code
https://claude.ai/code/session_014ymEjzdSYvMDqN5bJVwhjR