The GitHub Actions job "Release Auditing" on 
texera.git/backport/9269-remove-unused-operator-icons-of-unknown-v1.3 has 
failed.
Run started by GitHub user github-actions[bot] (triggered by 
github-actions[bot]).

Head commit for run:
7f841adaa804d7d249bf6a005a4788499da087c7 / Luis Fernando Caro Reyna 
<[email protected]>
chore(frontend): remove unused operator icons of unknown origin (#9269)

### What changes were proposed in this PR?

Removes 36 image files of unknown origin that Texera never shows (option
A on #8984). They have no recorded source, so they can't ship in the
source release, and since nothing uses them, deleting them is simpler
than replacing them.

- **35 operator icons** whose names match no registered operator type
(`LogicalOp.scala`). Operator icons are only loaded as
`assets/operator_images/<operatorType>.png` (`joint-ui.service.ts`), and
no code references these files by path.
- **`frontend/src/favicon.ico`**: the Angular CLI default favicon from
the 2018 scaffold. `index.html` uses the favicons in `assets/logos/`,
and `angular.json` only copies `src/assets`, so it was never served.

<details>
<summary>The 35 operator icons</summary>

- **Name not referenced anywhere (25):** `AdhocSink`,
`DictionarySource`, `EmojiSentiment`, `FuzzyTokenMatcher`,
`FuzzyTokenSource`, `HdfsFileScan`, `JoinDistance`, `LocalFileScan`,
`NlpEntity`, `NlpSplit`, `RegexMatcher`, `RegexSource`, `RegexSplit`,
`SVMClassifierTrainer`, `SVMRegressorTrainer`, `Sampler`,
`SentimentAnalysis`, `SimilarityJoin`, `SklearnDummy`,
`SklearnTrainingDummy`, `ToLowerCase`, `WordCloudV2`, `WordCount`,
`WordCountIndexSource`, `run-icon`
- **Name only in test fixtures, mocks or prose, never as an image path
(10):** `Aggregation`, `Comparison`, `FileSource`, `KeywordMatcher`,
`KeywordSource`, `NlpSentiment`, `ScanSource`, `SimpleSink`,
`TimeSeries`, `ViewResults`

`SklearnDummy*.png` matched no operator type; the
`SklearnDummyClassifier` operators get their own icons in #9261.
</details>

With this PR, #9220 and #9261, every remaining file in
`frontend/src/assets/operator_images/` is either listed in `LICENSE` or
was made by the project (#5686, #8804, #8999, #9220, #9261). Git history
keeps the deleted files if any is ever needed again.

### Any related issues, documentation, discussions?

Part of #8984 (option A, proposed there on 2026-10-30). Follows #9220
and #9261. Precedent for deleting unused assets: #8803, #9020.

All 36 files are identical on `release/v1.3`, so this backports cleanly
there.

### How was this PR tested?

File deletions only, no code change.

- Checked each name against the operator registry (`LogicalOp.scala`)
and searched the repository for every name and `<name>.png` path: no
operator type and no image reference.
- The frontend loads operator icons only through
`"assets/operator_images/" + operatorType + ".png"`, so a file with no
matching operator type is never requested.
- `favicon.ico`: not referenced by `index.html` or `angular.json`.
`StaticAssetCacheFilterSpec` uses the `/favicon.ico` URL only as a
string to test cache headers.
- Coverage check after the change: each file left in `operator_images/`
is in `LICENSE`, carries a "Created for Apache Texera" PNG notice, or
was last written by one of the project-made PRs listed above.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (claude-opus-5-5)

Claude Code was used to check the files against the operator registry
and code references and to draft this description.

(backported from commit ae2203e1bae66cba45bca18bb9f095cc72eaacdb)

Report URL: https://github.com/apache/texera/actions/runs/41583166044

With regards,
GitHub Actions via GitBox

Reply via email to