Repository navigation
Description
Task Summary
Remove redundant code from the frontend, the licensing scripts, two Scala sources and the agent service, without changing behavior:
- Dataset and model detail pages: tap the route params instead of switching each emission to a
route.datasubscription that nothing reads, and make the dataset page's unimportedTHROTTLE_TIME_MSfile-local. - Version uploader: drop a 404 branch that does what the fall-through does, and make its three constants file-local.
- Computing-unit actions: drop an optional chain on a parameter that the method has already dereferenced twice.
- Loop blocks: make
LOOP_END_OP_TYPEfile-local; only its spec imported it. - Agent interaction: merge two imports from the same module.
- Licensing scripts: drop a notice hash that nothing reads and a test-helper parameter that no caller passes.
PveResource: drop two imports thatjavax.ws.rs._already covers.SQLSourceOpExecandAsterixDBSourceOpExec: five fallback arms listBOOLEAN | STRING | ANYbefore_, which already matches them.agent-service/.dockerignore: every image build uses the repository root as its context, so Docker never reads this file.
Introduced by:
- Dataset and model detail: Introduce Dataset GUI #2413 (2024-02-26), Add interaction buttons for public datasets #3269 (2025-02-19) and feat(frontend): add the model detail page #8072 (2026-08-28).
- Version uploader: refactor(dataset): Redirect multipart upload through File Service #4136 (2026-01-05), moved by feat(frontend): add model file upload and version creation #8078 (2026-08-31).
- Computing-unit actions: feat(gui): add full computing unit tab #4331 (2026-04-09).
- Loop blocks: feat(frontend): accept $variable references in loop blocks #8640 (2026-10-24).
- Agent interaction: refactor(agent-service): model execution results as canonical summary types #6009 (2026-11-13).
- Licensing scripts: chore: add LICENSE-binary, NOTICE-binary and dependencies CI check #4387 (2026-04-29) and chore(licensing): add per-module NOTICE-binary generation script and CI checks for detecting NOTICE-binary drifting #5417 (2026-06-10).
PveResource: feat: Add Python Virtual Environment Support: Uninstalling User Defined Packages #5035 (2026-05-13).SQLSourceOpExecandAsterixDBSourceOpExec: PostgreSQL Source Adaptor #1013 (2021-02-11) and AsterixDB Source Operator #1044 (2021-02-25).agent-service/.dockerignore: feat(agent-service): addagent-servicethat manages LLM agents #4495 (2026-04-28).
Usage removed by:
agent-service/.dockerignore: feat(deployment): add agent-service and litellm to single-node deployment #4544 (2026-05-01) added the agent image's Dockerfile with paths from the repository root, so no build has read the file.- Everything else: unused or redundant since introduction.
This is a cleanup with no behavior change.
Task Type
- Refactor / Cleanup
Metadata
Metadata
Assignees
Labels
No labels
Activity
refactor: remove redundant imports, branches and exports (apache#9692)