The GitHub Actions job "Required Checks" on texera.git/backport/9129-isolate-rest-catalog-s3-signers-v1.3 has failed. Run started by GitHub user github-actions[bot] (triggered by github-actions[bot]).
Head commit for run: 1df9df01a55f76c43074249537223c7e7aef5821 / carloea2 <[email protected]> fix(pyamber): isolate REST catalog S3 signers (#9129) ### What changes were proposed in this PR? Disable fsspec's global S3 instance cache when creating a REST catalog. PyIceberg already caches each filesystem per FileIO thread. Sharing another cached filesystem lets a second table temporarily remove the first table's request signer, causing `403 AccessDenied` during materialization reads. Before: signer replacement can interrupt an existing read. After: FileIO instances have separate signers and retain their own filesystem caches. This is a workaround for apache/iceberg-python#3896. It disables the global S3 instance cache for the Python process, including other fsspec S3 users. Local-filesystem caching is unchanged. It does not change credentials or retry failed reads. ### Any related issues, documentation, discussions? Closes #9128 Related to the failing loop integration check on #8957. Its timestamp change stays separate. ### How was this PR tested? Fresh detached worktree from upstream main at `98c63374b7`, Python 3.12 on Windows. The new regression first failed in two cache configurations. After the fix, all 71 focused storage tests pass, with the separately marked REST integration test excluded. The regression uses real FileIO and S3 filesystem instances, verifies distinct signers between FileIO instances, and verifies that per-thread and local-filesystem caches remain intact. ```text bash bin/python-proto-gen.sh cd amber python -m pytest src/test/python/core/storage/iceberg -m "not integration" -q --tb=short -p no:cacheprovider python -m ruff check src/main/python src/test/python python -m ruff format --check src/main/python src/test/python ``` Live verification used an isolated RustFS rc.6 and Lakekeeper 0.11.0 stack. A real Parquet read succeeds before signer replacement, fails during a controlled replacement gap, and succeeds after registration resumes. With the fix, 40 concurrent real S3 reads pass. Both Ruff checks pass for all 217 Python files. The full engine loop suite also passes with this worktree's freshly built JVM classes and Python workers against that REST-backed stack: 8 passed, 0 failed, 0 canceled. This checks materialized row counts for single and nested loops, JVM operators, loop-variable references, reconverging branches, and state-emitting UDFs. No test assertions or timeouts were changed. >From the repository root, with the private stack's storage environment configured: ```text sbt -batch "WorkflowExecutionService/testOnly *LoopIntegrationSpec -- -oDF" sbt -batch scalafmtCheckAll ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (backported from commit 3b8e43e949025292757cf283c3926ee3d1d00ffb) Co-authored-by: Xuan Gu <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/40238314163 With regards, GitHub Actions via GitBox
