Repository navigation
fix(ci): delete pre-2B.3 send_room_flag + part_keeps_sidecar + part_persists scenarios - #259
Conversation
…ilure) #239 deleted scenario_peers_cross_scope and scenario_whois_cross_scope because those tests exercised the pre-Phase-2B.3 sidecar peer-walk that was removed. The Python regex used to scrub them — `if 'X' not in line` — was too aggressive: it matched the whole `all)` case line which contained both scenario names in its scenarios-to-run list. Result: `all)` deleted entirely. CI's no-arg invocation `bash test/integration.sh` then hit `*)` → exit 2 → push-to-canary integration job failed. ## Fix Restore an `""|all)` case (matches both no-arg and explicit `all`) with the proper scenario list MINUS the two deleted ones. Preserve the `*)` usage block as the unrecognized-scenario fallback. Verification: tabs 19/0; manual no-arg + 'all' invocation kicks off the full sweep instead of bailing. Closes the canary push integration-suite failure on 75e7bb5. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…ersists scenarios Same root cause as the cross_scope deletions in #239: these three scenarios test sibling-scope semantics that Phase 2B.3 (#227) deleted. Running them on canary HEAD fails because: - send_room_flag: expects --room to re-exec into .airc.<name> sibling scope. Post-#227, --room is a channel-tag alias for --channel; no scope switch. - part_keeps_sidecar: expects a separate sidecar process for #general. Post-#227, no sidecar process exists; #general is a subscribed_channel in the same scope. - part_persists: same. The 'sidecar' it tries to part isn't there. Coverage of the new behavior: - Channel-tag stamping: tabs / queue / status scenarios verify envelope.channel - subscribed_channels filter display: monitor_formatter + #243 path - general_sidecar_default: rewritten in #227 to verify subscribed_channels includes 'general' AND no .general dir is created. Verification: tabs 19/0; general_sidecar_default 10/0; away 5/0; no syntax errors.
…tore-all-case # Conflicts: # test/integration.sh
There was a problem hiding this comment.
Pull request overview
Removes integration scenarios that exercised pre-Phase-2B.3 sibling-scope/sidecar semantics, aligning the test suite with the post-#227/#239 behavior and fixing the default no-arg test runner dispatch.
Changes:
- Deleted
send_room_flag,part_keeps_sidecar, andpart_persistsintegration scenarios fromtest/integration.sh. - Removed the corresponding
casedispatch branches for those modes. - Restored the
""|all)branch so running the script with no args executes the default scenario set again.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| scenario_tabs; scenario_scope; scenario_reminder; scenario_teardown | ||
| scenario_resilience; scenario_reconnect; scenario_queue; scenario_status | ||
| scenario_auth_failure; scenario_room; scenario_events; scenario_get_host | ||
| scenario_identity; scenario_whois; scenario_kick; scenario_heartbeat | ||
| scenario_bounce; scenario_two_tab_localhost; scenario_auto_scope | ||
| scenario_send_dead_monitor_dies; scenario_connect_after_kill_recovers | ||
| scenario_general_sidecar_default; scenario_send_room_flag | ||
| scenario_part_keeps_sidecar; scenario_part_persists; scenario_away | ||
| scenario_general_sidecar_default; scenario_away |
There was a problem hiding this comment.
The default ""|all branch claims to run everything, but it currently omits scenario_general_sidecar_default and scenario_away even though both are still valid MODEs in this case statement. This means CI/no-arg runs won’t execute those scenarios. Consider adding those scenario calls to the all-list (or adjust the comment/behavior so "all" accurately reflects the intended coverage).
| scenario_part_keeps_sidecar; scenario_part_persists; scenario_away | ||
| scenario_general_sidecar_default; scenario_away | ||
| scenario_list; scenario_quit; scenario_platform_adapters | ||
| ;; |
There was a problem hiding this comment.
The Usage string still advertises send_room_flag, part_keeps_sidecar, and part_persists, but the corresponding scenario functions and case branches were deleted above. Update the Usage list to remove these modes (or re-add dispatch targets) so the help text matches actual supported arguments.
Same shape as #239's cross_scope deletions: these scenarios test sibling-scope semantics that #227 deleted. Coverage now via tabs/queue/status (envelope channel) + general_sidecar_default (subscribed_channels).