Repository navigation
Description
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_queueandtimed_bufferfixtures and their imports, two fixture parameters that their tests never read, and an unused loop variable. Writedict(...)calls as literals, return from fixtures that yield without teardown, drop empty@pytest.fixture()parentheses, merge nestedwithblocks, and usedatetime.UTC,TimeoutErrorandb""fordatetime.timezone.utc,socket.timeoutandbytes(). - Agent service: delete the
src/agent/index.tsandsrc/api/index.tsbarrels, which no file imports, and two unused type imports inworkflow-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 ajqfailure check thatset -euo pipefailmakes unreachable.- AsterixDB source: assign the version response and the parsed row once as
vals instead of overwritingnullandNoneplaceholders. 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: Add Python Framework and ProxyServer & ProxyClient #1259 (2021-07-23), Enforce Python linter (flake8) in CI and enable Python formatter (black) #1498 (2022-04-15), Fix network receiver thread #1452 (2022-05-13), Refactor Python Table and TableLike #2067 (2023-07-27), Python UDF credit passing #1748 (2023-11-09), Fix ConsoleMessage Datetime for betterproto 2.0.0b7 #2815 (2024-09-05), test(amber-python): add unit tests for evaluate-expression and retry-current-tuple handlers #4520 (2026-04-27), test(pyamber): add unit tests for Heartbeat #4704, test(pyamber): add unit tests for update_executor logic #4719 and test(pyamber): add unit tests for replace_print and AtomicInteger #4795 (2026-05-03), test(pyamber): add unit tests for six DP-thread state managers #4893 (2026-05-04), test(pyamber): add unit tests for storage_config #6643 (2026-07-20), test(pyamber): extend core model, proxy and start-worker handler coverage #6988 (2026-07-29), test(pyamber): add unit test coverage for AssignPortHandler #7374 (2026-08-07), test(pyamber): add unit tests for IcebergTableWriter #7579 (2026-08-13), test(pyamber): close the schema, table, proxy and network-sender gaps #8067 (2026-08-29), feat(deploy): replace MinIO with RustFS as the default object store #8542 (2026-09-15), feat(workflow-operator): add UI parameters for R UDFs #9279 (2026-11-04), feat(workflow-operator): export the JSON Lines and Arrow sources as Python #8704 (2026-11-05), and test(pyamber): share storage, RPC, and table test fixtures #9623 (2026-11-23).
- Agent service: feat: introduce the LLM-based workflow copilot #4020 (2025-11-25), and feat(agent-service): add
agent-servicethat manages LLM agents #4495 and feat(agent-service): enable Texera Agent to do workflow editing and execution #4540 (2026-04-28). - Frontend specs: test(frontend): add unit test coverage for UserDatasetVersionCreatorComponent #6513 (2026-07-18), test(frontend): add unit tests for AdminGmailComponent #6576 (2026-07-20), and feat(frontend): add the Models page #8068 (2026-08-28).
load-examples.sh: feat: add example datasets and workflows to Docker Compose #4247 (2026-03-02).- AsterixDB source: AsterixDB Source Operator #1044 (2021-02-25).
RustFSContainer: feat(deploy): replace MinIO with RustFS as the default object store #8542 (2026-09-15).
Usage removed by:
- Creator spec modules: refactor(frontend): share dataset and model resource UI #9522 (2026-11-22,
refactor(frontend): share dataset and model resource UI) moved both specs tocreateFormlyModalFixture, which provides them. - Everything else: unused, unreachable or redundant since introduction.
This is a cleanup with no behavior change.
Task Type
- Refactor / Cleanup
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Nov 25, 2026
👋 Thanks for opening this issue, @aglinxinyuan!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
refactor: remove unused fixtures, barrels and redundant code (apache#…