Repository navigation
refactor(frontend): remove the unused HubWorkflow interface - #9111
Conversation
Nothing has used hub/component/type/hub-workflow.interface.ts since apache#2928 deleted the hub workflow list components; apache#3252 then removed its last, already dead, importer. Delete the file.
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9111 +/- ##
============================================
+ Coverage 92.34% 92.58% +0.24%
+ Complexity 5046 5029 -17
============================================
Files 1261 1260 -1
Lines 54117 53715 -402
Branches 6767 6700 -67
============================================
- Hits 49973 49734 -239
+ Misses 2485 2324 -161
+ Partials 1659 1657 -2
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
No open issues 🎉
Review effort: Lite
What changes were proposed in this PR?
Deletes
frontend/src/app/hub/component/type/hub-workflow.interface.ts, a type file nothing imports. It is the only file inhub/component/type/, so that directory goes too. −27 lines. There is no behaviour change.The file exports
HubWorkflow. No code, spec, barrel file or path alias references the file or the interface; the similarly namedHubWorkflowDetailComponentandHUB_WORKFLOW*route constants are unrelated. No open PR adds an import.History
It has been unused for the two years since #2928.
Any related issues, documentation, discussions?
Closes #9108
How was this PR tested?
No new tests; nothing referenced the file.
From
frontend/:npx tsc --noEmit -p src/tsconfig.app.jsonand-p src/tsconfig.spec.json: clean.yarn format:ci: clean.npx ng build: success.To re-check:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code