Issue forms reference missing labels, so CLI/docs reports lose intended auto-labeling
Resolved 💬 2 comments Opened May 5, 2026 by zichen0116 Closed May 8, 2026
What issue are you seeing?
Two repository issue forms currently reference labels that do not exist in openai/codex, so new issues filed through those forms can miss the intended auto-labeling:
.github/ISSUE_TEMPLATE/3-cli.ymldeclareslabels: [bug, needs triage], but the repo does not have aneeds triagelabel..github/ISSUE_TEMPLATE/6-docs-issue.ymldeclareslabels: [docs], but the repo does not have adocslabel; the existing repo label isdocumentation.
This is a repo-owned workflow bug rather than a product behavior bug, but it directly affects issue triage quality and labeling consistency.
What steps can reproduce the bug?
- Inspect the issue form definitions in the repo:
.github/ISSUE_TEMPLATE/3-cli.yml.github/ISSUE_TEMPLATE/6-docs-issue.yml
- Compare their declared labels with the current repo labels:
existing labels include:
- documentation
- needs-response
missing labels referenced by templates:
- needs triage
- docs
Repo-side evidence:
3-cli.ymlcurrently contains:
labels:
- bug
- needs triage
6-docs-issue.ymlcurrently contains:
labels: [docs]
gh label list -R openai/codexshowsdocumentationandneeds-response, but notdocsorneeds triage.
Additional impact surface:
- the TUI feedback flow for external users builds GitHub issue links against
template=3-cli.ymlincodex-rs/tui/src/bottom_pane/feedback_view.rs, so that in-app path also routes through the affected CLI template metadata.
What is the expected behavior?
Issue forms should reference labels that actually exist in the repository, so issues opened from those forms receive the intended automatic labels.
Additional information
This looks like a narrow fix entirely within repo metadata:
- align the issue template labels with the current repo labels, or
- restore/create the missing labels if the template names are still the intended taxonomy.
I searched existing issues before filing and did not find one specifically tracking this issue-template label drift.
2 Comments
I validated this against the current issue templates and repo labels.
Current mismatch:
.github/ISSUE_TEMPLATE/3-cli.ymlreferencesneeds triage, which is not an existing repo label..github/ISSUE_TEMPLATE/6-docs-issue.ymlreferencesdocs, while the repo hasdocumentation.Existing relevant labels I confirmed:
bug,CLI,documentation. Missing relevant labels:docs,needs triage.A minimal two-file fix would be:
needs triagefrom the CLI issue form, leavingbug;docstodocumentation.I have this prepared locally and can send the PR if maintainers want it.
Thanks for taking a look at this as well. I dug a bit further on my side and prepared a very small patch on my fork in
case the maintainers prefer the template-alignment route here.
Branch: https://github.com/zichen0116/codex/tree/fix/issue-template-labels-21158
Compare: openai/codex
main...zichen0116:fix/issue-template-labels-21158
From what I could verify, the mismatch is:
.github/ISSUE_TEMPLATE/3-cli.ymlusesneeds triage, but that label does not exist in the repo.github/ISSUE_TEMPLATE/6-docs-issue.ymlusesdocs, while the existing repo label isdocumentationOne small additional detail I noticed:
codex-rs/tui/src/bottom_pane/feedback_view.rsroutes the external follow-upflow through
template=3-cli.yml, so this seems to affect not only manual issue creation in the browser, but also therepo-owned CLI/TUI bug-report path.
The patch I prepared keeps the scope intentionally narrow:
needs triagefrom.github/ISSUE_TEMPLATE/3-cli.ymland keepbugdocstodocumentationin.github/ISSUE_TEMPLATE/6-docs-issue.ymlIf maintainers would rather restore the old labels instead, that would work too. But aligning the templates to the
labels that already exist today seemed like the safest small fix.
Happy to turn that branch into the invited PR if this direction looks reasonable.