Skip to content

fix(swm-macos-runner): part 1 review follow-ups - #304

Merged
smartwatermelon-agent[bot] merged 1 commit into
mainfrom
claude/fix-swm-macos-followups-56536f08
Nov 23, 2026
Merged

smartwatermelon-agent[bot] merged 1 commit into
mainfrom
claude/fix-swm-macos-followups-56536f08

Conversation

@smartwatermelon-agent

Copy link
Copy Markdown
Contributor

Small follow-ups from the macOS Tart runner's part 1 reviews.

  • slot_load ignores a non-numeric id= in a slot state file and logs it, so the value never reaches a GitHub API URL. New test slot_id_not_numeric_is_not_sent.
  • config.sh documents why the IP bound (SWM_IP_LIMIT_S + 10 = 190 s) exceeds 180 s, and _swm_image_hash has a pointer comment to _nos_image_hash.
  • Already fixed on main: the stale "not bounded" comment in build-image.sh.
  • Deferred: TERM before KILL in abort_bounded. The worst-case teardown is already about 300 s (stop 60 + wait 60 + delete 120 + token 30 + DELETE 30), which equals the plist ExitTimeOut of 300 s, so a 5 s grace does not fit. The v6 warning rate stays deferred because it needs sudo. The issue comment lists the other deferred items.

bash scripts/swm-macos-runner/tests/run-tests.sh passes, and shellcheck -S info is clean.

Advances #294

Ignore a non-numeric id= in the slot state file so it never reaches a
request URL. Document the IP bound and the hash-copy pointer in config.sh.
TERM-before-KILL for the build is deferred: teardown already uses the
300 s ExitTimeOut.

Advances #294
@smartwatermelon-agent
smartwatermelon-agent Bot merged commit 87a02eb into main Nov 23, 2026
6 checks passed
@smartwatermelon-agent
smartwatermelon-agent Bot deleted the claude/fix-swm-macos-followups-56536f08 branch November 23, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants