Skip to content

[9.3] [scout] support example plugins (#259170)#261384

Merged
dmlemeshko merged 4 commits intoelastic:9.3from
dmlemeshko:backport/9.3/pr-259170
Apr 7, 2026
Merged

[9.3] [scout] support example plugins (#259170)#261384
dmlemeshko merged 4 commits intoelastic:9.3from
dmlemeshko:backport/9.3/pr-259170

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

## Summary

Closes elastic/appex-qa-team#708

### Adds Scout support for plugins located in `/examples`, in
particular:

- scout playwright config discovery
- stateful shared config to use for all plugins (saves CI runtime by
avoiding restarts)
- registration in `scout_ci_config.yml` for CI run

### Code change:

`loadScoutManifestFile` reads the Scout .meta/*.json next to a
Playwright config (test ids, tags, etc.), or returns a placeholder when
that file is not present so fromPath still works. It was extracted so
both the regular plugin/package path parsing and the new `examples/`
path parsing share the same manifest-loading logic instead of
duplicating it.

---------

Co-authored-by: Stelios Mavro <81311181+steliosmavro@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4c8724b)

# Conflicts:
#	examples/flyout_system/kibana.jsonc
@dmlemeshko dmlemeshko added the backport This PR is a backport of another PR label Apr 6, 2026
@dmlemeshko dmlemeshko enabled auto-merge (squash) April 6, 2026 17:05
@dmlemeshko dmlemeshko requested a review from a team April 6, 2026 17:07
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/scout-info 57 59 +2
Unknown metric groups

API count

id before after diff
@kbn/scout-info 58 62 +4

History

@dmlemeshko dmlemeshko merged commit c4465c0 into elastic:9.3 Apr 7, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants