Skip to content

mng/select-mind-branch-name#918

Open
joshalbrecht wants to merge 7 commits intojosh/faster_slackfrom
mng/select-mind-branch-name
Open

mng/select-mind-branch-name#918
joshalbrecht wants to merge 7 commits intojosh/faster_slackfrom
mng/select-mind-branch-name

Conversation

@joshalbrecht
Copy link
Contributor

Automated PR created by Claude Code session.

joshalbrecht and others added 7 commits March 19, 2026 11:03
channel, message, reaction, relevant_thread, relevant_thread_reply,
reply, unread_marker, user (self_identity was already singular).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
test_main_delivers_events_from_subprocess in mng_mind failed due to
timing -- not related to slack_exporter changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The test waited for send_message to be called (via capture.wait_for_call)
then immediately set stop_event and joined the thread. But
_save_delivery_state runs AFTER send_message returns, so on slow systems
the state file hadn't been written yet when the thread was stopped.

Now polls for the state file to exist before stopping the thread,
using stop_event.wait(timeout=0.01) as the polling delay to avoid
triggering the time.sleep ratchet.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The CI suite exceeded its 150s time limit. The file write should
complete within milliseconds; 2s is more than enough headroom.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
After cloning a git repo for a new mind, immediately check out the
specified branch before setting up parent tracking and creating the
mng agent. This ensures the mind's branch is based off the correct
starting point.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant