fix(storage): defer S3 bucket verification until first access#289
Merged
fix(storage): defer S3 bucket verification until first access#289
Conversation
1d3d235 to
7095057
Compare
Multiple @SpringBootTest classes with different @MockBean configs cause separate Spring contexts sharing the same H2 in-memory database. With create-drop, one context's shutdown drops tables needed by another, causing "Table not found (this database is empty)" errors.
CI runners are resource-constrained and async search indexing may not complete within the previous 5-second window, causing flaky failures.
fbfaccb to
dbb6b5f
Compare
Rsweater
pushed a commit
to Rsweater/skillhub
that referenced
this pull request
Apr 16, 2026
…k#289) * fix(storage): defer S3 bucket verification until first access * test(storage): cover deferred S3 bucket verification * fix(runtime): widen backend container healthcheck window * fix(runtime): widen backend container healthcheck window * fix(test): use ddl-auto=create to prevent cross-context table drops Multiple @SpringBootTest classes with different @MockBean configs cause separate Spring contexts sharing the same H2 in-memory database. With create-drop, one context's shutdown drops tables needed by another, causing "Table not found (this database is empty)" errors. * fix(test): widen awaitIndexedDocument timeout to 15s CI runners are resource-constrained and async search indexing may not complete within the previous 5-second window, causing flaky failures.
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
Testing
./mvnw -pl skillhub-storage -am -Dtest=S3StorageServiceTest,LocalFileStorageServiceTest -Dsurefire.failIfNoSpecifiedTests=false test./mvnw -pl skillhub-app -am -Dtest=HealthControllerTest,SkillPublishControllerTest -Dsurefire.failIfNoSpecifiedTests=false test