Repository navigation
fix(#301): host bootstrap canonical filename + smoke test stability - #319
Merged
Merged
Conversation
…ename Pre-fix the host bootstrap in cmd_connect created the room gist with a random temp basename (mktemp -t airc-invite.XXXXXX). Heartbeat (#297) then tried to update airc-room-<channel>.json which didn't exist, gh 'gist edit' silently failed, host self-evicted on 3 consecutive heartbeat-failures, gist deleted mid-conversation. continuum + ideem flagged this convergence; #297 fixed the heartbeat side, this fixes the create side. Solution: bootstrap writes a temp dir + names the file airc-room-<channel>.json (matching channel_gist.create_new's seed filename) so subsequent gh edits via basename match work. Description stays 'airc mesh' for the moment because joiner discovery uses _mesh_find which matches that literal — full migration to 'airc room: #<channel>' description as a follow-up. Also: spawn_real in test/integration_smoke.sh now waits for channel_gists to actually be populated in config.json after starting a host, not just for 'Hosting as' to appear in stdout. The latter fires before the gist is published, so the next peer spawned right after raced and saw no mesh on the account → bootstrapped as its own host of the same room → test failed flakily. Fixed. Smoke tests: 4/4 pass against real gh substrate. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Host gist seed filename now matches channel_gist.create_new (
airc-room-<channel>.json). Pairs with #297 to close the heartbeat-fails-and-evicts loop. Smoke tests stabilized (wait for channel_gists population, not just 'Hosting as' log line).