You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Frontend proto generation commits two TypeScript files nothing imports #9012
bin/frontend-proto-gen.sh runs protoc over workflow.proto and virtualidentity.proto. protoc also emits TypeScript for every transitive
dependency, so two more files land in the tree and are committed:
Nothing imports either of them. workflow.ts imports only @bufbuild/protobuf/wire and ./virtualidentity; virtualidentity.ts imports
only @bufbuild/protobuf/wire. The sole importer of descriptor.ts is scalapb.ts itself, and scalapb.ts has no importer anywhere under frontend/src (the one other scalapb match is a comment in workflow-common.interface.ts). There is no index.ts re-exporting them.
They are generated but unreachable because workflow.proto uses scalapb/scalapb.proto only for options:
scalapb.options and scalapb.field are extensions read by the ScalaPB
generator to shape the Scala output. They produce no TypeScript types, so the
generated workflow.ts never needs scalapb.ts.
Proposed change: have bin/frontend-proto-gen.sh remove the two surplus output
trees (proto/scalapb and proto/google) after protoc runs, and delete the
committed files. Deleting them without changing the script would only have them
reappear on the next regeneration.
Side effect: the two LICENSE entries added for these files (#8802) can be
dropped in the same change, since the files would no longer be bundled.
Sequencing: the LICENSE entries should land first — they clear a release
blocker — and this cleanup is a separate change that needs its own verification
(regenerate, build the frontend, run the frontend tests).
It looks like the issue description doesn't quite follow our template yet:
This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
Activity
github-actions commentedon Oct 16, 2026
👋 Thanks for opening this issue, @mengw15!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
omavashia2005 commentedon Oct 19, 2026
/take
refactor(frontend): drop unused generated protobuf TypeScript (apache…