Conversation
Document how to download a CI-built PyInstaller binary, when to set TENTACLES_URL_TAG=latest (bin_factory builds only), how to run it and which checks to run against the node UI and API. Add packages/binary/AGENTS.md referencing it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ymEjzdSYvMDqN5bJVwhjR
Document running tools/agent_seed against a CI-built binary (master user root, PYTHONPATH, start flags), debug API user actions incl. the demo wallet 403 guard, scheduler DB, node journal, REST spec, restart recovery and known findings. Point the agent-seed README and binary AGENTS.md at it. Use pkill -x to stop the binary. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ymEjzdSYvMDqN5bJVwhjR
|
CI note on the This is not caused by this PR. It only adds/edits markdown ( The push of Generated by Claude Code |
…inary smoke test - bootstrap/all take repeatable --scenario (grid, index, completed, lifecycle, all); seed-agent.sh bootstrap forwards the options - index: index automation on Seed kraken B; completed: a second index automation that is created then stopped; lifecycle: stop and restart the grid automation and raise AutomationNameLostError if it loses its name (currently fails on restart, real node bug) - builders for index create, stop and restart user actions - typed errors and BootstrapScenario enum, grid polling helpers made public - unit tests for builders, scenarios (fake debug API) and CLI options - packages/binary/scripts/smoke_test.sh: curl-only smoke test of a built binary (boot, HTTP surface, setup API, debug API, log, stop, restart) - docs: binary testing instructions, agent-seed README, architecture, skill Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ymEjzdSYvMDqN5bJVwhjR
|
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 |
dev 6eea4ff downgrades the Kraken fees ERROR to a warning and no longer claims the web interface is accessible when it is disabled. Remove the two matching known findings and describe both the old and new startup log line. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ymEjzdSYvMDqN5bJVwhjR
|
good for me when the branch is rebased and not with a dev merge commit |
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