Skip to content

Remove unused helpers, constants and bindings #9695

Description

@aglinxinyuan

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: drop getOperatorPreset, filterOperatorPresetProperties and the private ajvStrip validator they share. Only their own spec calls them.
  • UserConfigService: set and delete return request observables that no caller reads, so both return void.
  • Resource registry: drop the setCover hook from ResourceDescriptor and 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 from EnvironmentalVariable.
  • Telemetry: WorkflowMetricsRecorder.init binds the instruments a second time right after setActiveExecutionsSupplier has bound them. OtelInit.resetForTest has a fallback arm that cannot run, because initialized only ever holds an OpenTelemetrySdk.
  • CollaborationResource: four case patterns bind names that their bodies never read.
  • Result table: the #statsRow template reference is never read.
  • search-results.component.spec.ts: the card-template host imports NgTemplateOutlet without using it.
  • TexeraWebApplication: drop a commented-out call, with its TODO, to discardUncommittedChangesOfAllDatasets, which no longer exists.
  • AddMetaInfLicenseFiles: drop an import of the Universal plugin's auto-imports that nothing uses.

Introduced by:

Usage removed by:

This is a cleanup with no behavior change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. changed the title [-]Remove an unused cover setter, bindings and imports[/-] [+]Remove unused helpers, constants and bindings[/+] on Nov 26, 2026
  3. added a commit that references this issue on Nov 26, 2026
    c0c3f3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions