Repository navigation
Harden Search API execution, telemetry, endpoint controls, and quality gates - #109
Merged
Merged
Conversation
jdaigneau5
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes Artillery test ownership from the Search API repository, adds an automated pull-request quality gate, bounds expensive search execution, adds production-oriented request correlation and search telemetry, prepares deprecated
/webSearchfor retirement, adds configurable fallback rate limiting for/search, and remediates Search API-owned production dependency vulnerabilities.Changes
Remove Artillery Ownership
Add Pull Request Quality Checks
.github/workflows/quality.ymlfor pull requests.24.14.1, installs withnpm ci, and runsnpm run quality.Bound Search Execution
/searchdeadline.429 SEARCH_QUEUE_TIMEOUTor504 SEARCH_TIMEOUTresponses.Retry-Afterbehavior.Add Operational Telemetry
X-Request-IDcorrelation to every response, access log, and structured/searchevent.SearchLogPerformanceTimings.Gate Deprecated
/webSearchPOST /webSearchdeprecated and identifiesPOST /searchas its replacement.WebSearchEnabledfeature flag for controlled consumer migration.410 WEB_SEARCH_DISABLEDbefore validation or OpenSearch work when disabled.Add Fallback
/searchRate Limitingexpress-rate-limitas a proven route-limiting implementation.POST /search;/webSearch, health checks, Swagger, OpenAPI, and static assets are excluded.SearchRateLimitMaxRequestswhenever limiting is enabled and rejects invalid startup configuration.429 SEARCH_RATE_LIMITEDwithRetry-After,RateLimit, andRateLimit-Policyheaders.rate_limitedsearch telemetry.Remediate Owned Dependency Vulnerabilities
morganfrom1.10.1to1.11.0to address the log-forging advisory.body-parserresolution from1.20.5to1.20.6.brace-expansionoverride from5.0.6to5.0.8.adm-zipvulnerability and itscve-coreparent.cve-coreunchanged and avoids forcingadm-zip@0.6.0outsidecve-core's declared dependency range.Documentation and Configuration
X-Request-IDand 429 response headers in Swagger/OpenAPI.