Skip to content

fix: components-key validation timeouts under load (#3108) - #3112

Merged
Vincent Biret (baywet) merged 1 commit into
support/v2from
fix/key-validation-to-v2
Oct 9, 2026
Merged

Vincent Biret (baywet) merged 1 commit into
support/v2from
fix/key-validation-to-v2

Conversation

@baywet

Copy link
Copy Markdown
Member

port of #3108 to v2

* Initial plan

* fix(library): avoid components key validation timeouts under load

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

* fix(library): use conditional regex fallback for older frameworks

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
@baywet
Vincent Biret (baywet) requested a review from a team as a code owner October 9, 2026 17:33
@baywet Vincent Biret (baywet) self-assigned this Oct 9, 2026
@baywet
Vincent Biret (baywet) enabled auto-merge (squash) October 9, 2026 17:33
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: C#

C# / code-coverage/dotnet

The overall line coverage in commit 28a51e4 in the fix/key-validation-t... branch is 24%. The line coverage in commit 01d4729 in the support/v2 branch is 61%.

Show a line coverage summary of the most impacted files.
File support/v2 01d4729 fix/key-validation-t... 28a51e4 +/-
_/src/Verify/Se.../ScrubEngine.cs 0% 29% +29%
_/src/Verify/Ve...nnerVerifier.cs 0% 46% +46%
_/src/Verify/At...fierSettings.cs 0% 60% +60%
_/src/Verify/Se...fierSettings.cs 0% 62% +62%
/home/runner/wo...mlJsonParser.cs 0% 85% +85%
_/src/Verify/Fi...eNameCleaner.cs 0% 85% +85%
_/src/Verify/Se...eScrubberSet.cs 0% 85% +85%
_/src/EmptyFile...leExtensions.cs 0% 86% +86%
/home/runner/wo...amlConverter.cs 0% 89% +89%
/home/runner/wo...piYamlReader.cs 0% 92% +92%
@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@baywet
Vincent Biret (baywet) merged commit 5369417 into support/v2 Oct 9, 2026
14 of 17 checks passed
@baywet
Vincent Biret (baywet) deleted the fix/key-validation-to-v2 branch October 9, 2026 17:52
github-actions Bot pushed a commit to psmfd/agent-expertise-api that referenced this pull request Oct 19, 2026
Updated [Microsoft.OpenApi](https://github.com/Microsoft/OpenAPI.NET)
from 2.12.2 to 2.13.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.OpenApi's
releases](https://github.com/Microsoft/OpenAPI.NET/releases)._

## 2.13.0

##
[2.13.0](microsoft/OpenAPI.NET@v2.12.2...v2.13.0)
(2026-10-19)


### Features

* **document:** add GetOperationById to search operations across path…
([#​3025](microsoft/OpenAPI.NET#3025))
([#​3074](microsoft/OpenAPI.NET#3074))
([75d6cea](microsoft/OpenAPI.NET@75d6cea))


### Bug Fixes

* components-key validation timeouts under load
([#​3108](microsoft/OpenAPI.NET#3108))
([#​3112](microsoft/OpenAPI.NET#3112))
([5369417](microsoft/OpenAPI.NET@5369417))
* **openapi:** omit null response descriptions
([1344a43](microsoft/OpenAPI.NET@1344a43))

Commits viewable in [compare
view](microsoft/OpenAPI.NET@v2.12.2...v2.13.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.OpenApi&package-manager=nuget&previous-version=2.12.2&new-version=2.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants