Skip to content

[SigEvents] Add callout with working promote action.#260433

Merged
mykolaharmash merged 9 commits intoelastic:mainfrom
achyutjhunjhunwala:add-promote-callout-on-streams-se-tab
Apr 2, 2026
Merged

[SigEvents] Add callout with working promote action.#260433
mykolaharmash merged 9 commits intoelastic:mainfrom
achyutjhunjhunwala:add-promote-callout-on-streams-se-tab

Conversation

@achyutjhunjhunwala
Copy link
Copy Markdown
Contributor

@achyutjhunjhunwala achyutjhunjhunwala commented Mar 31, 2026

Closes https://github.com/elastic/streams-program/issues/1071

This is a follow up change after the unified KIs table.

  • Adds a promotion callout for all unbacked queries
  • Adds flyout to inspect/delete suggested queries
  • Cleans up a few obsolete files
CleanShot.2026-04-01.at.14.12.36.mp4

@achyutjhunjhunwala achyutjhunjhunwala self-assigned this Mar 31, 2026
@achyutjhunjhunwala achyutjhunjhunwala added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Feature:SigEvents Significant events feature, related to streams and rules/alerts (RnA) Team:SigEvents Project team working on Significant Events labels Mar 31, 2026
@mykolaharmash mykolaharmash force-pushed the add-promote-callout-on-streams-se-tab branch from c9ff5d7 to 77973a4 Compare April 1, 2026 11:55
@mykolaharmash mykolaharmash force-pushed the add-promote-callout-on-streams-se-tab branch from 77973a4 to 37852d3 Compare April 1, 2026 12:01
@mykolaharmash mykolaharmash marked this pull request as ready for review April 1, 2026 12:15
@mykolaharmash mykolaharmash requested a review from a team as a code owner April 1, 2026 12:15
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp bot commented Apr 1, 2026

Approvability

Verdict: Needs human review

This PR introduces a new feature that allows users to promote queries to rules via a new promotion callout and flyout UI. The changes introduce new user-facing behavior with API mutations that create rules, and the author does not own any of the affected files (all owned by @elastic/obs-sig-events-team). The designated team should review this new capability.

You can customize Macroscope's approvability policy. Learn more.

@mykolaharmash mykolaharmash changed the title [SigEvents] Add callout with working promote action. Review is still WIP [SigEvents] Add callout with working promote action. Apr 1, 2026
@ruflin
Copy link
Copy Markdown
Contributor

ruflin commented Apr 1, 2026

One thing I noticed testing this pull request is that when a rule is deleted, also the query is deleted. This is should not be the case. Likely this is not related to this pull request but we should follow up on that.

Also right now, all rules are promoted but we had some discussion, that only high and critical should be promoted by default. This can also happen as a follow up.

Copy link
Copy Markdown
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

PR works as expected. See follow up comments for a next PR.

@ruflin
Copy link
Copy Markdown
Contributor

ruflin commented Apr 1, 2026

@boriskirov ^

@mykolaharmash mykolaharmash added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting and removed release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Apr 1, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
streamsApp 1778 1782 +4

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
streamsApp 1.9MB 1.9MB +9.2KB

History

cc @achyutjhunjhunwala

@mykolaharmash mykolaharmash merged commit 8d7c6f0 into elastic:main Apr 2, 2026
18 checks passed
@achyutjhunjhunwala achyutjhunjhunwala deleted the add-promote-callout-on-streams-se-tab branch April 2, 2026 07:37
mbondyra added a commit to mbondyra/kibana that referenced this pull request Apr 2, 2026
…heck

* commit 'af66aadafa7470ca8ba3e3edd3793bde81fa4596': (31 commits)
  [Scout] Update test config manifests (elastic#260850)
  [SLO]: register alerts schema embeddable (elastic#256570)
  [Discover][Flyout] Update overview fields table with new prop headerVisibility set to false (elastic#260692)
  [AiButton/Security] Migrate ai-related buttons to use custom styles (elastic#259847)
  [One Workflow] Fix connector step icons falling back to generic plugs in YAML editor (elastic#260785)
  [Agent Builder] Dashboard skill: Guard against editing non-ESQL based panels (elastic#260714)
  Security quality gate Cypress cleanup - Periodic Pipeline (elastic#260820)
  [Search] Deprecate search indices in favour of index management (elastic#260210)
  Upgrade dependency @elastic/charts to v71.4.0 (elastic#260593)
  [Security Solution] [HDQ]: integration-based targeting and descriptor versioning (elastic#258418)
  docs(saved-objects): consolidate docs and document scoped vs system client (elastic#260743)
  Fix observability UIAM config and add CPS observability variant (elastic#260485)
  [Security Solution] Add "matched_indices_count" rule execution metric (elastic#259938)
  [SigEvents] Add callout with working promote action. (elastic#260433)
  [Alerting V2] Episode table actions (elastic#260195)
  [Automatic Migration] Add ability to skip Reference Set step in QRadar upload workflow (elastic#259959)
  [Rules] KQL-to-DSL conversion without data view produces incorrect queries for keyword fields for Metric threshold rule (elastic#260046)
  Update dependency lightningcss to v1.32.0 (main) (elastic#259017)
  Update postcss (main) (elastic#255420)
  Migrate server-side apm.addLabels to OTel dual-write helpers (elastic#259619)
  ...
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Apr 2, 2026
Closes elastic/streams-program#1071

This is a follow up change after [the unified KIs
table](elastic#259553).

* Adds a promotion callout for all unbacked queries
* Adds flyout to inspect/delete suggested queries
* Cleans up a few obsolete files



https://github.com/user-attachments/assets/42f622ee-79de-4a2b-82ac-6948592da8c7

---------

Co-authored-by: Mykola Harmash <mykola.harmash@elastic.co>
Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:SigEvents Significant events feature, related to streams and rules/alerts (RnA) release_note:skip Skip the PR/issue when compiling release notes Team:SigEvents Project team working on Significant Events v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants