Skip to content

Fix Asterisk CLI startup mode compatibility#4

Merged
ryanmurf merged 1 commit into
masterfrom
codex/cli-startup-mode-compat
Jun 22, 2026
Merged

Fix Asterisk CLI startup mode compatibility#4
ryanmurf merged 1 commit into
masterfrom
codex/cli-startup-mode-compat

Conversation

@ryanmurf

Copy link
Copy Markdown
Owner

Summary

  • avoid blocking Tokio RwLock reads in local console startup by sharing immutable CLI state directly
  • align CLI startup flags with upstream Asterisk 22.0.0 behavior for -x, -r, -s, -f, -c, and -F
  • add process-level startup mode tests covering local console, foreground mode, remote execution, socket override, and remote console stdin

Verification

  • cargo test -p asterisk-cli --test startup_modes
  • cargo test -p asterisk-cli
  • cargo build --release -p asterisk-cli
  • smoke-tested target/release/asterisk -f -c -g with an isolated config

@ryanmurf ryanmurf force-pushed the codex/cli-startup-mode-compat branch 2 times, most recently from f3ad0f7 to 17ed9f7 Compare June 22, 2026 05:48
@ryanmurf ryanmurf force-pushed the codex/cli-startup-mode-compat branch from 17ed9f7 to 138ecde Compare June 22, 2026 05:57
@ryanmurf ryanmurf merged commit 1c6d554 into master Jun 22, 2026
2 checks passed
@ryanmurf ryanmurf deleted the codex/cli-startup-mode-compat branch June 22, 2026 06:00
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