aglinxinyuan opened a new issue, #9685: URL: https://github.com/apache/texera/issues/9685
### Task Summary Remove code that nothing uses, and constructs that repeat a default or an alias, from the Python tests, the agent service, three frontend specs, the single-node example loader, the AsterixDB source and the RustFS test container, without changing behavior: - Python tests: drop the unused `internal_queue` and `timed_buffer` fixtures and their imports, two fixture parameters that their tests never read, and an unused loop variable. Write `dict(...)` calls as literals, return from fixtures that yield without teardown, drop empty `@pytest.fixture()` parentheses, merge nested `with` blocks, and use `datetime.UTC`, `TimeoutError` and `b""` for `datetime.timezone.utc`, `socket.timeout` and `bytes()`. - Agent service: delete the `src/agent/index.ts` and `src/api/index.ts` barrels, which no file imports, and two unused type imports in `workflow-system-metadata.ts`. - Frontend specs: drop TestBed modules that the dataset and model creator fixtures already provide, and three modules the admin Gmail spec does not need. - `load-examples.sh`: drop a `jq` failure check that `set -euo pipefail` makes unreachable. - AsterixDB source: assign the version response and the parsed row once as `val`s instead of overwriting `null` and `None` placeholders. - `RustFSContainer`: drop a comment that calls the console disabled; RustFS 1.0.0 enables it by default and the fixture does not override it. **Introduced by:** - Python tests: #1259 (2021-07-23), #1498 (2022-04-15), #1452 (2022-05-13), #2067 (2023-07-27), #1748 (2023-11-09), #2815 (2024-09-05), #4520 (2026-04-27), #4704, #4719 and #4795 (2026-05-03), #4893 (2026-05-04), #6643 (2026-07-20), #6988 (2026-07-29), #7374 (2026-08-07), #7579 (2026-08-13), #8067 (2026-08-29), #8542 (2026-09-15), #9279 (2026-11-04), #8704 (2026-11-05), and #9623 (2026-11-23). - Agent service: #4020 (2025-11-25), and #4495 and #4540 (2026-04-28). - Frontend specs: #6513 (2026-07-18), #6576 (2026-07-20), and #8068 (2026-08-28). - `load-examples.sh`: #4247 (2026-03-02). - AsterixDB source: #1044 (2021-02-25). - `RustFSContainer`: #8542 (2026-09-15). **Usage removed by:** - Creator spec modules: #9522 (2026-11-22, `refactor(frontend): share dataset and model resource UI`) moved both specs to `createFormlyModalFixture`, which provides them. - Everything else: unused, unreachable or redundant since introduction. This is a cleanup with no behavior change. ### Task Type - [x] Refactor / Cleanup -- 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]
