Skip to content

Conversation

@ldematte
Copy link
Contributor

Relates to ES-10795

Some minor overlap with #122591 and #122406, I will solve both during merges

@ldematte ldematte added >non-issue :Core/Infra/Core Core issues without another label auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 labels Feb 18, 2025
@ldematte ldematte marked this pull request as ready for review February 18, 2025 08:50
@ldematte ldematte requested a review from a team as a code owner February 18, 2025 08:50
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Feb 18, 2025
}
}

static class DummyFileChannel extends FileChannel {
Copy link
Contributor

@mosche mosche Feb 18, 2025

Choose a reason for hiding this comment

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

Wondering, that's a lot of code to just test close and it's not directly obvious what this is used for. Maybe add a comment or is it simpler in the end to create a channel via the entitled plugin?

Copy link
Contributor

Choose a reason for hiding this comment

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

Wait, makes sense, I misread the test... we reject subclassing 👍

Copy link
Contributor

@mosche mosche left a comment

Choose a reason for hiding this comment

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

lgtm if tests pass

@ldematte
Copy link
Contributor Author

ldematte commented Feb 18, 2025

lgtm if tests pass

Test won't pass until we merge #122656 at least, and I also suspect I need more policies from #122591 too. In order to reduce churn, I'll wait for both to be merged, resolve conflicts and then merge this one.

@ldematte ldematte added :Core/Infra/Entitlements Entitlements infrastructure and removed :Core/Infra/Core Core issues without another label labels Feb 19, 2025
@ldematte ldematte enabled auto-merge (squash) February 19, 2025 22:08
@ldematte ldematte merged commit a4c7d29 into elastic:main Feb 19, 2025
22 checks passed
@ldematte ldematte deleted the entitlements/nio-channels branch February 19, 2025 22:18
@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 122816

ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 19, 2025
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 20, 2025
elasticsearchmachine pushed a commit that referenced this pull request Feb 20, 2025
…122591) (#122986)

* [Entitlements] Add check functions for NIO Files (#122591)

* [Entitlements] Instrumentation of NIO file channels (#122816)

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 20, 2025
 and elastic#122591) (elastic#122986)

* [Entitlements] Add check functions for NIO Files (elastic#122591)

* [Entitlements] Instrumentation of NIO file channels (elastic#122816)

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Feb 20, 2025
…122591) (#122986) (#122993)

* [Entitlements] Add check functions for NIO Files (#122591)

* [Entitlements] Instrumentation of NIO file channels (#122816)

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>
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