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

restore code coverage #4841

Merged
merged 16 commits into from Jul 12, 2023
Merged

restore code coverage #4841

merged 16 commits into from Jul 12, 2023

Conversation

mcollina
Copy link
Member

@mcollina mcollina commented Jun 21, 2023

After #4691 landed, code coverage has been broken across all builds.
This PR fixes it by:

  1. working around a memory leak in Node.js v20 which forces us to call .close() every time. Hopefully this will be fixed in v20.5, but we will see.
  2. Moving away from nyc and adopting c8 instead.

Checklist

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina mcollina requested review from Fdawgs and Uzlopak June 25, 2023 09:36
@mcollina
Copy link
Member Author

PTAL, this should be good to go.

Signed-off-by: Matteo Collina <hello@matteocollina.com>
@Fdawgs
Copy link
Member

Fdawgs commented Jun 25, 2023

This is to accommodate Node 20 changes, right?

@mcollina
Copy link
Member Author

If it passes, yes.

@Fdawgs Fdawgs changed the title Use a real node option instead of a bogus one test: use a real node option instead of a bogus one Jul 2, 2023
@mcollina
Copy link
Member Author

mcollina commented Jul 6, 2023

We have made progress I think. With 20.4.0 we should be able to move this forward.

package.json Show resolved Hide resolved
@mcollina
Copy link
Member Author

mcollina commented Jul 7, 2023

Note that we dropped test coverage, so we should update those checks.

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina
Copy link
Member Author

mcollina commented Jul 9, 2023

The problem with supporting Node v20 is that tap and nyc do not generate code coverage reliably.

Ultimately we should switch to using c8 for code coverage - I don't think we would be able to get any of it working on top of nyc.

mcollina and others added 2 commits July 10, 2023 12:46
Signed-off-by: Matteo Collina <hello@matteocollina.com>
package.json Outdated Show resolved Hide resolved
Uzlopak and others added 2 commits July 10, 2023 12:54
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina mcollina mentioned this pull request Jul 12, 2023
2 tasks
@mcollina mcollina changed the title test: use a real node option instead of a bogus one restore code coverage Jul 12, 2023
@mcollina
Copy link
Member Author

PTAL, this is ready and passing

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@Uzlopak Uzlopak linked an issue Jul 12, 2023 that may be closed by this pull request
2 tasks
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
.taprc Show resolved Hide resolved
mcollina and others added 2 commits July 12, 2023 13:28
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
Copy link
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

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

I wish we could get some community involvement to progress tapjs/tapjs#821 and get c8 in tap.

@@ -350,7 +350,8 @@ function fastify (options) {
listeningOrigin: {
get () {
const address = this.addresses().slice(-1).pop()
/* istanbul ignore if windows: unix socket is not testable on Windows platform */
/* ignore if windows: unix socket is not testable on Windows platform */
/* c8 ignore next 3 */
Copy link
Member

Choose a reason for hiding this comment

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

🤢 c8 doesn't support specifying the exception to ignore? It only supports next and next N lines? That is going to be a real pain to maintain as code evolves.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe it got smarter over time, not sure

Copy link
Member

Choose a reason for hiding this comment

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

No, the docs indicate it is only those two possibilities.

@mcollina
Copy link
Member Author

PTAL @Eomm

@Eomm Eomm merged commit 53164c1 into main Jul 12, 2023
25 checks passed
@Eomm Eomm deleted the no-warnings2 branch July 12, 2023 16:43
@isaacs
Copy link

isaacs commented Jul 12, 2023

@jsumners

I wish we could get some community involvement to progress tapjs/tapjs#821 and get c8 in tap.

It's progressing as fast as I can progress it lol 😅 But if anyone would like to help out, I've definitely got some tasks that could use additional hands.

I've got tests passing for 90% of the subpackages now, just 3 remaining, should be done in the next week or so. Remaining work is deployment (ie, write a script that will bump and set internal dependency versions appropriately, publish anything that's changed, and bundle the appropriate dependencies of the top-level tap package), at which point you can definitely start using it in beta, and then docs and website, at which point it'll be "released".

It's not quite accurate to say that the goal is "get c8 in tap". Because C8 just sets the node v8 coverage env, it covers ALL javascript run by a program. In a typical run, this means that upwards from 99% of the contents of the coverage dir is going to be coming from node internals and deps in node_modules. Tap is hitting the v8 inspector API directly, and so it can track coverage information about the just files in your actual program. I've also been putting it through pretty demanding play testing to ensure that coverage maps always just work, no matter what combination of esm, jsx, typescript, etc. is in use.

The /* c8 ignore ... */ comments are implemented in the reporter, specifically in the v8-to-istanbul package. Eventually I do want to probably fork away from the C8 reporter and refactor all of that logic so that I can get more control over how reports get generated. C8 is very tied up in yargs patterns, and not nearly as flexible as I'd like. (For example, to get the coverage reporting to be in a reasonable spot in the output, I'm having to hijack console.error and capture the results, because there's no other way to just get a string of the report output.) Platform-specific ignores are a feature I'm also really missing.

@jsumners
Copy link
Member

It's progressing as fast as I can progress it lol 😅

Sorry if I offended. I didn't mean to. We are well aware of maintenance burden and limited time. I admit, I didn't peruse the latest updates on that issue before linking. It sounds like you have made a lot of progress recently and I look forward to the result.

If I manage to overcome some personal stresses, I'll see what I can do to help. But my main task right now is to find gainful employment.

@isaacs
Copy link

isaacs commented Jul 13, 2023

Oh! No offense taken. Just being playful, sometimes that doesn't come across in text, sorry ;)

@jsumners
Copy link
Member

Oh! No offense taken. Just being playful, sometimes that doesn't come across in text, sorry ;)

image

renovate bot added a commit to tomacheese/telcheck that referenced this pull request Jul 17, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastify](https://www.fastify.io/)
([source](https://togithub.com/fastify/fastify)) | [`4.19.2` ->
`4.20.0`](https://renovatebot.com/diffs/npm/fastify/4.19.2/4.20.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify (fastify)</summary>

###
[`v4.20.0`](https://togithub.com/fastify/fastify/releases/tag/v4.20.0)

[Compare
Source](https://togithub.com/fastify/fastify/compare/v4.19.2...v4.20.0)

#### What's Changed

- build(deps-dev): Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.28.20 to 0.29.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[fastify/fastify#4877
- Update Prototype-Poisoning.md by
[@&#8203;ed-henrique](https://togithub.com/ed-henrique) in
[fastify/fastify#4879
- docs: adjust line for linter by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[fastify/fastify#4882
- Fixed type inference on .code().send() by
[@&#8203;aadito123](https://togithub.com/aadito123) in
[fastify/fastify#4880
- chore: refactor Error-typings and tests by
[@&#8203;svrnwnsch](https://togithub.com/svrnwnsch) in
[fastify/fastify#4824
- test: add missing assertion for a test by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[fastify/fastify#4701
- chore: tests for genReqIdFactory and minor changes by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4783
- Added type definition for allowUnsafeRegex by
[@&#8203;xijdk](https://togithub.com/xijdk) in
[fastify/fastify#4792
- docs(security): update policy on ci/cd reports by
[@&#8203;jsumners](https://togithub.com/jsumners) in
[fastify/fastify#4890
- improve hooks.validate by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4804
- ci: enable caching; split jobs by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4889
- docs(plugins): note side-effect when using `await` in
`fastify.register()` by
[@&#8203;hateablestream](https://togithub.com/hateablestream) in
[fastify/fastify#4846
- \[hooks] Refine hook runners by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4805
- docs: fix wrong header size for FST_ERR_ASYNC_CONSTRAINT in Errors.md
by [@&#8203;graphiteisaac](https://togithub.com/graphiteisaac) in
[fastify/fastify#4893
- fix: rework FastifyErrors, ensure documentation completeness by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4892
- feat: add childLoggerFactory config by
[@&#8203;brettwillis](https://togithub.com/brettwillis) in
[fastify/fastify#4760
- Fix setNotFoundHandler handler type by
[@&#8203;Ethan-Arrowood](https://togithub.com/Ethan-Arrowood) in
[fastify/fastify#4897
- restore code coverage by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[fastify/fastify#4841
- fix: handle abort signal before server is ready by
[@&#8203;shayff](https://togithub.com/shayff) in
[fastify/fastify#4886
- docs(client-aborted): remove deprecated function by
[@&#8203;JekRock](https://togithub.com/JekRock) in
[fastify/fastify#4898
- Revert "docs(client-aborted): remove deprecated function
([#&#8203;4898](https://togithub.com/fastify/fastify/issues/4898))" by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[fastify/fastify#4901
- docs(logging): fix typo by
[@&#8203;yamanidev](https://togithub.com/yamanidev) in
[fastify/fastify#4905
- Support IPv6 ::1 in listeningOrigin by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[fastify/fastify#4902
- fix: extend isCustomValidatorCompiler from parent controller by
[@&#8203;tinchoz49](https://togithub.com/tinchoz49) in
[fastify/fastify#4903
- fix: allow uppercase requestdHeader by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4906

#### New Contributors

- [@&#8203;ed-henrique](https://togithub.com/ed-henrique) made their
first contribution in
[fastify/fastify#4879
- [@&#8203;svrnwnsch](https://togithub.com/svrnwnsch) made their first
contribution in
[fastify/fastify#4824
- [@&#8203;xijdk](https://togithub.com/xijdk) made their first
contribution in
[fastify/fastify#4792
- [@&#8203;hateablestream](https://togithub.com/hateablestream) made
their first contribution in
[fastify/fastify#4846
- [@&#8203;graphiteisaac](https://togithub.com/graphiteisaac) made their
first contribution in
[fastify/fastify#4893
- [@&#8203;shayff](https://togithub.com/shayff) made their first
contribution in
[fastify/fastify#4886
- [@&#8203;JekRock](https://togithub.com/JekRock) made their first
contribution in
[fastify/fastify#4898
- [@&#8203;yamanidev](https://togithub.com/yamanidev) made their first
contribution in
[fastify/fastify#4905
- [@&#8203;tinchoz49](https://togithub.com/tinchoz49) made their first
contribution in
[fastify/fastify#4903

**Full Changelog**:
fastify/fastify@v4.19.2...v4.20.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/tomacheese/telcheck).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuOC4xMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to redwoodjs/redwood that referenced this pull request Jul 18, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastify](https://www.fastify.io/)
([source](https://togithub.com/fastify/fastify)) | [`4.19.2` ->
`4.20.0`](https://renovatebot.com/diffs/npm/fastify/4.19.2/4.20.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify (fastify)</summary>

###
[`v4.20.0`](https://togithub.com/fastify/fastify/releases/tag/v4.20.0)

[Compare
Source](https://togithub.com/fastify/fastify/compare/v4.19.2...v4.20.0)

#### What's Changed

- build(deps-dev): Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.28.20 to 0.29.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[fastify/fastify#4877
- Update Prototype-Poisoning.md by
[@&#8203;ed-henrique](https://togithub.com/ed-henrique) in
[fastify/fastify#4879
- docs: adjust line for linter by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[fastify/fastify#4882
- Fixed type inference on .code().send() by
[@&#8203;aadito123](https://togithub.com/aadito123) in
[fastify/fastify#4880
- chore: refactor Error-typings and tests by
[@&#8203;svrnwnsch](https://togithub.com/svrnwnsch) in
[fastify/fastify#4824
- test: add missing assertion for a test by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[fastify/fastify#4701
- chore: tests for genReqIdFactory and minor changes by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4783
- Added type definition for allowUnsafeRegex by
[@&#8203;xijdk](https://togithub.com/xijdk) in
[fastify/fastify#4792
- docs(security): update policy on ci/cd reports by
[@&#8203;jsumners](https://togithub.com/jsumners) in
[fastify/fastify#4890
- improve hooks.validate by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4804
- ci: enable caching; split jobs by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4889
- docs(plugins): note side-effect when using `await` in
`fastify.register()` by
[@&#8203;hateablestream](https://togithub.com/hateablestream) in
[fastify/fastify#4846
- \[hooks] Refine hook runners by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4805
- docs: fix wrong header size for FST_ERR_ASYNC_CONSTRAINT in Errors.md
by [@&#8203;graphiteisaac](https://togithub.com/graphiteisaac) in
[fastify/fastify#4893
- fix: rework FastifyErrors, ensure documentation completeness by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4892
- feat: add childLoggerFactory config by
[@&#8203;brettwillis](https://togithub.com/brettwillis) in
[fastify/fastify#4760
- Fix setNotFoundHandler handler type by
[@&#8203;Ethan-Arrowood](https://togithub.com/Ethan-Arrowood) in
[fastify/fastify#4897
- restore code coverage by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[fastify/fastify#4841
- fix: handle abort signal before server is ready by
[@&#8203;shayff](https://togithub.com/shayff) in
[fastify/fastify#4886
- docs(client-aborted): remove deprecated function by
[@&#8203;JekRock](https://togithub.com/JekRock) in
[fastify/fastify#4898
- Revert "docs(client-aborted): remove deprecated function
([#&#8203;4898](https://togithub.com/fastify/fastify/issues/4898))" by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[fastify/fastify#4901
- docs(logging): fix typo by
[@&#8203;yamanidev](https://togithub.com/yamanidev) in
[fastify/fastify#4905
- Support IPv6 ::1 in listeningOrigin by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[fastify/fastify#4902
- fix: extend isCustomValidatorCompiler from parent controller by
[@&#8203;tinchoz49](https://togithub.com/tinchoz49) in
[fastify/fastify#4903
- fix: allow uppercase requestdHeader by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4906

#### New Contributors

- [@&#8203;ed-henrique](https://togithub.com/ed-henrique) made their
first contribution in
[fastify/fastify#4879
- [@&#8203;svrnwnsch](https://togithub.com/svrnwnsch) made their first
contribution in
[fastify/fastify#4824
- [@&#8203;xijdk](https://togithub.com/xijdk) made their first
contribution in
[fastify/fastify#4792
- [@&#8203;hateablestream](https://togithub.com/hateablestream) made
their first contribution in
[fastify/fastify#4846
- [@&#8203;graphiteisaac](https://togithub.com/graphiteisaac) made their
first contribution in
[fastify/fastify#4893
- [@&#8203;shayff](https://togithub.com/shayff) made their first
contribution in
[fastify/fastify#4886
- [@&#8203;JekRock](https://togithub.com/JekRock) made their first
contribution in
[fastify/fastify#4898
- [@&#8203;yamanidev](https://togithub.com/yamanidev) made their first
contribution in
[fastify/fastify#4905
- [@&#8203;tinchoz49](https://togithub.com/tinchoz49) made their first
contribution in
[fastify/fastify#4903

**Full Changelog**:
fastify/fastify@v4.19.2...v4.20.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuOC4xMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jtoar pushed a commit to redwoodjs/redwood that referenced this pull request Jul 19, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastify](https://www.fastify.io/)
([source](https://togithub.com/fastify/fastify)) | [`4.19.2` ->
`4.20.0`](https://renovatebot.com/diffs/npm/fastify/4.19.2/4.20.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify (fastify)</summary>

###
[`v4.20.0`](https://togithub.com/fastify/fastify/releases/tag/v4.20.0)

[Compare
Source](https://togithub.com/fastify/fastify/compare/v4.19.2...v4.20.0)

#### What's Changed

- build(deps-dev): Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.28.20 to 0.29.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[fastify/fastify#4877
- Update Prototype-Poisoning.md by
[@&#8203;ed-henrique](https://togithub.com/ed-henrique) in
[fastify/fastify#4879
- docs: adjust line for linter by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[fastify/fastify#4882
- Fixed type inference on .code().send() by
[@&#8203;aadito123](https://togithub.com/aadito123) in
[fastify/fastify#4880
- chore: refactor Error-typings and tests by
[@&#8203;svrnwnsch](https://togithub.com/svrnwnsch) in
[fastify/fastify#4824
- test: add missing assertion for a test by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[fastify/fastify#4701
- chore: tests for genReqIdFactory and minor changes by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4783
- Added type definition for allowUnsafeRegex by
[@&#8203;xijdk](https://togithub.com/xijdk) in
[fastify/fastify#4792
- docs(security): update policy on ci/cd reports by
[@&#8203;jsumners](https://togithub.com/jsumners) in
[fastify/fastify#4890
- improve hooks.validate by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4804
- ci: enable caching; split jobs by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4889
- docs(plugins): note side-effect when using `await` in
`fastify.register()` by
[@&#8203;hateablestream](https://togithub.com/hateablestream) in
[fastify/fastify#4846
- \[hooks] Refine hook runners by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4805
- docs: fix wrong header size for FST_ERR_ASYNC_CONSTRAINT in Errors.md
by [@&#8203;graphiteisaac](https://togithub.com/graphiteisaac) in
[fastify/fastify#4893
- fix: rework FastifyErrors, ensure documentation completeness by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4892
- feat: add childLoggerFactory config by
[@&#8203;brettwillis](https://togithub.com/brettwillis) in
[fastify/fastify#4760
- Fix setNotFoundHandler handler type by
[@&#8203;Ethan-Arrowood](https://togithub.com/Ethan-Arrowood) in
[fastify/fastify#4897
- restore code coverage by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[fastify/fastify#4841
- fix: handle abort signal before server is ready by
[@&#8203;shayff](https://togithub.com/shayff) in
[fastify/fastify#4886
- docs(client-aborted): remove deprecated function by
[@&#8203;JekRock](https://togithub.com/JekRock) in
[fastify/fastify#4898
- Revert "docs(client-aborted): remove deprecated function
([#&#8203;4898](https://togithub.com/fastify/fastify/issues/4898))" by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[fastify/fastify#4901
- docs(logging): fix typo by
[@&#8203;yamanidev](https://togithub.com/yamanidev) in
[fastify/fastify#4905
- Support IPv6 ::1 in listeningOrigin by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[fastify/fastify#4902
- fix: extend isCustomValidatorCompiler from parent controller by
[@&#8203;tinchoz49](https://togithub.com/tinchoz49) in
[fastify/fastify#4903
- fix: allow uppercase requestdHeader by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[fastify/fastify#4906

#### New Contributors

- [@&#8203;ed-henrique](https://togithub.com/ed-henrique) made their
first contribution in
[fastify/fastify#4879
- [@&#8203;svrnwnsch](https://togithub.com/svrnwnsch) made their first
contribution in
[fastify/fastify#4824
- [@&#8203;xijdk](https://togithub.com/xijdk) made their first
contribution in
[fastify/fastify#4792
- [@&#8203;hateablestream](https://togithub.com/hateablestream) made
their first contribution in
[fastify/fastify#4846
- [@&#8203;graphiteisaac](https://togithub.com/graphiteisaac) made their
first contribution in
[fastify/fastify#4893
- [@&#8203;shayff](https://togithub.com/shayff) made their first
contribution in
[fastify/fastify#4886
- [@&#8203;JekRock](https://togithub.com/JekRock) made their first
contribution in
[fastify/fastify#4898
- [@&#8203;yamanidev](https://togithub.com/yamanidev) made their first
contribution in
[fastify/fastify#4905
- [@&#8203;tinchoz49](https://togithub.com/tinchoz49) made their first
contribution in
[fastify/fastify#4903

**Full Changelog**:
fastify/fastify@v4.19.2...v4.20.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuOC4xMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@isaacs
Copy link

isaacs commented Aug 6, 2023

Update on this: tap 18 is now available in alpha status. npm install tap@pre will get the new stuff. Docs and website are lacking, but tap -h is accurate and the code completions will steer you in the right direction.

@jsumners
Copy link
Member

jsumners commented Aug 6, 2023

Awesome! Thank you @isaacs.

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.

ci is flaky
7 participants