Repository navigation
feat(roadmap): add mattermost /roadmap slash command - #2914
Merged
Merged
Conversation
Add the /roadmap slash command responder to the roadmap service webhook router. ### What changed - Add `mattermost` webhook provider to the webhook router with cluster exposure, form URL-encoded content type, and `AuthorizationToken` verifier. - Add ephemeral chat responder for `/roadmap` and `/roadmap status [<repo>]` commands reporting worker status per repository and lane from memory. - Increment metric `devops_cli_service_chat_commands_total` on slash command requests. - Track pending triggers and completed worker rounds in `RepoWorker` and expose them via read-only `ServiceManager.lane_statuses()`. - Register managed credential `mattermost.command_token` and cluster secret entry `DEVOPS_CLI_MATTERMOST_COMMAND_TOKEN`. - Update Kubernetes manifests: allow internal connections from Mattermost to roadmap-service, update network policies in `k8s/mattermost/` and `k8s/devops/roadmap-service/`. - Update `k8s/README.md` with configuration instructions and secret table entry. Closes #1395
Add unit tests for AuthorizationToken verification and responder error paths to satisfy changed-line coverage requirements.
Use typing.cast instead of assert statements in webhook payload authentication to comply with security scanner rules.
dan-petty
marked this pull request as ready for review
October 31, 2026 20:29
4 tasks
dan-petty
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.33.0](v0.32.0...v0.33.0) (2026-10-31) ### Features * **docker:** preview requests in dry run for docker and sandbox commands ([#2923](#2923)) ([b35ac53](b35ac53)), closes [#2251](#2251) * **roadmap:** add mattermost /roadmap slash command ([#2914](#2914)) ([d669c15](d669c15)), closes [#1395](#1395) * **roadmap:** stage every Ready item, implement low effort ([#2924](#2924)) ([7950748](7950748)), closes [#2906](#2906) * **scan:** preview requests in dry run for scan commands ([#2903](#2903)) ([310322c](310322c)), closes [#2250](#2250) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the /roadmap slash command responder to the roadmap service webhook router.
What changed
mattermostwebhook provider to the webhook router with cluster exposure, form URL-encoded content type, andAuthorizationTokenverifier./roadmapand/roadmap status [<repo>]commands reporting worker status per repository and lane from memory.devops_cli_service_chat_commands_totalon slash command requests.RepoWorkerand expose them via read-onlyServiceManager.lane_statuses().mattermost.command_tokenand cluster secret entryDEVOPS_CLI_MATTERMOST_COMMAND_TOKEN.k8s/mattermost/andk8s/devops/roadmap-service/.k8s/README.mdwith configuration instructions and secret table entry.Closes #1395