You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,27 +12,34 @@ body:
12
12
attributes:
13
13
label: Summary
14
14
description: Summarize the bug in one or two sentences.
15
+
placeholder: "ATProtoKit fails to decode posts with custom facets, resulting in a decoding error."
15
16
validations:
16
17
required: true
17
18
- type: textarea
18
19
id: steps
19
20
attributes:
20
21
label: Reproduction Steps
21
22
description: Describe how you were able to get the bug.
23
+
placeholder: |
24
+
1. Authenticate with a valid Bluesky account using ATProtoKit v1.2.0 on macOS Sonoma 14.4.
25
+
2. Fetch a post containing a custom facet (e.g., a tag or link with a custom feature).
26
+
3. Observe that decoding fails with a `DecodingError.dataCorrupted` error.
22
27
validations:
23
28
required: true
24
29
- type: textarea
25
30
id: expected-results
26
31
attributes:
27
32
label: Expected Results
28
33
description: What were you expecting to happen?
34
+
placeholder: "The post should be successfully decoded and all facets—including custom ones—should be present in the resulting data model."
29
35
validations:
30
36
required: true
31
37
- type: textarea
32
38
id: actual-results
33
39
attributes:
34
40
label: Actual Results
35
41
description: What actually happened?
42
+
placeholder: "A `DecodingError.dataCorrupted` error is thrown, and the post is not decoded. The error appears to be triggered by an unexpected or missing field in the facet JSON."
36
43
validations:
37
44
required: true
38
45
- type: dropdown
@@ -56,17 +63,45 @@ body:
56
63
attributes:
57
64
label: Operating System Version
58
65
description: For each operating system, give us the version numbers. For "Linux," state what distro you're using. For "Other," state what operating system you're using. For "Docker," state what version and Linux distro you're using.
66
+
placeholder: |
67
+
macOS Sonoma 14.4
68
+
Linux (Ubuntu 22.04 LTS)
59
69
validations:
60
70
required: true
61
71
- type: input
62
72
id: atprotokit-version
63
73
attributes:
64
74
label: ATProtoKit Version
65
75
description: State what version of ATProtoKit you're using.
76
+
placeholder: "0.18.0"
66
77
validations:
67
78
required: true
68
79
- type: textarea
69
80
id: additional-context
70
81
attributes:
71
82
label: Additional Context
72
83
description: Add any other context, screenshots, or videos about the bug here.
84
+
placeholder: |
85
+
This error only occurs for posts that contain custom facets. Standard posts without custom facets decode successfully.
86
+
87
+
Debug logs and a snippet of the failing JSON are attached below:
0 commit comments