Skip to content

test(web): refresh the openapi snapshot for the attribute facets - #1247

Merged
TheMeinerLP merged 2 commits into
mainfrom
fix/openapi-snapshot-facets
Nov 23, 2026
Merged

TheMeinerLP merged 2 commits into
mainfrom
fix/openapi-snapshot-facets

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The committed OpenAPI snapshot had not been refreshed when the search gained attribute filters, sorting, facets and the facetable key list. The snapshot test therefore failed on main whenever the integration suite ran (the heavy jobs are skipped on most pull requests, so nobody saw it). The snapshot is regenerated; the diff only adds what the search pull requests already shipped.

Type of change

  • test - tests only

How was this tested?

  • heavy ./gradlew :reposilite-backend:integration --tests 'com.reposilite.web.OpenApiSnapshotIntegrationTest' -PrefreshOpenApiSnapshot, then the same without the flag: green.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md
  • Tests cover the change, or the change is not testable and I explained why above
  • Documentation and configuration samples are updated if the change is user-facing
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

The committed snapshot predates the facetable attribute list and the
attribute query parameters of the search, so the snapshot integration
test failed on main. Refreshed with -PrefreshOpenApiSnapshot.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
The refreshed OpenAPI snapshot added the attribute facets, so the
committed generated types were stale and the types test failed.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP force-pushed the fix/openapi-snapshot-facets branch from 429ac18 to 374b619 Compare November 23, 2026 07:37
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 49caab8 Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix/openapi-snapshot-facets branch November 23, 2026 08:34
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.

1 participant