Skip to content

Commit d0520d8

Browse files
Add issue templates (#1410)
Co-authored-by: Daniel Rosenwasser <[email protected]>
1 parent 2342d77 commit d0520d8

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

.github/ISSUE_TEMPLATE/01-crash.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Crash
3+
about: Using tsgo or the language server caused a panic
4+
title: ''
5+
labels: Crash
6+
assignees: ''
7+
8+
---
9+
10+
## Stack trace
11+
12+
```
13+
[paste stack trace here]
14+
```
15+
16+
## Steps to reproduce
17+
18+
1.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Behavior Difference
3+
about: tsgo produces different results than TypeScript 5.8
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
## Steps to reproduce
11+
12+
<!-- Share a repository link or a code sample -->
13+
14+
## Behavior with `[email protected]`
15+
16+
## Behavior with `tsgo`

.github/ISSUE_TEMPLATE/03-other.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Other
3+
about: Something else
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: '[TypeScript Team Use] Copilot PR porting'
3+
about: Instructions for Copilot to port a PR from microsoft/TypeScript
4+
title: 'Port TypeScript PR #[NNNNN]'
5+
labels: Porting PR
6+
assignees: ''
7+
8+
---
9+
10+
This repository is a port of microsoft/TypeScript from TypeScript to Go. Since the port began, the following pull request was applied to microsoft/TypeScript. An equivalent change now needs to be applied here.
11+
12+
## PR to port
13+
14+
- PR link: <!-- https://github.com/microsoft/TypeScript/pull/NNNNN -->
15+
- Squash commit diff: <!-- Copy the squash commit link and append ".patch", e.g. https://github.com/microsoft/TypeScript/commit/a271797c1a95494e5f7aa8075c01941ad25cad08.patch -->
16+
17+
## Instructions
18+
19+
1. Use `playwright` to view the PR listed above
20+
2. Apply the edits made in that PR to this codebase, translating them from TypeScript to Go.
21+
- The change may or may not be applicable. It may have already been ported. Do not make any significant changes outside the scope of the diff. If the change cannot be applied without significant out-of-scope changes, explain why and stop working.
22+
- Tip: search for functions and identifiers from the diff to find the right location to apply edits. Some files in microsoft/TypeScript have been split into multiple.
23+
- Tip: some changes have already been ported, like changes to diagnostic message text. Tests do not need to be ported as they are imported from the submodule.
24+
3. Refer to your copilot_instructions.md for guidance on how to build and test your change. Note the following differences to the typical development workflow:
25+
- Since you are porting the implementation for a behavior that already has tests in the submodule, you don't need to add new tests. Instead, your change should change existing baselines.
26+
- If done correctly, you should see removals in `.diff` baselines. These `.diff` removals are your ultimate source of truth: your change is not correct unless diffs are reduced.

0 commit comments

Comments
 (0)