-
Notifications
You must be signed in to change notification settings - Fork 568
[CI] Support package discovery in nested directories - WIP #18495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
mrodm
wants to merge
17
commits into
elastic:main
Choose a base branch
from
mrodm:allow-multiple-directories
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
acdab09
Adapt codeowners check
jsoriano 265c135
[citools] Add ListPackages and extend packageManifest struct
mrodm 58f0fe5
[citools] Expose ReadPackageManifest and consolidate manifest logic
mrodm d9100b9
[codeowners] Refactor validatePackages to use citools.ListPackages
mrodm 91f9db5
[codeowners] Add tests for validatePackages with nested packages
mrodm a4af05b
[magefile] Add ListPackages mage target
mrodm 741448f
Test with a subset of packages
mrodm 218f948
[buildkite] Fix package path/name misusage after ListPackages refactor
mrodm 3d92f36
[citools] Export ManifestFileName and remove duplicate constant
mrodm bb2e60f
[buildkite] Fix leftover issues in test_one_package.sh
mrodm e2454f2
Ensure that package_name_manifest is executed in the package path
mrodm 99bfc48
[buildkite] Add should_test_package helper to common.sh
mrodm 9f03436
[buildkite] Refactor build_packages.sh to support nested packages
mrodm 71e903e
Update temprarily build_packages to test it - to be reverted
mrodm 293da9f
[buildkite] Fix mage not found in build_packages.sh
mrodm 5651580
[codeowners] Fix infinite loop in findOwnerForFile on absolute paths
mrodm b794a1b
Update loop to find findOwnerForFile
mrodm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Critical
scripts/common.sh:831list_all_directories()now hardcodes a grep filter that returns only two package names (elastic_package_registryandnginx). Since callerstrigger_integrations_in_parallel.shandtest_integrations_with_serverless.shiterate over this output to drive CI pipelines, all other packages are silently excluded from testing and publishing. If this restriction is intentional, consider documenting why only these two packages should run; otherwise, the filter should be removed to restore full package coverage.list_all_directories() { - mage listPackages | grep -E '^packages/(elastic_package_registry|nginx)$' + mage listPackages }🤖 Copy this AI Prompt to have your agent fix this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be removed before merging the PR. This grep is there to test just a subset of packages instead of the ~400 packages.