The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-9315-94aceba1fe924feb18cf318d63b6545aac300938
 has succeeded.
Run started by GitHub user Xiao-zhen-Liu (triggered by Xiao-zhen-Liu).

Head commit for run:
01cfd253bfbe8c04b39181f7f81c3f0e967bf273 / Xiaozhen Liu <[email protected]>
refactor(workflow-compiler): pass in a ScanFileResolver (#9315)

### What changes were proposed in this PR?

Pass a ScanFileResolver function into WorkflowCompiler and LogicalPlan
so callers supply how scan source file names are resolved instead of
LogicalPlan calling FileResolver directly.

- Add ScanFileResolver and FileResolver.forUser(uid), which resolves
logical dataset and model paths through ResourceAccess.
- Keep FileResolver.resolveVersionedResource for callers that resolve
logical paths after their own lookup (ResourceUploadService,
CoverImageUtils).
- Pass the session user's resolver from WorkflowCompilationResource,
WorkflowToPythonResource, WorkflowExecutionService, and
SyncExecutionResource, and remove the unused
SyncExecutionResource.validateWorkflow method.
- Pass the user token when creating TexeraAgent in agent-service so
compile calls on unsaved workflows include the session header.
- Keep local path and URI resolution in FileScanOpExec for File Scan
>From Input operators that read paths from input tuples on the worker.
- Use TestOperators.fixtureFileResolver in tests that scan local fixture
files.

### Any related issues, documentation, discussions?

None.

### How was this PR tested?

Added and updated unit tests for FileResolver, LogicalPlan,
WorkflowCompiler, the scan source operators, and the compile and
workflow-to-Python endpoints. The tests of the affected modules pass
locally, and agent-service typechecks.

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

Generated-by: Claude (Claude Code), Antigravity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

With regards,
GitHub Actions via GitBox

Reply via email to