Skip to content

fix: integrate upstream fleet-sync timeout and backend-selector fixes - #9

Merged
Bre77 merged 3 commits into
mainfrom
fm/fm-upstream-integrate-r7
Jul 8, 2026
Merged

Bre77 merged 3 commits into
mainfrom
fm/fm-upstream-integrate-r7

Conversation

@Bre77

@Bre77 Bre77 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

Upstream integration: merges kunchenguid/firstmate main into the fork, bringing in two upstream bugfixes that landed after the previous catch-up (#8).

  • fix: scale bootstrap fleet-sync timeout (#341) - bootstrap's fleet-sync timeout now scales with origin-backed project clone count (max(20, 5 + 3 * count)) instead of a flat 20s, and relays completed sync output before a timeout skip line.
  • fix: resolve backend selectors by exact task id first (#342) - backend selector resolution (bin/fm-backend.sh, bin/backends/*.sh, bin/fm-peek.sh, bin/fm-send.sh) now matches an exact task id before falling back to broader matching, fixing ambiguous selector resolution.

Conflict resolution

bin/fm-bootstrap.sh conflicted: our fork sources fm-clickstack-lib.sh (the ClickStack webhook-receiver wiring) right before sourcing fm-backend.sh, while upstream's fleet-sync-timeout commit added disable=SC1091 to every shellcheck source= comment in that same block, including the one above fm-backend.sh.

Resolved by integrating both: kept the fork's fm-clickstack-lib.sh source line and gave it the same disable=SC1091 shellcheck comment upstream applied to its neighbors, so the whole block is consistent and the ClickStack wiring is preserved unchanged.

The backend-selector fix (#342) touched bin/fm-backend.sh, bin/backends/{herdr,tmux,zellij}.sh, bin/fm-peek.sh, bin/fm-send.sh, and related docs/tests - all auto-merged cleanly since the fork had no local changes to those files.

Validation

  • shellcheck bin/*.sh bin/backends/*.sh tests/*.sh - clean.
  • for t in tests/*.test.sh; do bash "$t"; done - all 56 behavior tests passed (matches .no-mistakes.yaml's test command and CI).

Fork-only change; not upstreamed.

kunchenguid and others added 3 commits July 8, 2026 00:15
* fix backend selector task id resolution

* no-mistakes(document): Document selector resolution behavior
* fix bootstrap fleet sync timeout

* no-mistakes(review): Fix bootstrap fleet-sync timeout regressions

* no-mistakes(document): Sync bootstrap timeout docs

* no-mistakes(lint): Clean ShellCheck directives

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes
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.

2 participants