Skip to content

Adding Bug Report Guide#1292

Merged
ajemory merged 2 commits intoapple:mainfrom
ajemory:issue-required-info
Apr 2, 2026
Merged

Adding Bug Report Guide#1292
ajemory merged 2 commits intoapple:mainfrom
ajemory:issue-required-info

Conversation

@ajemory
Copy link
Copy Markdown
Contributor

@ajemory ajemory commented Mar 5, 2026

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Adding help guide to bug report template to make it easier for users to include relevant information

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@github-actions github-actions Bot added documentation Improvements or additions to documentation ci labels Mar 5, 2026
@ajemory ajemory changed the title Issue required info Adding Bug Report Guide Mar 5, 2026
@ajemory ajemory force-pushed the issue-required-info branch from eacb893 to 7b86268 Compare March 5, 2026 20:03
Comment thread docs/bug-report-how-to.md Outdated
Comment thread docs/bug-report-how-to.md Outdated
Comment thread docs/bug-report-how-to.md Outdated
@ajemory ajemory requested a review from dcantah March 6, 2026 00:06
Comment thread docs/bug-report-how-to.md Outdated
Copy link
Copy Markdown
Member

@dcantah dcantah left a comment

Choose a reason for hiding this comment

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

LGTM after the one spelling mistake

Copy link
Copy Markdown
Contributor

@jglogan jglogan left a comment

Choose a reason for hiding this comment

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

Made some suggestions for alternatives on the form, and the location of the bug report doc.

Comment thread .github/ISSUE_TEMPLATE/01-bug.yml
Comment thread .github/ISSUE_TEMPLATE/01-bug.yml Outdated
attributes:
label: Expected behavior
description: A concise description of what you expected to happen.
description: |
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.

This can be included in the repro description.

Comment thread .github/ISSUE_TEMPLATE/01-bug.yml Outdated
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
description: |
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.

I'd prefer to get rid of this field, and that reporters put log output in code blocks, or uploaded log files, in the description and/or repro sections.

This problem with shell here is that if you need to include multiple log snippets, or want to upload files, your not putting logs here anyway.

Comment thread docs/bug-report-how-to.md Outdated
@@ -0,0 +1,179 @@
# How to File Effective Bug Reports
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.

Consider moving this into a section in https://github.com/applecontainerization/CONTRIBUTING.md.

All our other contributor information is there.

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.

nit: all the headers should be updated to follow sentence casing if this will be moved?

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.

Consider moving this into a section in https://github.com/applecontainerization/CONTRIBUTING.md.

Changed my mind on this, Let's leave it here as this is about details for filing container issues.

A @saehejkang mentions, all of our headings should use sentence case, not title case.

Comment thread docs/bug-report-how-to.md Outdated
Comment on lines +26 to +29
### Writing Good Reproduction Steps
- Be specific about your setup and the commands you run
- Include any configuration changes
- Mention if steps work differently on different systems
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.

This is mostly already covered in the section above right?

Comment thread docs/bug-report-how-to.md Outdated
Comment on lines +60 to +62
- Official documentation
- Previous working versions
- Logical expectations based on the command or action
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.

I feel like this is also covered by the section immediately above it

Comment thread docs/bug-report-how-to.md Outdated
```

### Container CLI Version
Check your Container CLI version (if you are on main, you can just put main):
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.

I think we should remove the part about if you're on main. If the issue hasn't been looked at in a while it will be hard to find what actual version they were using. Plus the --version output should include the short hash of the commit. Thoughts?

Comment thread docs/bug-report-how-to.md Outdated

Example output:
```
container CLI version 0.10.0.1 (build: release, commit: 1abc234)
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.

Typo here for the CLI version example?

Comment thread docs/bug-report-how-to.md Outdated
Comment on lines +137 to +140
- Combine flags for maximum information:
```bash
container logs --debug --follow <container-name>
```
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.

I think we should either remove this or reword the bullet point. Right now it kind of reads like if I use the debug and follow flag, I'd be getting additional logs that I would not otherwise get from just running with the debug flag.

Comment thread docs/bug-report-how-to.md Outdated
- Related warning messages

### Environment Variations
- Does it work with a fresh container?
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.

By this do we mean a fresh install of the package or a fresh run of a given instance of a container itself?

Comment thread docs/bug-report-how-to.md Outdated
container logs <container-name>
```

#### Useful Log Flags
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.

I'm wondering if we should just link to the command-reference.md for this section and the Useful System Log Options section

Comment thread docs/bug-report-how-to.md
@ajemory ajemory force-pushed the issue-required-info branch from 0599309 to 89eebfd Compare March 31, 2026 18:51
@ajemory ajemory force-pushed the issue-required-info branch from 7f4baad to 0ac24be Compare April 1, 2026 21:11
@ajemory ajemory merged commit 3eec182 into apple:main Apr 2, 2026
3 checks passed
@ajemory ajemory deleted the issue-required-info branch April 2, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants