Matrix: prompt invite auto-join during onboarding#62168
Conversation
Greptile SummaryAdds a Matrix onboarding step that prompts for invite auto-join (allowlist / always / off) with an explicit default-off warning, persisting Confidence Score: 5/5This PR is safe to merge — no blocking issues found. All remaining findings are P2 or lower. The implementation correctly persists the new fields via No files require special attention. Reviews (1): Last reviewed commit: "Matrix: prompt invite auto-join during o..." | Re-trigger Greptile |
There was a problem hiding this comment.
Pull request overview
This PR extends the Matrix onboarding wizard to explicitly configure invite auto-join (defaulting to off with a warning), and persists the resulting autoJoin/autoJoinAllowlist settings via the Matrix config writer, including clearing stale allowlists when switching away from allowlist mode.
Changes:
- Add a new Matrix onboarding step for configuring invite auto-join, including a default-off warning.
- Persist
autoJoinandautoJoinAllowlistthroughupdateMatrixAccountConfig, clearing allowlists when auto-join is notallowlist. - Expand Matrix onboarding test coverage for env-shortcut add-account flow and stale allowlist clearing; update Matrix docs and changelog.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| extensions/matrix/src/runtime-api.ts | Re-export splitSetupEntries from plugin-sdk to reuse shared setup parsing. |
| extensions/matrix/src/onboarding.ts | Add invite auto-join wizard step and refactor access prompts to include it. |
| extensions/matrix/src/onboarding.test.ts | Add onboarding regression tests covering env-shortcut add-account + stale allowlist clearing. |
| extensions/matrix/src/onboarding.test-harness.ts | Update harness to drive the new invite auto-join prompts. |
| extensions/matrix/src/matrix/config-update.ts | Add persistence/clearing support for autoJoin and autoJoinAllowlist. |
| docs/channels/matrix.md | Document the new wizard step and clarify env-shortcut behavior. |
| CHANGELOG.md | Add release note for the Matrix onboarding invite auto-join step. |
3d2637c to
6900536
Compare
c26860a to
aec7a22
Compare
|
Merged via squash.
Thanks @gumadeiras! |
Merged via squash. Prepared head SHA: aec7a22 Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
Merged via squash. Prepared head SHA: aec7a22 Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
Summary
autoJoinandautoJoinAllowlistthrough the Matrix account config writer, including clearing stale allowlists when switching away from allowlist modeTesting
Notes
pnpm tsgois currently blocked by unrelated pre-existingextensions/msteams/src/monitor-handler/message-handler.tserrors on this branch/worktree