Skip to content

Adding Bug Report Guide#1292

Open
ajemory wants to merge 4 commits intoapple:mainfrom
ajemory:issue-required-info
Open

Adding Bug Report Guide#1292
ajemory wants to merge 4 commits intoapple:mainfrom
ajemory:issue-required-info

Conversation

@ajemory
Copy link
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
@ajemory ajemory requested a review from dcantah March 6, 2026 00:06
### Environment Variations
- Does it work with a fresh container?
- Have your network settings changed?
- Have your Xcode or macOS versions chaged?
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Have your Xcode or macOS versions chaged?
- Have your Xcode or macOS versions changed?

Copy link
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
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.

attributes:
label: Current behavior
description: A concise description of what you're experiencing.
description: |
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the concise description come first, and then the minimal reproducer?

At present this form reads like a test procedure, not a bug report.

Suggest that this field is Problem description and Briefly describe your problem, and what you believe the correct behavior should be.

attributes:
label: Expected behavior
description: A concise description of what you expected to happen.
description: |
Copy link
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.

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
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.

@@ -0,0 +1,179 @@
# How to File Effective Bug Reports
Copy link
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
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?

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
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 on lines +60 to +62
- Official documentation
- Previous working versions
- Logical expectations based on the command or action
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 is also covered by the section immediately above it

```

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


Example output:
```
container CLI version 0.10.0.1 (build: release, commit: 1abc234)
Copy link
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 on lines +137 to +140
- Combine flags for maximum information:
```bash
container logs --debug --follow <container-name>
```
Copy link
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.

- Related warning messages

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

container logs <container-name>
```

#### Useful Log Flags
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 if we should just link to the command-reference.md for this section and the Useful System Log Options section

3. **Reproducibility**: Does it happen every time or intermittently?
- Always reproducible
- Happens sometimes (describe conditions)
- Only happened once
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add somewhere that they should tell us if they recently restarted their machine?

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