The GitHub Actions job "Benchmarks PR Comment" on texera.git/main has succeeded.
Run started by GitHub user renovate-bot (triggered by renovate-bot).

Head commit for run:
bd54a85844c4dc920478bbbb80a8d133785d7293 / Tanishq Gandhi 
<[email protected]>
refactor(file-service): extract the shared upload helpers (#7763)

### What changes were proposed in this PR?

Refactoring groundwork so model upload can reuse the dataset upload
helpers. No new features and no behavior change.

`put` and `validateAndNormalizeFilePathOrThrow` sit on the
`DatasetResource` companion but hold no dataset state — one PUTs bytes
to a presigned URL, the other normalizes a relative path. Model upload
(#6498) needs both, so they move to a new `ResourceUploadUtils` instead
of being copied.

Pure move: the bodies are unchanged, `DatasetResource` imports them
instead of defining them, and `DatasetResourcePathSpec` exercises them
at their new home.


### Any related issues, documentation, discussions?

Part of #6494, groundwork for #6498. Based directly on `main` and
independent of the other
open PRs in the model stack.

### How was this PR tested?

`sbt "FileService/test"` against `main` — 231 tests, 10 suites, 0
failures, which is
`main`'s exact baseline: no tests added, none broken. scalafmt and
scalafix clean.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5)

---------

Co-authored-by: Claude Opus 5 <[email protected]>
Co-authored-by: ali <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/32453288594

With regards,
GitHub Actions via GitBox

Reply via email to