Repository navigation
Description
Task Summary
Remove code that nothing uses, or that repeats work already done, from the frontend's preset and user-config services, the resource registry, the result table and a frontend spec; from Amber's collaboration resource, startup and telemetry recorder; from the shared storage config and OpenTelemetry bootstrap; and from the sbt license helper. Behavior does not change:
PresetService: dropgetOperatorPreset,filterOperatorPresetPropertiesand the privateajvStripvalidator they share. Only their own spec calls them.UserConfigService:setanddeletereturn request observables that no caller reads, so both returnvoid.- Resource registry: drop the
setCoverhook fromResourceDescriptorand its dataset and model implementations. Nothing outside the registry's own spec calls it; the dataset and model pages call their services directly. StorageConfig: drop 12 JDBC, Iceberg and S3 name constants that nothing reads. Every reader uses the same names fromEnvironmentalVariable.- Telemetry:
WorkflowMetricsRecorder.initbinds the instruments a second time right aftersetActiveExecutionsSupplierhas bound them.OtelInit.resetForTesthas a fallback arm that cannot run, becauseinitializedonly ever holds anOpenTelemetrySdk. CollaborationResource: fourcasepatterns bind names that their bodies never read.- Result table: the
#statsRowtemplate reference is never read. search-results.component.spec.ts: the card-template host importsNgTemplateOutletwithout using it.TexeraWebApplication: drop a commented-out call, with its TODO, todiscardUncommittedChangesOfAllDatasets, which no longer exists.AddMetaInfLicenseFiles: drop an import of the Universal plugin's auto-imports that nothing uses.
Introduced by:
PresetService: Add PresetService (User Presets Step 3) #1164 (2022-01-14).UserConfigService: Add UserDictionaryService (User Presets Step 2) #1162 (2021-06-27).- Resource registry: feat(frontend): add model sharing, publishing and cover images #8299 (2026-08-31).
StorageConfig: Add the computing unit managing service and k8s architecture #3337 (2025-04-06).- Telemetry: feat(observability): logging foundations (bootstrap, bridge, sanitizer) #5375 (2026-10-25) and feat(observability): backend metrics + tracing primitives #5376 (2026-10-27).
CollaborationResource: Add lock to shared editing and integration with user system #1427 (2022-02-15).- Result table: Enable Bulk Download of Binary Data from Result Table #2931 (2024-10-14).
- Search results spec: test(frontend): add unit tests for SearchResultsComponent #6565 (2026-07-20).
TexeraWebApplication: Add Dataset APIs to the webserver #2391 (2024-02-20), commented out by Remove the discarding uncommitted dataset data check when the TexeraWebApplication is launching #2733 (2024-07-15).AddMetaInfLicenseFiles: chore(build): add customized LICENSE to jar META-INF and dist zips #4367 (2026-04-17).
Usage removed by:
TexeraWebApplication: Remove the redundant dataset endpoints and related dependencies #3314 (2025-03-12) deleteddiscardUncommittedChangesOfAllDatasets.AddMetaInfLicenseFiles: chore(build): ship LICENSE-binary, NOTICE-binary, and licenses/ in dist zips and images #4449 (2026-04-29) removed the lastUniversalreference.- Everything else: unused since introduction.
This is a cleanup with no behavior change.
Task Type
- Refactor / Cleanup
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]Remove an unused cover setter, bindings and imports[/-][+]Remove unused helpers, constants and bindings[/+]refactor: remove unused helpers, constants and bindings (apache#9696)