Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ name: bug
title: "[SHORT PROBLEM DESCRIPTION]"
labels: bug, needs-triageing
body:
- type: markdown
attributes:
value: >
> **Using AI?** AI-assisted issues are appreciated, but if you use AI to write
this issue, please spend the extra tokens to also generate documentation,
tests (a reproducer for bugs) and suggested code (a patch or, preferably,
a pull request), and verify them before submitting. See
[AI-assisted contributions](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md#ai-assisted-contributions).
- type: markdown
attributes:
value: "## Welcome, please describe your problem below;"
Expand All @@ -44,3 +52,9 @@ body:
- type: textarea
attributes:
label: "What to do about it?"
- type: textarea
attributes:
label: "AI assistance"
description: "If AI was used to write this issue, say so here and add (or link to) the generated documentation, tests and suggested code. Leave empty if no AI was used."
validations:
required: false
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,21 @@ name: feature
title: "[SHORT FUNCTIONAL DESCRIPTION]"
labels: new
body:
- type: markdown
attributes:
value: >
> **Using AI?** AI-assisted issues are appreciated, but if you use AI to write
this issue, please spend the extra tokens to also generate documentation,
tests (a reproducer for bugs) and suggested code (a patch or, preferably,
a pull request), and verify them before submitting. See
[AI-assisted contributions](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md#ai-assisted-contributions).
- type: textarea
attributes:
label: "The required feature described as a wish"
value: As a User/Admin/Operator I would like to , ... have the system make my morning coffee.
- type: textarea
attributes:
label: "AI assistance"
description: "If AI was used to write this issue, say so here and add (or link to) the generated documentation, tests and suggested code. Leave empty if no AI was used."
validations:
required: false
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- [Bug fixes](#bug-fixes)
- [Developing new features](#developing-new-features)
- [PendingReleaseNotes file](#pendingreleasenotes-file)
- [AI-assisted contributions](#ai-assisted-contributions)
- [Fork the code](#fork-the-code)
- [Making changes](#making-changes)
- [Rebase `feature_x` to include updates from `upstream/main`](#rebase-feature_x-to-include-updates-from-upstreammain)
Expand Down Expand Up @@ -67,6 +68,20 @@ When adding information to the PendingReleaseNotes file make sure that you write

Updating the PendingReleaseNotes file is preferably a part of the original Pull Request, but that is up to the developers' discretion.

## AI-assisted contributions

Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter, though; reviewing, reproducing and fixing it is not cheap for the volunteers who maintain ACS.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter, though; reviewing, reproducing and fixing it is not cheap for the volunteers who maintain ACS.
Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter. However, reviewing, reproducing, fixing and testing it is not cheap for the volunteers who maintain ACS.


If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, you are expected to spend the extra tokens and include the work that makes it actionable:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, you are expected to spend the extra tokens and include the work that makes it actionable:
If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, we kindly ask you to spend extra tokens and include the work that makes it actionable, including:


- **Documentation**: a clear description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@DaanHoogland, maybe an example or description about what PendingReleaseNotes is would be helpful here

Suggested change
- **Documentation**: a clear description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it.
- **Documentation**: a clear and straightforward description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it.

- **Tests**: a reproducer for bugs (steps, a unit test or a Marvin test) and unit and/or integration tests for proposed changes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- **Tests**: a reproducer for bugs (steps, a unit test or a Marvin test) and unit and/or integration tests for proposed changes.
- **Tests**: a reproducer for bugs (steps, a unit test or a Marvin/integration test) and unit and/or integration tests for proposed changes.

- **Suggested code**: a proposed fix or implementation, preferably as a pull request against the right branch (see [Bug fixes](#bug-fixes) and [Developing new features](#developing-new-features)), or at least as a patch or code snippet in the issue.

Review and verify AI output before you submit it. You are responsible for the accuracy of what you submit, and for making sure it compiles, passes the tests and actually addresses the issue. Please mention in the issue or pull request that AI tools were used.

Issues or pull requests that are clearly AI-generated but lack these elements may be closed or put on hold until they are completed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@DaanHoogland, maybe a note highlighting the importance of manual testing AI patches and ensuring they actually work?


## Fork the code

In your browser, navigate to: [https://github.com/apache/cloudstack](https://github.com/apache/cloudstack)
Expand Down
11 changes: 11 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.

AI-assisted issues are appreciated, but if you use AI to write this issue, please spend the
extra tokens to also generate documentation, tests (a reproducer for bugs) and suggested code
(a patch or, preferably, a pull request), and verify them before submitting. Mention that AI
was used. See the "AI-assisted contributions" section in CONTRIBUTING.md.
-->

##### ISSUE TYPE
Expand Down Expand Up @@ -71,3 +76,9 @@ For new features, show how the feature would be used.
~~~

~~~

##### AI ASSISTANCE
<!--
If AI was used to write this issue, say so here and add (or link to) the generated
documentation, tests and suggested code. Delete this section if no AI was used.
-->
Loading