We want to accomplish two things: 1. Not make it necessary to run code on local machines to triage bug reports 1. Lower the friction for reporters (and maintainers) to create fully encapsulated and reproducible bug reports #### Ideas - [ ] A workspace or separate repo that has the following: - [ ] Template repository (or just forkable) - [ ] Minimal tools and templated files for common tasks (managing node versions, npm versions, asserting behavior) - [ ] package.json - [ ] nvm - [ ] tap - [ ] run npm from source via a registry tarball - [ ] [`devcontainer.json`](https://code.visualstudio.com/docs/remote/devcontainerjson-reference) for codespace settings - [ ] Github action workflows that run CI for requested os/version matrix - [ ] Update bug report with instructions for creating VM/codespace - Prior art https://github.com/statelyai/xstate/commit/c9e83c0a7bf5e20209089db51390a383196a0652#diff-637f7b97bba458badb691a1557c3d4648686292e948dbe3e8360564378b653efR40-R47 - [ ] Encapsulate all this in an npx-able bin (`npx @npmcli/bug-report --npm 8.5.3 --node 16` ?) #### Caveats - [ ] URL rot. It would be nice if any links to reproductions in issues would not 404 - [ ] Codespaces require admin rights to repo or a PAT with a `codespace` scope. Offloading this to non-member reporters might not be possible - https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-codespaces#how-billing-is-handled-for-forked-repositories
We want to accomplish two things:
Ideas
devcontainer.jsonfor codespace settingsnpx @npmcli/bug-report --npm 8.5.3 --node 16?)Caveats
codespacescope. Offloading this to non-member reporters might not be possible