Skip to content

GitHub: rebase issue forms and PR template on main - #113

Open
Quat3rnion wants to merge 1 commit into
Marvisak:mainfrom
Quat3rnion:github-templates
Open

Quat3rnion wants to merge 1 commit into
Marvisak:mainfrom
Quat3rnion:github-templates

Conversation

@Quat3rnion

Copy link
Copy Markdown
Contributor

What

Rebases the issue forms, PR template and PR description check from #9 onto current main. Only the five .github/ files from the original commit are included, so the earlier branch drift is gone.

Thanks to @raffclar for the original work.

Tested

  • All workflow YAML files parse.
  • No source files change, so cargo test --workspace is unaffected.

Many issues do not give the data that is necessary to find the cause:
the VIctory commit, the game build, the CPU, the GPU and driver, and the
crash log. Some are only one line of output.

- Bug report form. All the fields above are necessary.
- Feature request form.
- Blank issues are disabled, so each issue uses a form.
- PR template with the sections "What" and "Tested", as in PR Marvisak#4.
- A workflow fails a PR when "What" or "Tested" has no text.

The bug report form tells the user to attach no game files (docs/asset-policy.md).
edsuuu referenced this pull request in edsuuu/VI-BR-PORT Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremygold02

Copy link
Copy Markdown
Contributor

Validated head 620afd5ec423cb8de4cded683befee79beb05011 with git diff --check fc0c4dd331841142ba399b3ba9af2cb912f6695c 620afd5ec423cb8de4cded683befee79beb05011: clean. This PR changes GitHub issue forms, the PR template, and the description workflow. There is no code test target for these files; this check covers diff whitespace only and does not parse or execute GitHub Actions behavior.

@Exorion1er

Copy link
Copy Markdown
Contributor

For the record, the five files here are byte-identical to #9's (same blobs), and this branch is the rebased one, so #9 can close in favour of this, with credit as this PR already gives.

AI-assisted (Claude Code).

@EduBertozzi

Copy link
Copy Markdown
Contributor

A suggestion for the bug report form, from a parallel attempt I'm now folding into this PR instead of competing with it (see #910).

Most issues here are test reports. The two things readers most want to compare across them are how far a run got and how it ended, and today both have to be read out of free text. When I compiled hardware results from about 100 issues, those were the fields I had to guess most often. Two required dropdowns would make reports filterable. A GPU maker dropdown helps too, since many problems split by vendor (NVIDIA's 32-lane waves, for one):

  - type: dropdown
    id: gpu-maker
    attributes:
      label: GPU maker
      options:
        - NVIDIA
        - AMD
        - Intel
        - WARP (diagnostics build, VICTORY_D3D12_WARP)
    validations:
      required: true
  - type: dropdown
    id: reached
    attributes:
      label: How far did it get?
      options:
        - Did not start
        - Boot / first-boot screens
        - Intro video
        - Start screen and menus
        - Loading into the world
        - In the world (picture dark or wrong)
        - In the world (picture right)
        - Gameplay
    validations:
      required: true
  - type: dropdown
    id: ended
    attributes:
      label: How did it end?
      options:
        - Still running when I stopped it
        - GPU hang / device removed (DXGI_ERROR_DEVICE_HUNG)
        - VIctory crashed (see crashes.log)
        - The title's own watchdog ended it
        - Other (say below)
    validations:
      required: true

These parse with the same rules as the rest of the form: unique ids, no reserved None option. With blank issues disabled, a contact_links entry pointing one-line "works / doesn't on my GPU" notes to #49 might also keep those out of new issues.

AI-assisted (Claude Code).

@leonardo-silva-pinheiro

Copy link
Copy Markdown

Closing my #380 in favour of this PR. Two fields from it that neither this form nor the dropdowns suggested above cover yet, in case they're useful:

  • Console mode (dropdown: Series X, the default / Series S, --console series-s / not applicable). The README tracks Series S as its own row, and it stops at a different stage.
  • Command and VICTORY_* variables (textarea, render: text). World reports depend on settings like VICTORY_D3D12_WARP, VICTORY_D3D12_DRED and VICTORY_KEYS, which today are scattered through free text.

The YAML for both is in #380's bug_report.yml (ids console and command).

@leonardo-silva-pinheiro

Copy link
Copy Markdown

One more point, raised by @mercuryVM in a review on #380 and true here too: the required Log field asks for "the crash report from crashes.log", but on main a crash report now includes up to 15 bytes of the title's code at the faulting address (crates/victory-loader/src/crash.rs, instruction_bytes). Pasting it as asked would post part of the executable, which docs/asset-policy.md forbids. The field description could ask to remove the instruction-bytes line (keeping the exception code, offsets and stack) before pasting.

Copy link
Copy Markdown
Owner

Automated triage for the maintainers.

Needs work: needs the maintainer's decision. This adds issue forms, a PR template and a new workflow, .github/workflows/pr-description.yml; CI workflows are the maintainer's call. The workflow itself looks safe (permissions: {}, reads the body from the event file, downloads nothing).

One change is needed regardless: the required Log field in bug_report.yml asks people to paste the crash report from crashes.log. On main that report includes up to 15 bytes of the title's code at the faulting address (instruction_bytes in crates/victory-loader/src/crash.rs, printed as (code …)), which docs/asset-policy.md does not allow in public. Please tell reporters to remove the (code …) bytes before pasting.

CI: no check runs on the head commit.


Generated by Claude Code

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants