Skip to content

Server v2.0.1#2626

Merged
johngrimes merged 9 commits into
mainfrom
release/server/2.0.1
Jun 3, 2026
Merged

Server v2.0.1#2626
johngrimes merged 9 commits into
mainfrom
release/server/2.0.1

Conversation

@johngrimes
Copy link
Copy Markdown
Member

No description provided.

johngrimes and others added 7 commits May 31, 2026 13:28
The async job cleanup path used Hadoop's default file system to delete
per-job directories, which failed with "Wrong FS" when the warehouse
was on a non-default scheme such as s3a://. Route the deletion through
the existing JobDirectoryFileSystem so the file system is resolved
from the warehouse URI.

Fixes #2612.
The unit-test Spring context does not component-scan the server's io
package, so the JobDirectoryFileSystem dependency required by the test
jobProvider bean could not be resolved. This caused every unit test
importing FhirServerTestConfiguration to fail context loading.

Provide an explicit JobDirectoryFileSystem bean in the test
configuration, built from the running SparkSession and the existing
warehouse and database name properties.
Add a regression test that configures a Hadoop default file system on a
different scheme than the warehouse, exercising the failure mode where the
previous implementation resolved the default file system and failed with
"Wrong FS". Clarify that the existing local-only test covers the happy path.
Capture the JobProvider log via a Logback ListAppender so the test verifies
the documented warning behaviour rather than only asserting that no exception
is thrown.
Lock in that a warehouse URL configured with a trailing slash composes the
same job directory as one without, with no empty path segment, so the
behaviour cannot regress if path normalisation changes.
Resolve job directory file system from warehouse URI
@johngrimes johngrimes self-assigned this May 31, 2026
@johngrimes johngrimes added the release Pull request that represents a new release label May 31, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Pathling May 31, 2026
@johngrimes johngrimes moved this from Backlog to In progress in Pathling Jun 2, 2026
@johngrimes johngrimes merged commit 95d63e2 into main Jun 3, 2026
5 checks passed
@johngrimes johngrimes deleted the release/server/2.0.1 branch June 3, 2026 05:19
@github-project-automation github-project-automation Bot moved this from In progress to Done in Pathling Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Pull request that represents a new release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant