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 CI #484

Merged
merged 16 commits into from
Feb 6, 2024
Merged

Fix CI #484

merged 16 commits into from
Feb 6, 2024

Conversation

fmhoeger
Copy link
Contributor

@fmhoeger fmhoeger commented Jan 30, 2024

This PR makes the CI tests pass again.

  • Support Python versions 3.8, 3.9, 3.10, 3.11, and 3.12
  • Move plugins whose tests do not pass into new archived subdirectory. These are: autopilot, backup, commando, donations, drain, feeadjuster, helpme, historian, jitrebalance, noise, paytest, probe, prometheus, rebalance, summary.
  • Update Dockerfile CLN_VERSION to 23.11.2
  • Add bitcoind-version 26.0 to matrix
  • Add cln-version v23.11 and master branch to matrix
  • Remove references to DEVELOPER env var
  • Use ubuntu-22.04 image for CI completion job
  • Update packages in pyproject.toml and poetry.lock
  • Update Python versions in README

Copy link
Collaborator

@chrisguida chrisguida left a comment

Choose a reason for hiding this comment

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

Thanks for working on this!

I think I want to move the unmaintained plugins into a section called "Unmaintained". "Archive" doesn't really seem like the right place for plugins that we want to remove from testing but may become maintained again, once the maintainers return.

From @cdecker :

No, I think we should a) ping authors when things break, b) exclude from testing if it doesn't get fixed in a timely manner (it is distracting for other plugin devs), followed by c) archival (move it out of the main directly) and finally d) deletion if there is no volunteer to maintain the plugin.

I think of us as repo maintainers, not plugin maintainers. Our job is to guide others through the process of developing and publishing their plugin, ensuring quality standards and safety concerns are addressed, but we aren't the ones responsible for addressing them. Does that make sense?

So, I think the best strategy is to move the plugins into "Unmaintained" for now, and create a new section on the README that identifies these plugins.

At the same time we can ping the plugin maintainers to update their plugins, and hopefully they will return.

@chrisguida
Copy link
Collaborator

@fmhoeger another thing, can you revert the changes I made to the demoted plugins? It will be disorienting for maintainers when they come back to fix their plugins and the code has changed.

@chrisguida chrisguida mentioned this pull request Feb 1, 2024
@mergify mergify bot dismissed chrisguida’s stale review February 1, 2024 21:18

Pull request has been modified.

@daywalker90
Copy link
Contributor

I added some commits in a PR here https://github.com/fmhoeger/plugins/pull/1 is that a good way to contribute?

@chrisguida
Copy link
Collaborator

@daywalker90 yes, this is very helpful, thanks!! Let's add that in as a separate PR, because the focus of this PR is just to get the CI up and running again. New features should go in separately.

This was referenced Feb 4, 2024
@chrisguida
Copy link
Collaborator

@fmhoeger this is great! Unfortunately it looks like someone has updated rebalance.py on master in the meantime... Can you go ahead and rebase this please? Maybe rebalance no longer needs to be considered unmaintained?

@fmhoeger
Copy link
Contributor Author

fmhoeger commented Feb 6, 2024

@fmhoeger this is great! Unfortunately it looks like someone has updated rebalance.py on master in the meantime... Can you go ahead and rebase this please? Maybe rebalance no longer needs to be considered unmaintained?

@chrisguida OK, rebased just now. Will check if the tests pass for rebalance.

@fmhoeger
Copy link
Contributor Author

fmhoeger commented Feb 6, 2024

@fmhoeger this is great! Unfortunately it looks like someone has updated rebalance.py on master in the meantime... Can you go ahead and rebase this please? Maybe rebalance no longer needs to be considered unmaintained?

@chrisguida OK, rebased just now. Will check if the tests pass for rebalance.

@chrisguida Tests for rebalance still don't pass after the rebase. So we need to keep it in 'Unmaintained' for the time being.

@chrisguida
Copy link
Collaborator

chrisguida commented Feb 6, 2024

Ok, thanks!

Also, can you please move "unmaintained" back to "archived"?

I'm just realizing that "archived" and "unmaintained" appear to be the same thing cf96eb6#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L182

Otherwise, can you just make Unmaintained lowercase?

@chrisguida
Copy link
Collaborator

Update text and links for archived plugins in README
@chrisguida
Copy link
Collaborator

@cdecker this is ready to go.

For the merge, should we do:

  1. Merge commit as is
  2. Merge commit after squashing some things
  3. Squash into one commit

?

@mergify mergify bot merged commit 9218629 into lightningd:master Feb 6, 2024
14 checks passed
@chrisguida
Copy link
Collaborator

chrisguida commented Feb 6, 2024

Oh hmm, I guess mergify merged it after my approval.... whoops

@cdecker let us know if you want us to clean up the commit history on master

@m-schmoock
Copy link
Member

Oh hmm, I guess mergify merged it after my approval.... whoops

:D

@m-schmoock
Copy link
Member

@chrisguida The workflow badge still shows failing, even though the last master run was green. Maybe the badge should be changed, not shure though: #489

@gallizoltan
Copy link
Collaborator

What good should I do to get back the rebalance plugin?

@chrisguida
Copy link
Collaborator

@gallizoltan Just submit a PR that takes it out of archived and fixes the tests such that it passes CI, like this PR: #495

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

Successfully merging this pull request may close these issues.

5 participants