googleapis / googleapis/synthtool
Node library bug-report.md template does not generate product name.
- Dominant language
- Python
- Stars
- 108
- Forks
- 102
- Avg merge
- 1h 23m
- Merged PRs (30d)
- 1
Description
Thanks for stopping by to let us know something could be better!
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
**Is your feature request related to a problem? Please describe.**
In handwritten libraries, such as [nodejs-pubsub](https://github.com/googleapis/nodejs-pubsub/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), [nodejs-bigquery](https://github.com/googleapis/nodejs-bigquery/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), and [nodejs-bigquery-storage](https://github.com/googleapis/nodejs-bigquery-storage/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), the [`.github/ISSUE_TEMPLATES/bug-report.md`](https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/bug_report.md) template does not capture the correct metadata to autogenerate the product name. This leads to an obvious typo in downstream repos, and has led to at least one customer issue, which I resolved by manually changing it and excluding the file from owlbot updates, which is not ideal.
**Describe the solution you'd like**
I want the variable in the `bug-template.md` to populate the correct product name in downstream repos.
**Describe alternatives you've considered**
An alternative I implemented as a stop-gap was to [manually fix the template in `nodejs-bigquery`](https://github.com/googleapis/nodejs-bigquery/pull/1141) and add the file to a list that owlbot updates excludes.
**Additional context**
Add any other context or screenshots about the feature request here.
I have also determined that this error is happening in [auto-generated libraries](https://github.com/googleapis/nodejs-dataproc/blob/main/.github/ISSUE_TEMPLATE/bug_report.md) as well, making it more pressing that this error be resolved at the synthtool level and make manual changes to owlbot configurations less necessary.
I also think it would make sense to audit other Node templates in synthtool to make sure this same error doesn't repeat elsewhere, so we can fix any issues at once.
I'm also wondering why the Node template differs from the Python and Java templates.
Contributor guide
Assessment
This issue has not been assessed yet.