feat(agent): one download per system, which asks to install itself or be used from where it is #149
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!149
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:feat/agent-one-download"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The agent ships one download per system, as LongshotLauncher #273 does for the launcher:
beanstalk-agent-<v>-windows-x64.exeandbeanstalk-agent-<v>-linux-x64.AppImage. On its first start it asks: Install (Windows per user, Start menu and Apps & features; Linux under~/.local/share/beanstalk-agentwith a menu entry, now with--installand--uninstall) or Use it from here (portable).Beanstalkfolder beside the program with a.portablefile in it. The agent's home (sign-in, registration) stays in its usual place, as Beanstalk's rule says, because it belongs to the user and the PC, not the folder. A bareBeanstalkfolder isn't a mark. Reserved folders, temporary folders (a program run from inside a zip) and a folder already holding the volunteer's files are refused. The oldportablefile beside the exe still counts.installed-oncein the home, so a later download after an uninstall asks again.-p:BeanstalkPackaged=true,BEANSTALK_NO_SELF_UPDATE=1, Flatpak or Snap.-windows-x64-setup.exe(the same program),-windows-x64-portable.zip(the exe alone) and-x86_64.AppImage(the same file). Self-update reads the new name first and the old one second.release.py'sROLLINGkeeps all five inlatest-<channel>.web.pyandhow.htmllink the new names; the portable zip's link is gone.Tested
dotnet build agent/Beanstalk.Agent.slnx -c Release: no warnings.agent/tests/test_agent_core.py --strict: 2543 checks passed (installer 87, update 112), except the "bridge" section, which couldn't open its socket in the sandbox it ran in (unchanged code: CI runs it).agent/tests/test_release.py: passes.test_dashboard.pyneeds Postgres: left to CI.Not run yet: a real install, portable start and update on Windows and Linux desktops.
Merge note: the coordinator's new links work only once a nightly built with this change has published the new names. Deploy the coordinator after that nightly, or links 404 meanwhile; the old names work throughout.
🤖 Generated with Claude Code
Possibly related, for context:
WIP: feat(agent): one download per system, which asks to install itself or be used from where it isto feat(agent): one download per system, which asks to install itself or be used from where it is