Skip to content

Conversation

@w1kman
Copy link
Contributor

@w1kman w1kman commented Oct 6, 2025

Reworked check editor for synthetic checks

Complete re-creation of the current check Form.

Why? As we require more features and customization of the Check form, it has become increasingly complex to do the simplest changes. In an attempt to simplify and surface inner workings, "everything" has been remade.

The name "Checkster" is a placeholder name that will later be refactored into "CheckEditor", as soon as we have removed the old "CheckEditor".

Features

This PR also brings new features to the check authoring view:

  • New adhoc check experience
  • Docs
  • Secrets (CRUD) while authoring scripted/browser checks

How to test

  • Enable feature flag synthetic-monitoring-check-editor
  • Use the app as normal
image

Adhoc check example (blackbox exporter)

image

Adhoc check example (k6/multihttp)

image

Adhoc check example (k6)

image

Additional context

Resolves #1263
Resolves #1174
Resolves #953
Resolves #1133

w1kman added 3 commits October 6, 2025 09:34
- dump code on to fresh `main` branch
- add feature flag `synthetic-monitoring-check-editor` (`FeatureName.CheckEditor`)
- wire up routes (edit/new)
- create submit handler hook
- create after save nav hook for checks
- add new datasource method
- remove `console.log` (except one)
- add RegExp support for checking "known" log messages
@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Warnings
⚠️

Scripts has exceeded the Significant threshold of a 5% size increase in this PR.

Script size changes

Name +/- Main This PR Outcome
[487.js] +0.04% 1,717.89 kB 1,718.51 kB
[671.js] New file - 936.77 kB
[datasource/module.js] +1.31% 24.40 kB 24.72 kB
[692.js] +0.30% 16.75 kB 16.80 kB
[663.js] = 5.83 kB 5.83 kB
[module.js] = 4.92 kB 4.92 kB
[548.js] Deleted file 758.98 kB -

Totals

Name +/- Main This PR Outcome
[Scripts] +7.07% 2,528.77 kB 2,707.55 kB ⚠️
[Non-script Assets] = 2,595.44 kB 2,595.44 kB
[All] +3.49% 5,124.21 kB 5,303.00 kB

Generated by 🚫 dangerJS against c788696

w1kman added 15 commits October 6, 2025 10:19
- fix eslint import error
- handle navigation on error (wip)
- remove console.log
- Remove unused files
- restructure/rename components
- add "goto error" functionallity
- setup all checks/sections with error fields
- fix bug that would case app to explode if invalid checktype was supplied
- enable `<ConfirmLeavingPage />`
- remove unused code
- update README.md
- add feature concept
- fix feature concept panic render
- add secrets to right aside
- fix word-break on log `msg`
- `adhoc-check`: handle use of `expect`
- move components to own files
- handle submit and submitting better
- handle form errors for adhoc checks
- fix: handle form errors for adhoc checks
- handle custom section labels
- better handling of existing checks (edit)
w1kman added 7 commits October 9, 2025 12:36
- handle custom section labels
- better handling of existing checks (edit)
- add tests
- handle custom section labels
- better handling of existing checks (edit)
- add tests
- handle custom section labels
- better handling of existing checks (edit)
- add tests
- handle custom section labels
- better handling of existing checks (edit)
- add tests
- add more tests
- fix active label bug
- add label limits to label section
@w1kman w1kman requested a review from a team as a code owner October 27, 2025 09:53
- chore: migrate `traceroute` tests (new check)
- chore: migrate `dns` tests (new check)
- fix: typings after Combobox introduction
- fix: typings after Combobox introduction
- chore: disable adhoc check for Traceroute
- chore: add tests for `TCP` (new check)
- chore: move v2 utils to a proper directory
- chore: add v2 CommonFields.payload.tests (new check)
- chore: add http check tests (new check)
- fix: deprecation warning
- chore: add http check tests (new check)
- fix: deprecation warning
- chore: add browser tests (new check)
- chore: add scripted tests (new check)
- chore: tests for edit check
- cr: move overflow
- cr: move overflow
- fix: Feedback.tsx does not care about boundaries
- fix: incorrect icon for check logs
- fix: add Feedback placement prop
@w1kman w1kman requested review from VikaCep and ckbedwell October 29, 2025 10:31
@w1kman w1kman requested a review from ckbedwell October 29, 2025 11:15
Copy link
Contributor

@ckbedwell ckbedwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉 ⭐ 🌟 💪 - LFGooooooooooo 🎉🎉🎉🎉🎉

@ckbedwell ckbedwell removed the request for review from VikaCep October 29, 2025 11:41
@ckbedwell ckbedwell dismissed VikaCep’s stale review October 29, 2025 11:42

On holiday and her comments have been addressed.

@w1kman w1kman merged commit 4e67f2b into main Oct 29, 2025
23 checks passed
@w1kman w1kman deleted the w1kman/new-check-editor branch October 29, 2025 14:03
@sm-release-app sm-release-app bot mentioned this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants