redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

feat: add test for missing @redocly/config type

Open AlbinaBlazhko17 opened this issue 3 months ago • 2 comments

What/Why/How?

We faced the issue when updating the version of openapi-core in other products. The problem was that we forgot to add new types in @redocly/config.

I created a unit test, which will fail if we forget to add types.

Reference

Discovered issue in PR #18391.

Testing

Manually.

Screenshots (optional)

Screenshot 2025-10-07 at 13 48 41

Check yourself

  • [ ] Code changed? - Tested with Redoc/Realm/Reunite (internal)
  • [ ] All new/updated code is covered by tests
  • [ ] New package installed? - Tested in different environments (browser/node)
  • [x] Documentation update considered

Security

  • [x] The security impact of the change has been considered
  • [x] Code follows company security practices and guidelines

AlbinaBlazhko17 avatar Oct 07 '25 10:10 AlbinaBlazhko17

⚠️ No Changeset found

Latest commit: 5a79614b83b600d59991731d63b1b1ccce1c448d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 07 '25 10:10 changeset-bot[bot]

Command Mean [s] Min [s] Max [s] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 1.408 ± 0.027 1.377 1.451 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1.410 ± 0.024 1.383 1.461 1.00 ± 0.03

github-actions[bot] avatar Oct 07 '25 10:10 github-actions[bot]