fix(agent): the Windows build compiles again: the game cargo script is Linux's alone #158
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!158
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/game-cargo-windows-build"
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?
The release build of the agent for Windows (MagicBeanAdmin/Release, run 60190, "The agent, both systems") fails since #155:
agent/Core/WorkspaceBuilder.cs: error CA1416: This call site is reachable on all platforms. 'File.SetUnixFileMode(string, UnixFileMode)' is unsupported on: 'windows'So the nightly with #155 and #156 was never published (the unattended trigger does not try a failed release again). CI here builds for Linux only, which is why it passed.
Fix:
GameCargoreturns null first thing on Windows (OperatingSystem.IsWindows()), which the analyzer follows. No change for Linux.Not built or run here (this PC's rules); the release build is the check: it needs a run by hand after this merges (publish on).
🤖 Generated with Claude Code