Skip to content

ci: improve citgm workflows#6334

Merged
Uzlopak merged 4 commits into
mainfrom
improve-citgm
Sep 25, 2025
Merged

ci: improve citgm workflows#6334
Uzlopak merged 4 commits into
mainfrom
improve-citgm

Conversation

@Uzlopak

@Uzlopak Uzlopak commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

The citgm workflow works suboptimal.

Packages which use typescript can get typing errors which can be found in installed dev dependences when fastify is installed with npm i. So for fastify we install dependencies with --production.

CITGM uses node 20. I changed it to node 24.

the citgm workflow is only triggerable by adding the correct label. I added workflow_dispatch as trigger, so we can run the workflow also without a PR.

The label is not removed after the citgm pipeline failed. Added always() into the if-condition to run the job even if the citgm job failed.

citgm-package workflow is now more elegant when you want to trigger the workflow manually. You select the plugin, node version and operating system in drop downs.

Checklist

@github-actions github-actions Bot added the github actions Github actions related label Sep 25, 2025
Comment thread .github/workflows/citgm-package.yml Outdated
Comment thread .github/workflows/citgm-package.yml
@Uzlopak Uzlopak merged commit 1ab11bb into main Sep 25, 2025
32 of 33 checks passed
@Uzlopak Uzlopak deleted the improve-citgm branch September 25, 2025 22:52
jean-michelet pushed a commit to jean-michelet/fastify that referenced this pull request Sep 27, 2025
… error-parameter for setErrorHandler and errorHandler to unknown, but configurable via generic TError (fastify#6308)

* types: loosen setErrorHandler and errorHandler types

* set TError to unknown
add generic to errorHandler

* fix

* remove obsolte type tst

* add unit test, fix potential issue

---------

Co-authored-by: Jean <[email protected]>

build(deps-dev): remove @fastify/pre-commit (fastify#6319)

`@fastify/pre-commit` isn't configured or used in this repo as there is no `pre-commit` object in package.json. It won't run regardless as scripts are disabled.

Signed-off-by: Frazer Smith <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]>

ci: improve citgm workflows (fastify#6334)

* ci: improve citgm workflows

* fix remark

docs: explain stream error handling (fastify#5746)

* docs: explain stream error handling

* Update docs/Reference/Server.md

Co-authored-by: Matteo Collina <[email protected]>
Signed-off-by: James Sumners <[email protected]>

* Apply suggestions from code review

Co-authored-by: Frazer Smith <[email protected]>
Signed-off-by: Denys Otrishko <[email protected]>

* docs: explain stream error handling

* fix test

---------

Signed-off-by: James Sumners <[email protected]>
Signed-off-by: Denys Otrishko <[email protected]>
Signed-off-by: Aras Abbasi <[email protected]>
Co-authored-by: James Sumners <[email protected]>
Co-authored-by: Matteo Collina <[email protected]>
Co-authored-by: Frazer Smith <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]>

fix: error throwing in reply (fastify#6299)

* fix: instantiate readable stream error

* Create reply-web-stream-locked.test.js

Signed-off-by: Juan L. <[email protected]>
Signed-off-by: Juan Letamendia <[email protected]>

* fix test

---------

Signed-off-by: Juan L. <[email protected]>
Signed-off-by: Juan Letamendia <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]>

docs: create 2 frst chapters of the tutorial

docs: nit

docs: create a fastify server

docs: create basic  routes

docs: improve chapter 4

refactor: improve readability and quote examples

docs: decoration chapter public part

docs: decoration chapter public part

fix: typo

fix: typo

fix: markdown lint

docs: document internals

docs: validatio nand serialization

docs: move section mapping reminder with routes declarations

docs: add hooks chapter

docs: remove internals involved sections

docs: add error handling chapter

fix: copilot suggestions
jean-michelet pushed a commit to jean-michelet/fastify that referenced this pull request Sep 27, 2025
… error-parameter for setErrorHandler and errorHandler to unknown, but configurable via generic TError (fastify#6308)

* types: loosen setErrorHandler and errorHandler types

* set TError to unknown
add generic to errorHandler

* fix

* remove obsolte type tst

* add unit test, fix potential issue

---------

Co-authored-by: Jean <[email protected]>

build(deps-dev): remove @fastify/pre-commit (fastify#6319)

`@fastify/pre-commit` isn't configured or used in this repo as there is no `pre-commit` object in package.json. It won't run regardless as scripts are disabled.

Signed-off-by: Frazer Smith <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]>

ci: improve citgm workflows (fastify#6334)

* ci: improve citgm workflows

* fix remark

docs: explain stream error handling (fastify#5746)

* docs: explain stream error handling

* Update docs/Reference/Server.md

Co-authored-by: Matteo Collina <[email protected]>
Signed-off-by: James Sumners <[email protected]>

* Apply suggestions from code review

Co-authored-by: Frazer Smith <[email protected]>
Signed-off-by: Denys Otrishko <[email protected]>

* docs: explain stream error handling

* fix test

---------

Signed-off-by: James Sumners <[email protected]>
Signed-off-by: Denys Otrishko <[email protected]>
Signed-off-by: Aras Abbasi <[email protected]>
Co-authored-by: James Sumners <[email protected]>
Co-authored-by: Matteo Collina <[email protected]>
Co-authored-by: Frazer Smith <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]>

fix: error throwing in reply (fastify#6299)

* fix: instantiate readable stream error

* Create reply-web-stream-locked.test.js

Signed-off-by: Juan L. <[email protected]>
Signed-off-by: Juan Letamendia <[email protected]>

* fix test

---------

Signed-off-by: Juan L. <[email protected]>
Signed-off-by: Juan Letamendia <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]>

docs: create 2 frst chapters of the tutorial

docs: nit

docs: create a fastify server

docs: create basic  routes

docs: improve chapter 4

refactor: improve readability and quote examples

docs: decoration chapter public part

docs: decoration chapter public part

fix: typo

fix: typo

fix: markdown lint

docs: document internals

docs: validatio nand serialization

docs: move section mapping reminder with routes declarations

docs: add hooks chapter

docs: remove internals involved sections

docs: add error handling chapter

fix: copilot suggestions
@github-actions

Copy link
Copy Markdown

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 Mar 21, 2026
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.

2 participants