The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/release/v1.3/pr-9316-e70bbbf838eda11d34f287a9d83f5fa97059041f
 has succeeded.
Run started by GitHub user mengw15 (triggered by mengw15).

Head commit for run:
290a5cb51080b48a04103204bd3710855d851702 / Xiaozhen Liu <[email protected]>
refactor(workflow-compiler, v1.3): pass in a ScanFileResolver (#9316)

### 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.

- Move ResourceAccess and ResourceTables from file-service to
common/resource so workflow-core can share dataset and model lookup
helpers.
- 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,
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 endpoint.
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/41943780818

With regards,
GitHub Actions via GitBox

Reply via email to