Skip to content
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

Fix compilation issues in example-plugins #83258

Merged

Conversation

pugnascotia
Copy link
Contributor

Commit 051e1d6 broke a couple of the example plugins
project, so get them working again.

@pugnascotia pugnascotia added >non-issue :Core/Infra/Plugins Plugin API and infrastructure v8.0.0 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport-and-merge v8.1.0 v7.17.1 labels Jan 28, 2022
@pugnascotia pugnascotia requested a review from arteam January 28, 2022 12:44
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jan 28, 2022
@elasticmachine
Copy link
Collaborator

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

@pugnascotia pugnascotia removed the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jan 28, 2022
Copy link
Contributor

@arteam arteam left a comment

Choose a reason for hiding this comment

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

LGTM!

@pugnascotia pugnascotia added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jan 28, 2022
@cbuescher
Copy link
Member

Sorry for the noise, just catching up on this. I'm curious about why we didn't get these errors on CI when running it on the PR that introduced this change (i.e. #78621)

@pugnascotia
Copy link
Contributor Author

Looks like CI only builds the example plugins if the directory has changed, or any of the build related directories at the top-level have changed. But that's clearly not working because the example plugins depend on the server code, so we need to look at changing that.

cc @mark-vieira

@elasticsearchmachine elasticsearchmachine merged commit 5f98acc into elastic:master Jan 28, 2022
@pugnascotia pugnascotia deleted the fix-example-plugins branch January 28, 2022 13:50
pugnascotia added a commit to pugnascotia/elasticsearch that referenced this pull request Jan 28, 2022
Commit 051e1d6 broke a couple of the
example plugins project, so get them working again.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.0
7.17

pugnascotia added a commit to pugnascotia/elasticsearch that referenced this pull request Jan 28, 2022
Commit 051e1d6 broke a couple of the
example plugins project, so get them working again.
@cbuescher
Copy link
Member

@pugnascotia thanks for fixing, I don't think this needs to go to 8.0 and 7.17 though since the change causing this was only merged to 8.1 and we don't intend to backport there.

@pugnascotia
Copy link
Contributor Author

@cbuescher OK, I close the backport PRs. I was partly doing that because the other branches also contain a typo in the example plugins build file, but I'll fix that separately.

weizijun added a commit to weizijun/elasticsearch that referenced this pull request Jan 31, 2022
* upstream/master: (100 commits)
  Avoid duplicate _type fields in v7 compat layer (elastic#83239)
  Bump bundled JDK to 17.0.2+8 (elastic#83243)
  [DOCS] Correct header syntax (elastic#83275)
  Add unit tests for indices.recovery.max_bytes_per_sec default values (elastic#83261)
  [DOCS] Add note that write indices are not replicated (elastic#82997)
  Add notes on indexing to kNN search guide (elastic#83188)
  Fix get-snapshot-api :docs:integTest (elastic#83273)
  FilterPathBasedFilter support match fieldname with dot (elastic#83178)
  Fix compilation issues in example-plugins (elastic#83258)
  fix ClusterStateListener javadoc (elastic#83246)
  Speed up Building Indices Lookup in Metadata (elastic#83241)
  Mute whole suite for elastic#82502 (elastic#83252)
  Make PeerFinder log messages happier (elastic#83222)
  [Docs] Add supported _terms_enum field types (elastic#83244)
  Add an aggregator for IPv4 and IPv6 subnets (elastic#82410)
  [CI] Fix 70_time_series/default sort yaml test failures (elastic#83217)
  Update test-failure Issue Template to include "needs:triage" label elastic#83226
  Add an index->step cache to the PolicyStepsRegistry (elastic#82316)
  Improve support for joda datetime to java datetime transition in Painless (elastic#83099)
  Fix joda migration for week based methods in Painless (elastic#83232)
  ...

# Conflicts:
#	x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/v2/TransportRollupAction.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Core/Infra/Plugins Plugin API and infrastructure >non-issue Team:Core/Infra Meta label for core/infra team v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants