Skip to content

[codex] Add lab impair apply and clear#23

Open
supurazako wants to merge 3 commits into
mainfrom
feat/cycle1-lab-impair
Open

[codex] Add lab impair apply and clear#23
supurazako wants to merge 3 commits into
mainfrom
feat/cycle1-lab-impair

Conversation

@supurazako

Copy link
Copy Markdown
Owner

Summary

  • Add rtc-emulator lab impair apply as an explicit impairment subcommand while keeping rtc-emulator lab apply compatible
  • Add rtc-emulator lab impair clear to remove node qdisc state
  • Share target validation for managed node and namespace checks
  • Add fake executor tests for clear success, missing qdisc success, unmanaged nodes, and missing namespaces

Notes

This is Cycle 1 work for L2 impairment control. It does not add WebRTC scenarios, event logs, or stats logs yet.

Closes #20.

Validation

  • go test ./...
  • go run ./cmd/rtc-emulator lab impair --help
  • go run ./cmd/rtc-emulator lab impair apply --help
  • go run ./cmd/rtc-emulator lab impair clear --help

Linux manual testing was not run in this environment.

@supurazako supurazako marked this pull request as ready for review June 15, 2026 06:46
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.

Cycle 1: Add lab impair apply/clear for L2 impairment control

1 participant