-
Notifications
You must be signed in to change notification settings - Fork 79
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
Preparation work for 4.31 (2024-03) and open master for development #1557
Preparation work for 4.31 (2024-03) and open master for development #1557
Comments
@MohananRahul can you please make sure that for this release the If this works this should automate a big portion of the work and therefore speed it up. @laeubi since you created these workflows, can you please again give a summary what needs to be done or point to where it has been described? IIRC the workflows are triggered by closing the GH milestones? |
A while back I added a readme for the workflows here: so if anything is unclear or should be documented please add it there.
Beside that it might that are other glitches, I once have created a workflow to automatically update the news here: this is to make the N&N automatically update but it has for sure not been tested after the move and based on shell scripts, so maybe one wants to make a test if the pathes are all still correct and the shell script works for the new layout. |
Wouldn't it be more suitable to trigger the workflow if the maintenance branch is created?
Agree on this. 👍🏽 @MohananRahul can you please confirm that you consider to use these workflows for that task? |
The workflow is for the master not for the maintenance branch. Also the maintenance branch name itself does not contain enough information but only the milestones does (e.g. end-date). |
Sure it is for the master. Creating the maintenance should only be the trigger to create the necessary version bumps for the master (at the moment the maintenance branch is created that branch and the master usually point to the same commit any ways, so it is mainly a question against which branch to create the PR). Why is the end-date relevant? |
If you look at https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/eclipse-platform-parent/pom.xml it has two "variables" for each release:
where only the second might be reconstructed from a branch name easily. and that's what is extracted by the workflow here So if one wants to automate that more, a milestone should better trigger the maintenance and what else is desired, if something goes wrong its also easier to recreate a milestone, also milestone have states, so closing of a milestone can even trigger more actions all this is not possible for a branch where only the name has a quite weak meaning... Please also note that the |
The prepare workflow runs successful here but for example PDE failed this is due usage of (vanished) SNAPSHOT version of Tycho, fixed here: I'll now merge this and try to trigger the workflow for PDE again to verify it is working, for this I need to delete the Milestone once and will recreate it afterwards. |
PDE Milestone is recreated and workflow is running now: PR was successful created: will now do the same for P2/Equinox... |
@laeubi where I need to check update release workflow run ? |
P2 Workflow is running: PR is here: Equinox has missing the workflow at all, created: Equinox Workflow is running: But it seems it uses non trivial ant stuff/setup so automatic bump does not work, I would recommend to do it manually there for this release and investigate this independently (but we can wait untill the workflow is done I'm not sure if it will create PR with things that worked anyways ...), will now do Platform/UI.
You can go to the repository (e.g. PDE) then click on the Actions Tab and you will (if setup) see Update to next release entry (for PDE one failed and now one with success). |
Platform Workflow run now: PR: Platform UI Workflow runs now: PR: @MohananRahul can you add a task for the next preparation todo list that we check to update Maven/Tycho versions for these workflows? I think we should (maybe at RC1) simply upgrade to maven/Tycho used in regular platform builds there. |
For the news: https://github.com/eclipse-platform/www.eclipse.org-eclipse it seems actions are not enabled for that repository, @akurtakov @vogella can any of you enable that directly or create a help desk ticket? @MohananRahul It seems the old milestones are not closed for that repository: https://github.com/eclipse-platform/www.eclipse.org-eclipse/milestones |
es Sure, and will update release.md, for remaining repo will create bump manually. |
JDT is not using the workflows and I have no committer power there, so if anyone is interested to enable this for JDT here are the steps:
After that the workflow should run and create a PR if everything works fine. |
SWT, due to its special structure also requires manual bumps currently, maybe also SWT binaries ... once @HannesWell has enabled LFS and we merged binaries with main swt repo I can propose a new Tycho based build to maybe support this in the future. |
@MohananRahul if you notice anything else that could/should be automated after these workflows have run please add an issue in this repository so we can track it and hopefully tackle for next release. |
This might be merged before we do any further changes to the doc bundles: |
I think we are supposed to provide PRs for https://github.com/eclipse-platform/.eclipsefdn/blob/main/otterdog/eclipse-platform.jsonnet for such changes which webmaster should approve after that. I'm still not sure whether
is enough though. |
It is great to see that the workflows are running 🎉
Ah, yes. I missed the
Agree.
This would avoid the need to extra the values from a milestone due date. I think with that all the RelEng work distributed over many repositories would already be automated (expect for the special ones like SWT). |
The advantage of Milestones is that they can be created/managed without special permissions by the committers, of course one can also use the API for many tasks. But as you see it has its drawbacks (e.g. special security considerations), so one better can think on how to automate things with regular workflows if possible. e.g. a maintenance branch might be created by closing a milestone ... |
This is all right. But at the same time triggering workflows by closing/creating milestones can also be surprising. And there is already an GH-API call (I assume) to create the milestones from Jenkins and I think we won't get rid of that, even if the workflow would run entirly at GH, since (AFAIK) you cannot simply call workflows in other repositories (especially in different organizations). But however it is done, I think it is better to have this automated than doing it manually. :) |
The Job contains the credentials, so it is not that a good idea, anyways this is part of the infra/releng team and not automation, it does not really matter and bring much value to overcomplicate this now where we have a lot of other work to do, especially this time where things went wrong it was incredible useful to have a (manual) way to trigger the workflow again instead of failing completely. So maybe one can have a workflow that creates the milestones and is then trigger somehow externally but putting everything in one big workflow has it shortcomings. |
@laeubi Following the instructions for jdt repo failed https://github.com/eclipse-jdt/eclipse.jdt/actions/runs/7001093546 . |
Yes , we tried to create workflow. Seems required permission to create PR, branch got created |
It needs to be enabled on the organization see for example: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/2845 |
It's still odd that it says I closed it since I had nothing to do with the original commit... :-\ |
You merged it to master ... |
Build is unstable: https://download.eclipse.org/eclipse/downloads/drops4/I20231127-0750/
|
@iloveeclipse would you please look into org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog$PreferenceBuilder.class ? It's a real bytecode change while the FilteredPreferenceTree is lambda order bug. |
Nope, niraj-modi did (eclipse-platform/eclipse.platform.swt#907 (review)). It wasn't even my branch (https://github.com/deepika-u/eclipse.platform.swt/tree/Configure_SWT_build_scripts_for_4.31) |
The I have no clue :-D |
The change on However, I have no explanation for the difference below yet.
The "changed" It could be related to the wrongly merged eclipse-jdt/eclipse.jdt.core#1626 PR (which is not in the RC2 build but on master!), but I also don't see the extra innerclass using the unstable build itself. Also I don't see the second reference by opening class from org.eclipse.team.core_3.10.200.v20231106-1240.jar. @srikanth-sankaran , @stephan-herrmann : may I ask you to look into the difference? Expected version (also same in the old/newIDE):
"new" version (seen on unstable build only)
The logs/diffs are: |
OK, that's not compiler issue. @srikanth-sankaran , @stephan-herrmann: please sorry for the noise, and ignore my previous comment here. Edit: this below was wrong :-(
|
OK, it is compiler issue, and it is a difference between clean vs incremental compile, so basically similar to the lambda issue but not same. If I clean compile I will create a JDT ticket, but for now we probably can try to "touch" Thinking a bit more, I wonder why do we see such "order" issues on branch changes? Do we compile incrementally in most cases and "clean" compile happens on new releases only? |
@iloveeclipse I see that jdt.ui bundle has been touched but is this the correct thing to do now? Should we wait for jdt.core analysis? |
Looking at the compiler behavior I assume it falls into same category as lambda numbering problem - dependency on compilation order or scope. Therefore if "touching" bundle workarounds the problem for now, I think it is OK to go with that. |
OK, hopefully we don't find more "ordering" issues as we may have to disable comparator checks entirely if this becomes common. |
So there is no java anymore on download.eclipse.org (https://ci.eclipse.org/releng/job/akurtakov%20test/5/console) which made our scripts to fail at adding in to composite sites(https://ci.eclipse.org/releng/job/Builds/job/I-build-4.31/4/console). |
-Deploy ecj compiler from 4.30 GA and use it for 4.31 M1 build : no change in ecj version 3.36.0.v20231114-0937 All Subtask Completed |
This preparation work involves the following tasks. For previous issue please refer to-#1282
The text was updated successfully, but these errors were encountered: