Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webhook: Fix papercut with reporting of webhook source statuses (Mate…
…rializeInc#21461) This PR updates the `mz_source_statuses` BuiltinView to have a default status of "running" for webhook sources. It's known that webhook sources don't currently report any status since the mechanism to do so is within clusterd, meanwhile webhook sources run in environmentd. There is ongoing work to change this, see MaterializeInc#20036. For now to improve this UX papercut we change the default status of webhook sources to "running" instead of "created", since currently there is no distinction between the two for webhooks. ### Motivation * This PR fixes a previously unreported bug. In the `mz_source_statuses` BuiltinView which powers the web console, we report all webhook sources as "Created" whereas the healthy state for all sources is "Running". [Slack](https://materializeinc.slack.com/archives/CU7ELJ6E9/p1692724790997529) ### Checklist - [ ] This PR has adequate test coverage / QA involvement has been duly considered. - [ ] This PR has an associated up-to-date [design doc](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/README.md), is a design doc ([template](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/00000000_template.md)), or is sufficiently small to not require a design. <!-- Reference the design in the description. --> - [ ] If this PR evolves [an existing `$T ⇔ Proto$T` mapping](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/command-and-response-binary-encoding.md) (possibly in a backwards-incompatible way), then it is tagged with a `T-proto` label. - [ ] If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label ([example](MaterializeInc/cloud#5021)). <!-- Ask in #team-cloud on Slack if you need help preparing the cloud PR. --> - [x] This PR includes the following [user-facing behavior changes](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/guide-changes.md#what-changes-require-a-release-note): - Changes the user facing status of webhooks from "created" to "running" to unify the UX for source status reporting.
- Loading branch information