aglinxinyuan opened a new pull request, #9480: URL: https://github.com/apache/texera/pull/9480
### What changes were proposed in this PR? Select only the fields consumed by sharing and repository lookups. **+129/−101 lines** across five Scala files. - Workflow, dataset, and model sharing read the owner and grantee fields they use. Access listings still populate the same response fields. - The S3 proxy and computing-unit mount share a lookup for dataset and model IDs. Both reject ambiguous repository names. - File resolution reads the resource ID, repository name, and version hash. It still checks read access before looking up a version. ### Any related issues, documentation, discussions? Closes #9478. ### How was this PR tested? All 175 existing tests passed across eight suites on JDK 17 with freshly generated jOOQ classes. ```text sbt "DAO/jooqGenerate" "WorkflowExecutionService/testOnly *WorkflowAccessResourceSpec" "Auth/testOnly *WorkflowAccessSpec" "Resource/testOnly *ResourceAccessSpec" "FileService/testOnly *DatasetAccessResourceSpec *ModelAccessResourceSpec *S3ProxyServletSpec" "AccessControlService/testOnly *ComputingUnitMountResourceSpec" "WorkflowCore/testOnly *FileResolverSpec" ``` An additional 21 local PostgreSQL probe cases matched on main and the patch. Across 241 captured SELECTs, 119 read fewer columns. The predicates, parameters, and order matched, with equality replacing single-value `IN` where the old DAO generated it. Checks covered placeholder accounts, exact-case email lookup, owner and grant precedence, ambiguous repository names, and duplicate version names. Scalafix on all five affected modules, scoped Scalafmt, and `git diff --check` passed. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
