Skip to content
Merged
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
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Enhancement request
about: Template for enhancement requests
title: Short summary of the request
labels: ['Type: enhancement']
assignees: ''
---

**_What this request is about_**:

**_Why do you think it is a good idea?_**
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/sample-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Bug report
about: Template for bug reports
title: Short summary of the bug
labels: ['Type: bug']
assignees: ''
---

_What is broken (summary):_

_Reproduction steps:_

_Results seen:_

_Expected results:_

_Setup:_
- JDK: (eg. OpenJDK 17)
- Operating System
- other info that may give some context: is it within IDE? What IDE? Does it involve network? Then what is your network configuration?
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/test-failure-report.md
Copy link
Contributor

Choose a reason for hiding this comment

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

How do you envisage this behind useful?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Each code sample should have a test.

If any tests becomes flaky or simply broken, we should report a test failure just as we do for main hazelcast repo

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like this might be over-engineered.

AFAIK we don't want test failures in GitHub for internal stuff, but do we really expect community users to address them? And do we expect the tests to be complicated enough to become flakey?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do we really expect community users to address them

That's a very good "first time issue" stuff :)

do we expect the tests to be complicated enough to become flakey

Well I've encountered some tests that were flaky on MacOS (preferIPV4 FTW)

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Test Failure report
about: Template for test failures
title: INSERT_FULL_TEST_NAME_HERE
labels: ['Type: Test-Failure']
assignees: ''
---

_INSERT_BRANCH_NAME_HERE_ (commit INSERT_COMMIT_ID_HERE)

Failed on INSERT_PLATFORM_INFORMATION_HERE: INSERT_LINK_TO_JENKINS_TEST_RESULT_HERE

<details><summary>Stacktrace:</summary>

```
INSERT_STACKTRACE_HERE
```

</details>

<details><summary>Standard output:</summary>

```
INSERT_INTERESTING_PART_OF_STANDARD_OUTPUT_HERE
```

</details>
2 changes: 1 addition & 1 deletion .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
--no-transfer-progress \
${RUNNER_DEBUG:+--show-version} \
"-Dhazelcast.enterprise.license.key=${{ secrets.HAZELCAST_ENTERPRISE_KEY_V7 }}" \
package
verify
9 changes: 9 additions & 0 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
INSERT_PR_DESCRIPTION_HERE
What the change includes? Why it is needed?

Fixes INSERT_LINK_TO_THE_ISSUE_HERE

Checklist:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering whether this should include documentation updates. If something's useful enough to prompt a new code sample, should it be in the docs too? What's the process for making that happen?

What do you think @oliverhowell ?

- [ ] Request reviewers if possible
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this for internal or external users? Isn’t this implicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both, but mostly external

Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering how an external user would identify reviewers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Git blame who wrote the test ;) GitHub already does that when you modify some files, it tells you who edited them before

- [ ] README.md or README.adoc is created with a description _what_ example does and _how_ to run it
- [ ] Add tests that reproduce the associated tutorial or similar scenario
Loading