Skip to content

Simplify bug report template by making OS and Deployment optional#61285

Closed
Jgprog117 wants to merge 1 commit intoapache:mainfrom
Jgprog117:simplify-bug-report-template
Closed

Simplify bug report template by making OS and Deployment optional#61285
Jgprog117 wants to merge 1 commit intoapache:mainfrom
Jgprog117:simplify-bug-report-template

Conversation

@Jgprog117
Copy link
Copy Markdown
Contributor

Summary

Simplifies the bug report template by making Operating System and Deployment fields optional instead of required, addressing #55840.

Changes

  • Operating System: changed from required to optional
  • Deployment: changed from required to optional

Rationale

The current template requires 6 fields (Version, Description, Reproduction Steps, OS, Deployment, Code of Conduct), which can discourage users from filing bugs. This change reduces required fields to 4 while still collecting critical information:

Still Required:

  • Airflow version
  • Bug description
  • Reproduction steps
  • Code of Conduct acceptance

Now Optional:

  • Operating System (not relevant for many bugs)
  • Deployment type (not relevant for many bugs)

Optional fields can still be filled in when relevant, but users won't be blocked from submitting a bug report if they don't have all deployment details. This makes it easier for users to report bugs while maintaining the quality of submissions.

Fixes #55840

Reduces required fields in the bug report template to make it less
intimidating for users to file bugs. The following fields are now
optional instead of required:

- Operating System
- Deployment type

This addresses concerns that too many required fields discourage users
from reporting bugs, while still collecting critical information like
Airflow version, bug description, and reproduction steps.

Fixes apache#55840
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg Bot commented Jan 31, 2026

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: dev@airflow.apache.org
    Slack: https://s.apache.org/airflow-slack

Copy link
Copy Markdown
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not against, but I think it needs some discussion in the Airflow's dev. list, especially as it reverts a past decision - feel free to open one.

Comment on lines -116 to -117
validations:
required: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure that I agree with making this optional, as sometimes the deployment method might give some good leads as for the root cause of an issue, or even the solution.
For example, in Cloud Composer they provide a list of dependencies for each version (including the providers):

https://docs.cloud.google.com/composer/docs/versions-packages#composer-3-airflow-3-1-0-build-7

Maybe we need to reorder/remove uncommon options though.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can understand the deployment info being useful for debugging, but I'd still like push back a bit. When someone has a CC issue, they're going to mention CC because that's their whole problem. The optional vs required distinction mostly affects people reporting core bugs where deployment doesn't matter.

If the worry is losing diagnostic info, maybe we could add help text explaining when these fields matter? Something like "especially important for deployment related issues"?

Happy to take the discussion to dev list if needed.

Copy link
Copy Markdown
Contributor

@shahar1 shahar1 Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can understand the deployment info being useful for debugging, but I'd still like push back a bit. When someone has a CC issue, they're going to mention CC because that's their whole problem. The optional vs required distinction mostly affects people reporting core bugs where deployment doesn't matter.

If the worry is losing diagnostic info, maybe we could add help text explaining when these fields matter? Something like "especially important for deployment related issues"?

Happy to take the discussion to dev list if needed.

The thing with deployment, IMO, is that it could be related even for issues that allegedly it seems not :)
However, you got a point that it's not always like that - and I guess that over the gap between "simplifying the report process" and "not giving up on diagnostic info", I could live with making this optional in the cost of a better description (and again, maybe also with reordered/removed options).
Let's take the discussion to the dev list, I'll try to think in the meanwhile what else could be simplified.

@potiuk potiuk marked this pull request as draft March 10, 2026 23:11
@potiuk
Copy link
Copy Markdown
Member

potiuk commented Mar 10, 2026

@Jgprog117 This PR has been converted to draft because it does not yet meet our Pull Request quality criteria.

Issues found:

  • ⚠️ Unresolved review comments: This PR has 1 unresolved review thread from maintainers. Please review and resolve all inline review comments before requesting another review. You can resolve a conversation by clicking 'Resolve conversation' on each thread after addressing the feedback. See pull request guidelines.

Note: Your branch is 919 commits behind main. Some check failures may be caused by changes in the base branch rather than by your PR. Please rebase your branch and push again to get up-to-date CI results.

What to do next:

  • The comment informs you what you need to do.
  • Fix each issue, then mark the PR as "Ready for review" in the GitHub UI - but only after making sure that all the issues are fixed.
  • Maintainers will then proceed with a normal review.

Converting a PR to draft is not a rejection — it is an invitation to bring the PR up to the project's standards so that maintainer review time is spent productively. If you have questions, feel free to ask on the Airflow Slack.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.

@potiuk potiuk closed this Apr 2, 2026
@potiuk potiuk added the closed because of multiple quality violations Label used to close the PRs when there are multiple quality violations label Apr 2, 2026
@potiuk
Copy link
Copy Markdown
Member

potiuk commented Apr 2, 2026

This pull request has been converted to draft due to quality issues more than a week ago and there has been no response from the author.

@Jgprog117, you are welcome to reopen this PR when you are ready to continue working on it. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools closed because of multiple quality violations Label used to close the PRs when there are multiple quality violations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce the number of required fields to file a bug report

3 participants