Skip to content

ci: CITGM github workflow#5233

Merged
mcollina merged 9 commits intofastify:mainfrom
Uzlopak:citgm
Dec 26, 2023
Merged

ci: CITGM github workflow#5233
mcollina merged 9 commits intofastify:mainfrom
Uzlopak:citgm

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Dec 25, 2023

I created a CITGM github workflow as a PoC. This one is to run the core plugins.

You could trigger the workflow by assigning the "citgm-core-plugins" label to a PR.

We could add community-plugins and maybe projects like platformatic in other github workflows.

We could also trigger it via workflow dispatch, if we want.

See following action run result:
https://github.com/Uzlopak/fastify/actions/runs/7323976506

This workflow could mean, that we should change our release process. Curerntly @mcollina is updating the version in package.json and directly committing it. With citgm workflows in place, it would make sense to create a PR for updating the version in the package.json, then trigger citgm workflows. If its green, we merge the PR etc..

Currently some of the cases with databases fail. We could check if we add a npm script to those to spawn a database docker container?! fixed

Some cases fail already, lol. My CITGM successfully detected incompatibilities... e.g. @fastify/throttle seems to be broken because we added detection of mixed callback and async await usage. fixed

Currently only node lts and ubuntu-latest is used. We should obviously discuss about using more node versions and add windows and macos. But as long the ubuntu and node lts tests are not green, and we did not agree on using this github workflow I would add them gradually after agreeing on using this approach.

Looking forward for your feedback ;).

Checklist

@github-actions github-actions bot added the github actions Github actions related label Dec 25, 2023
@Uzlopak Uzlopak requested a review from a team December 25, 2023 20:02
@Uzlopak Uzlopak changed the title CITGM github workflow ci: CITGM github workflow Dec 25, 2023
@Uzlopak
Copy link
Contributor Author

Uzlopak commented Dec 25, 2023

@Uzlopak Uzlopak force-pushed the citgm branch 5 times, most recently from 163d493 to 8e5335b Compare December 26, 2023 01:44
@Uzlopak
Copy link
Contributor Author

Uzlopak commented Dec 26, 2023

@galvez
fastify-vite has no tests :/

@galvez
Copy link
Member

galvez commented Dec 26, 2023

It does, it's just not integrated yet — let me try and move that task up in my queue...

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Dec 26, 2023

I invested alot of time, but I could not find a proper solution for fastify-funky. So I propose a workaround.

@galvez I just commented out fastify-vite till it can run tests via npm t

If we merge the the remaining 3 PRs mentioned above, the citgm workflow would be green for ubuntu and node 20.
We could then use node 21 and node 18 and see if we detect more issues.

@Uzlopak Uzlopak force-pushed the citgm branch 13 times, most recently from 258101e to 785a594 Compare December 26, 2023 06:20
@Eomm Eomm mentioned this pull request Aug 16, 2024
2 tasks
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

github actions Github actions related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants