[rush reporter][R2] Add opt-in controls and the frontend ReporterHost #5975
Copy link
Copy link
Open
Labels
enhancementThe issue is asking for a new feature or design changeThe issue is asking for a new feature or design change
Description
Parent: #5858
Blocked by: #5974
Goal
Create the authoritative frontend reporter host and reversible pre-major activation controls, while preserving legacy output by default.
Scope
- Construct
ReporterHost/ReporterManagerinapps/rushbefore Rush version selection. - Register
--reporter,--output,--log-level,--quiet,--verbose, and--debugthrough the supported command-line surface. - Read reporter configuration and
agentEnvironmentVariablesfromrush.json. - Add an
experiments.jsonopt-in (proposed name:useRushReporter). - Treat either an explicit non-legacy
--reporteror the repository experiment as a deliberate pre-major opt-in; do not enable agent auto-selection yet. - Preserve
RUSH_REPORTER=legacyas the emergency override.
Acceptance criteria
- The frontend owns reporter selection and hands the engine only a typed sink.
- No opt-in produces the current legacy output and behavior.
- Explicit and repository-level opt-ins are deterministic and covered across TTY, non-TTY, and CI inputs.
- Unsupported or contradictory controls fail with an actionable diagnostic.
- Agent detection remains disabled as a default-selection mechanism until R8.
DAG
Unblocks R5 and R6.
Part of #5858.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementThe issue is asking for a new feature or design changeThe issue is asking for a new feature or design change
Type
Projects
- StatusShow more project fieldsNeeds triage
Activity