Skip to content

Conversation

@prdoyle
Copy link
Contributor

@prdoyle prdoyle commented Feb 20, 2025

The remaining miscellaneous file entitlements for classes outside java.base.

See ES-10906.

@prdoyle prdoyle added >non-issue auto-backport Automatically create backport pull requests when merged test-entitlements v8.18.1 v8.19.0 v9.0.1 v9.1.0 :Core/Infra/Entitlements Entitlements infrastructure labels Feb 20, 2025
@prdoyle prdoyle self-assigned this Feb 20, 2025
@prdoyle prdoyle requested a review from a team as a code owner February 20, 2025 21:48
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Feb 20, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

dependencies {
compileOnly project(':server')
compileOnly project(':libs:logging')
compileOnly project(":libs:entitlement")
Copy link
Contributor

Choose a reason for hiding this comment

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

Not blocking, but I wonder why you had to add this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I don't need it anymore. I can remove it.

In an earlier draft, I had one of the tests catch NotEntitledException to make sure that the right part of the test was throwing. That turned out not to be necessary in the end.

Copy link
Contributor

@ldematte ldematte left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple of questions

requires org.elasticsearch.server;
requires org.elasticsearch.base;
requires org.elasticsearch.logging;
requires org.elasticsearch.entitlement;
Copy link
Contributor

Choose a reason for hiding this comment

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

Again not blocking, but I wonder why you had to add this?

@prdoyle prdoyle enabled auto-merge (squash) February 21, 2025 12:40
@prdoyle prdoyle merged commit afd7e4e into elastic:main Feb 21, 2025
22 checks passed
prdoyle added a commit to prdoyle/elasticsearch that referenced this pull request Feb 21, 2025
* Misc non-java.base file entitlements

* Remove unnecessary dependency
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.18 Commit could not be cherrypicked due to conflicts
8.x Commit could not be cherrypicked due to conflicts
9.0

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 123078

prdoyle added a commit to prdoyle/elasticsearch that referenced this pull request Feb 21, 2025
* Misc non-java.base file entitlements

* Remove unnecessary dependency
@prdoyle
Copy link
Contributor Author

prdoyle commented Feb 21, 2025

8.x backport is #123154.

@prdoyle prdoyle deleted the es-10796 branch February 21, 2025 15:05
elasticsearchmachine pushed a commit that referenced this pull request Feb 21, 2025
* Misc non-java.base file entitlements

* Remove unnecessary dependency
elasticsearchmachine pushed a commit that referenced this pull request Feb 21, 2025
* Misc non-java.base file entitlements

* Remove unnecessary dependency
prdoyle added a commit to prdoyle/elasticsearch that referenced this pull request Feb 21, 2025
* Misc non-java.base file entitlements

* Remove unnecessary dependency
elasticsearchmachine pushed a commit that referenced this pull request Feb 21, 2025
* Misc non-java.base file entitlements

* Remove unnecessary dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Core/Infra/Entitlements Entitlements infrastructure >non-issue Team:Core/Infra Meta label for core/infra team v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants