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

Announce forthcoming requirement of Java 11 #6092

Merged
merged 14 commits into from
Apr 16, 2022

Conversation

basil
Copy link
Member

@basil basil commented Dec 21, 2021

Warn users who run Jenkins with a deprecated Java version of the forthcoming Java 8 EOL. The date has not yet been finalized, hence this PR being in draft state. For the sake of example, I have chosen Flag Day 2022. Once stakeholders like @MarkEWaite have made the decision, this PR can be updated with the final date.

Proposed changelog entries

Add an administrative monitor announcing the forthcoming requirement of Java 11.

Proposed upgrade guidelines

N/A

Submitter checklist

  • (If applicable) Jira issue is well described
  • Changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developer, depending on the change) and are in the imperative mood. Examples
    • Fill-in the Proposed changelog entries section only if there are breaking changes or other changes which may require extra steps from users during the upgrade
  • Appropriate autotests or explanation to why this change has no tests
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadoc, as appropriate.
  • For dependency updates: links to external changelogs and, if possible, full diffs

Desired reviewers

@mention

Maintainer checklist

Before the changes are marked as ready-for-merge:

  • There are at least 2 approvals for the pull request and no outstanding requests for change
  • Conversations in the pull request are over OR it is explicit that a reviewer does not block the change
  • Changelog entries in the PR title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood
  • Proper changelog labels are set so that the changelog can be generated automatically
  • If the change needs additional upgrade steps from users, upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the PR title. (example)
  • If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

@basil basil added the work-in-progress The PR is under active development, not ready to the final review label Dec 21, 2021
@daniel-beck
Copy link
Member

daniel-beck commented Dec 21, 2021

The problem with re-using an admin monitor is that the original one may have been dismissed already, so the new message will never show up for existing instances. That's why I wanted two monitors for #5337, to have the second one show up again once the admin sets up a cloud or agents, even if the first one had been dismissed before.

@basil
Copy link
Member Author

basil commented Dec 21, 2021

OK, so should we automatically "un-dismiss" the original dismissal to display this new warning, or just copy-paste the existing monitor into a new one?

@daniel-beck
Copy link
Member

daniel-beck commented Dec 21, 2021

OK, so should we automatically "un-dismiss" the original dismissal to display this new warning, or just copy-paste the existing monitor into a new one?

IMO the latter, but perhaps we can minimize the duplication by subclassing or similar?

Alternatively, if the old message is now entirely obsolete, the class could just be renamed (or perhaps just an ID changed?) to make previous dismissals irrelevant. Then it would show up for everyone (again) with the new message.

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

nice, updating the ID should be enough imo to force it to be re-triggered

@basil
Copy link
Member Author

basil commented Dec 21, 2021

or perhaps just an ID changed?

Done

@basil basil requested a review from timja December 21, 2021 15:24
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

lgtm pending date

…minMonitor.java

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
@basil
Copy link
Member Author

basil commented Dec 21, 2021

@MarkEWaite When you have a date, can you please open a suggestion against this PR with the final date? Then I will mark this PR as ready for review.

@jglick
Copy link
Member

jglick commented Dec 22, 2021

see #6083

@basil
Copy link
Member Author

basil commented Dec 25, 2021

Has the feedback from this review been addressed? If so, is there a reason this PR has not yet been approved?

@timja
Copy link
Member

timja commented Dec 25, 2021

Has the feedback from this review been addressed? If so, is there a reason this PR has not yet been approved?

Just waiting on a date which will probably be the weekly one not the LTS one good apart from that

@basil
Copy link
Member Author

basil commented Dec 25, 2021

Just waiting on a date

I was addressing Daniel, but I explicitly noted in the PR description that deciding on the date is explicitly out of scope for this PR. (I saw that you started a separate mailing list thread about the date, which makes sense.) So I see no reason why this PR could not be approved pending a final decision regarding the date.

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

Fine to me pending date

@basil basil added rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted and removed work-in-progress The PR is under active development, not ready to the final review labels Mar 13, 2022
@basil basil marked this pull request as ready for review March 13, 2022 21:07
@basil basil requested a review from MarkEWaite March 13, 2022 21:08
@jglick
Copy link
Member

jglick commented Mar 14, 2022

@basil
Copy link
Member Author

basil commented Apr 15, 2022

Requesting a review from @MarkEWaite yet again. I have responded to every piece of feedback that has been left so far, including conceding to a September date, so I am not sure what action items remain for approval of this PR. I note that Mark did approve jenkinsci/packaging#306, which is along the lines of this PR but more vague (i.e., "in the future" rather than "in September"). I could possibly go in that direction, but I do not like vagueness and I will not do so unless requested to do so.

Mark, could you please indicate clearly what action items remain from your perspective in order for this PR to be approved? I am happy to discuss this in whatever forum you deem appropriate: core pull request, JEP pull request, developer mailing list, community forum, SIG meeting, personal communication, etc. If there is a specific action item to be taken on my side, I am happy to take it. An explicit response will help me understand where we are in the process and where to focus going forward.

Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

No action items needed from my perspective. I think we're ready to declare that the September 2022 LTS release will require Java 11 or newer.

@basil basil requested a review from a team April 15, 2022 17:19
@basil basil added ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback skip-changelog Should not be shown in the changelog labels Apr 15, 2022
@basil
Copy link
Member Author

basil commented Apr 15, 2022

This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!

@basil basil added upgrade-guide-needed This changes might be breaking in rare circumstances, an entry in the LTS upgrade guide is needed and removed upgrade-guide-needed This changes might be breaking in rare circumstances, an entry in the LTS upgrade guide is needed labels Apr 15, 2022
@basil
Copy link
Member Author

basil commented Apr 15, 2022

I added a proposed changelog entry reading "Add an administrative monitor announcing the forthcoming Java 8 EOL." Happy to adjust this based on feedback.

@basil basil changed the title Announce forthcoming Java 8 EOL Announce forthcoming requirement of Java 11 Apr 15, 2022
@basil basil merged commit 8becb71 into jenkinsci:master Apr 16, 2022
@basil basil deleted the java-deprecation branch April 16, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted skip-changelog Should not be shown in the changelog
Projects
None yet
5 participants