Skip to content

chore(java): fix typos #14859

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

Merged
merged 1 commit into from
Jul 13, 2025
Merged

chore(java): fix typos #14859

merged 1 commit into from
Jul 13, 2025

Conversation

jbampton
Copy link
Member

Just one typo fixed in many places

Description

Just one typo fixed in many places
Copy link

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

Copy link

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!

@github-actions github-actions bot added the Stale label Jul 13, 2025
@dweiss dweiss added this to the 11.0.0 milestone Jul 13, 2025
@dweiss dweiss merged commit 4a34692 into apache:main Jul 13, 2025
8 checks passed
@dweiss
Copy link
Contributor

dweiss commented Jul 13, 2025

Thank you!

dweiss added a commit to dweiss/lucene that referenced this pull request Jul 14, 2025
dweiss added a commit that referenced this pull request Jul 14, 2025
@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

I had to revert this, unfortunately - the builds started to go crazy after this change. Something depends on this spelling mistake. Here is an example:

https://jenkins.thetaphi.de/job/Lucene-MMAPv2-Windows/2354/

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

If you can look into this again and correct this behavior - please file another PR. Thank you and sorry!

@uschindler
Copy link
Contributor

Did you figure out why this was not detected by the Github runners?

Actually all Jenkins builds fail. I was thinking it is maybe the length of the text string which causes the highlighter to produce a different fragment.

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

No, I'm on holidays and only occasionally checking email. It is surprising that it failed on jenkins but not on the CI - let me take a look.

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

Something is definitely not right because that test... failed in the CI but the build passed. I'm looking at it.

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

It's a build system regression that caused the CI to pass: #14944

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

I've reapplied this patch here:
#14945

@jbampton jbampton deleted the fix-typos branch July 14, 2025 11:36
@msokolov
Copy link
Contributor

This is bewildering ... I guess there is some kind of megaflux capacitor quantum entanglement between this typo fix and the halt-on-failure fix?

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

Good one. :) This patch showed a green CI status so I merged it in. But if you go and check the logs, it actually failed the test -
image

This can also be the case with other PRs against main, sadly. I switched the default on one of the test-task control flags while rewriting the code. Errare humanum est.

@dweiss
Copy link
Contributor

dweiss commented Jul 14, 2025

As for explaining why CI jobs on jenkins failed - this is due to the fact that Jenkins parses test output XMLs (I believe) and it detects test failures in addition to looking at the overall build status.

@uschindler
Copy link
Contributor

uschindler commented Jul 14, 2025

It also does not use all of the system properties you changed, but passes cmd line option "--continue" to gorefully proceed with all tasks.

/home/jenkins/workspace/Lucene-main-Linux/gradlew -Dtests.haltonfailure=false -Dtests.badapples=false --continue --stacktrace check

And yes, at end it finds test XML files and reports failures. There's also a difference. If exit code is non success build gets marked as failed, otherwise it gets yellow and reports only test failures (see above).

@uschindler
Copy link
Contributor

The latter is nice, because one can quickly see that compilation failed vs. only tests failed on the indicator.

@msokolov
Copy link
Contributor

ah thanks for explaining; we were passing builds even though there were failing tests, so the highlighting test typo fix PR looked green and we merged it, phew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants