Skip to content

fix: OCR follow-ups for analysis validation, Exaflow errors and folder locks - #29

Open
KFilippopolitis wants to merge 4 commits into
masterfrom
fix/ocr-review
Open

KFilippopolitis wants to merge 4 commits into
masterfrom
fix/ocr-review

Conversation

@KFilippopolitis

@KFilippopolitis KFilippopolitis commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Slim version of the OCR review follow-up, limited to defects and security/data-integrity guards.

  • Validate analysis.algorithm/inputdata and authorize validation_datasets.
  • Add Flyway V3 converting legacy experiment.algorithm payloads to AnalysisRequestDTO.
  • Check Exaflow specification HTTP status and keep the default parameter key through Jackson as well as Gson.
  • Take the folder write lock for rename and delete.

Dropped as non-essential: exception/logging refactors, folder DTO rename/grouping, UUID trimming, OIDC/config and README tweaks, Jackson/Gson documentation.

Verification: mvn clean package passes 65/65 tests; V3 exercised end-to-end with Flyway 13.6 against PostgreSQL 18.

Require analysis.algorithm and analysis.inputdata before using them, so a
malformed request is a 400 instead of a 500. Authorize validation_datasets as
well as datasets on both the synchronous and persisted execution paths.
Convert experiment.algorithm rows written in the old AlgorithmExecutionDTO
shape into AnalysisRequestDTO before the new reader sees them, so existing
experiments no longer fail GET /experiments with a Gson type error.
… key

Check the HTTP status before parsing specification responses, log the specific
failure instead of re-wrapping it, and avoid an NPE when an error response has
no body. Emit the Exaflow parameter key "default" through Jackson as well as
Gson.
Rename and delete were the only mutations reading the folder without
findByIdForUpdate, leaving them exposed to a concurrent delete/set update
race. Use the same locked read as the other write paths.
@KFilippopolitis KFilippopolitis changed the title fix: address OCR review findings fix: OCR follow-ups for analysis validation, Exaflow errors and folder locks Sep 15, 2026
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