Closed UlisesGascon closed 8 months ago
Yes, I fixed that a long time ago, also in this repo too, which is probably why you cannot reproduce it while running tests locally from clone?
Great point @dougwilson. Now I am thinking that maybe is because CITGM is using 4.18.2
and the patch in body-parser@1.20.2
is not yet released within express? π€
unreleased
==========
* Fix routing requests without method
* deps: body-parser@1.20.2
- Fix strict json error message on Node.js 19+
- deps: content-type@~1.0.5
- deps: raw-body@2.5.2
4.18.2 / 2022-10-08
===================
* Fix regression routing a large stack in a single route
* deps: body-parser@1.20.1
- deps: qs@6.11.0
- perf: remove unnecessary object clone
* deps: qs@6.11.0
Oh, interesting. I guess that is true, if citgm uses published vereion it wouldn't be there. I was confused bc I saw the log saying downloading from github.com. I guess we can queue up a parch release quickly to make it available to citgm, without going through the minor release timeline.
Yeah, a patch release sounds great π
Could we maybe do a release as a group on video? One of the things we're gonna need to get better at is training people and how to do these things safely and with the correct procedure. This seems like a good one to get started with.
Oh, ok, good thing you mentioned! I wqs gonna try and squeeze it in today so we could get the citgm checked off, but I can hold off for us to find a time and day to do it together.
Obviously we want to land the 5 release soonish, but other than that do we have anything pending to use as an example to record for educational purposes?
This was just to make a patch for 4 for citgm to use. Happy to do whatever. I have to leave in about 45 mins, and was on to do this patch before the work week starts and I get more limited, but happy to di whatever we want, just let me know. I'll keep holding until I hear more.
To circle back, there was not time today to finish the CICD and also record this release. We will try and get a recording in a future release, so going to mark my comments and the rest as off topic. Sorry for delaying it.
Curent status
We are just waiting for this PR to be merged, the CI is passing π₯³
This is officially completed! Express.js is back to the CITGM! π
Hi team! I was researching a bit about the current issues with CITGM, there is a PR https://github.com/nodejs/citgm/pull/977 open to re-add express, but one of the tests is failling.
How to reproduce?
nvm use 20.11.0
npm i -g citgm
citgm express
What is the error?
I was not able to reproduce this error while running the tests locally from a express clone, but after doing a bit of research seems like it is related to https://github.com/expressjs/body-parser/commit/368a93a613a1ac6cbdec9694f4018e707b3c1f50 ?
As a side note, I will update the CI to include the most recent Node.js versions: