Add local Moon-based validation via scripts/check#256599
Add local Moon-based validation via scripts/check#256599tylersmalley merged 9 commits intoelastic:mainfrom
Conversation
57daa3d to
d5c0edb
Compare
Part of #256599 — extracts the shared validation runner infrastructure into its own package to land incrementally. --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Part of elastic#256599 — extracts the shared validation runner infrastructure into its own package to land incrementally. --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> (cherry picked from commit edea080)
Part of elastic#256599 — extracts the shared validation runner infrastructure into its own package to land incrementally. --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> (cherry picked from commit edea080) # Conflicts: # .github/CODEOWNERS
Part of elastic#256599 — extracts the shared validation runner infrastructure into its own package to land incrementally. --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> (cherry picked from commit edea080) # Conflicts: # .github/CODEOWNERS
Part of #256599 — extracts the shared validation runner infrastructure into its own package to land incrementally. --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
d5c0edb to
01da88b
Compare
Part of elastic#256599 — extracts the shared validation runner infrastructure into its own package to land incrementally. --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
f26378d to
4f623c6
Compare
4f623c6 to
5a4feda
Compare
352d6a1 to
b394cb3
Compare
b394cb3 to
f3fc49d
Compare
|
Starting backport for target branches: 8.19, 9.2, 9.3 |
# Backport This will backport the following commits from `main` to `9.3`: - [Add shared validation runner package (#258768)](#258768) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tyler Smalley","email":"tyler.smalley@elastic.co"},"sourceCommit":{"committedDate":"2026-03-23T22:12:20Z","message":"Add shared validation runner package (#258768)\n\nPart of #256599 — extracts the shared validation runner infrastructure into its own package to land incrementally.\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>","sha":"edea0805670d85d180e4f72a0481adaa68ff909b","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","backport:all-open","v9.4.0"],"title":"Add shared validation runner package","number":258768,"url":"https://github.com/elastic/kibana/pull/258768","mergeCommit":{"message":"Add shared validation runner package (#258768)\n\nPart of #256599 — extracts the shared validation runner infrastructure into its own package to land incrementally.\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>","sha":"edea0805670d85d180e4f72a0481adaa68ff909b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/258768","number":258768,"mergeCommit":{"message":"Add shared validation runner package (#258768)\n\nPart of #256599 — extracts the shared validation runner infrastructure into its own package to land incrementally.\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>","sha":"edea0805670d85d180e4f72a0481adaa68ff909b"}},{"url":"https://github.com/elastic/kibana/pull/259217","number":259217,"branch":"9.3","state":"OPEN"}]}] BACKPORT--> --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Introduce a new `scripts/check` entrypoint that uses Moon changed-file resolution to run eslint, jest, and type_check against local, staged, or branch-scoped changes. Keep the existing `eslint`, `jest`, and `type_check` commands intact for their default direct usage, and only route them through the new validation contract when scoped validation flags are present. This also adds dedicated contract runners for jest, eslint, and type_check, plus clearer help and shallow-repo warnings for the new workflow. Updates elastic#255391 --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
4 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Introduce a new `scripts/check` entrypoint that uses Moon changed-file resolution to run eslint, jest, and type_check against local, staged, or branch-scoped changes. Keep the existing `eslint`, `jest`, and `type_check` commands intact for their default direct usage, and only route them through the new validation contract when scoped validation flags are present. This also adds dedicated contract runners for jest, eslint, and type_check, plus clearer help and shallow-repo warnings for the new workflow. Updates elastic#255391 --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 3a3c8c5)
Introduce a new `scripts/check` entrypoint that uses Moon changed-file resolution to run eslint, jest, and type_check against local, staged, or branch-scoped changes. Keep the existing `eslint`, `jest`, and `type_check` commands intact for their default direct usage, and only route them through the new validation contract when scoped validation flags are present. This also adds dedicated contract runners for jest, eslint, and type_check, plus clearer help and shallow-repo warnings for the new workflow. Updates elastic#255391 --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 3a3c8c5)
Introduce a new `scripts/check` entrypoint that uses Moon changed-file resolution to run eslint, jest, and type_check against local, staged, or branch-scoped changes. Keep the existing `eslint`, `jest`, and `type_check` commands intact for their default direct usage, and only route them through the new validation contract when scoped validation flags are present. This also adds dedicated contract runners for jest, eslint, and type_check, plus clearer help and shallow-repo warnings for the new workflow. Updates elastic#255391 --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 3a3c8c5) # Conflicts: # packages/kbn-ts-type-check-cli/run_type_check_cli.ts # src/dev/eslint/lint_files.ts # src/dev/eslint/pick_files_to_lint.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…62386) # Backport This will backport the following commits from `main` to `9.3`: - [Add local Moon-based validation via scripts/check (#256599)](#256599) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tyler Smalley","email":"tyler.smalley@elastic.co"},"sourceCommit":{"committedDate":"2026-04-04T03:19:55Z","message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport missing","backport:all-open","v9.4.0"],"title":"Add local Moon-based validation via scripts/check","number":256599,"url":"https://github.com/elastic/kibana/pull/256599","mergeCommit":{"message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/256599","number":256599,"mergeCommit":{"message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc"}}]}] BACKPORT--> Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…262389) # Backport This will backport the following commits from `main` to `8.19`: - [Add local Moon-based validation via scripts/check (#256599)](#256599) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tyler Smalley","email":"tyler.smalley@elastic.co"},"sourceCommit":{"committedDate":"2026-04-04T03:19:55Z","message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport missing","backport:all-open","v9.4.0"],"title":"Add local Moon-based validation via scripts/check","number":256599,"url":"https://github.com/elastic/kibana/pull/256599","mergeCommit":{"message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/256599","number":256599,"mergeCommit":{"message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc"}}]}] BACKPORT--> --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
…62387) # Backport This will backport the following commits from `main` to `9.2`: - [Add local Moon-based validation via scripts/check (#256599)](#256599) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tyler Smalley","email":"tyler.smalley@elastic.co"},"sourceCommit":{"committedDate":"2026-04-04T03:19:55Z","message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport missing","backport:all-open","v9.4.0"],"title":"Add local Moon-based validation via scripts/check","number":256599,"url":"https://github.com/elastic/kibana/pull/256599","mergeCommit":{"message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/256599","number":256599,"mergeCommit":{"message":"Add local Moon-based validation via scripts/check (#256599)\n\nIntroduce a new `scripts/check` entrypoint that uses Moon changed-file\nresolution to run eslint, jest, and type_check against local, staged, or\nbranch-scoped changes.\n\nKeep the existing `eslint`, `jest`, and `type_check` commands intact for\ntheir default direct usage, and only route them through the new\nvalidation contract when scoped validation flags are present. This also\nadds dedicated contract runners for jest, eslint, and type_check, plus\nclearer help and shallow-repo warnings for the new workflow.\n\nUpdates https://github.com/elastic/kibana/issues/255391\n\n---------\n\nSigned-off-by: Tyler Smalley <tyler.smalley@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"3a3c8c5eb62f90058f8cedad35598f3720db1acc"}}]}] BACKPORT--> --------- Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Introduce a new
scripts/checkentrypoint that uses Moon changed-file resolution to run eslint, jest, and type_check against local, staged, or branch-scoped changes.Keep the existing
eslint,jest, andtype_checkcommands intact for their default direct usage, and only route them through the new validation contract when scoped validation flags are present. This also adds dedicated contract runners for jest, eslint, and type_check, plus clearer help and shallow-repo warnings for the new workflow.Updates #255391