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
## 8. Move the panel from Local Test to Hosted Test
85
-
86
-
Build the hosted panel files:
87
-
88
-
```bash
89
-
npm run build:extension:panel
90
-
```
91
-
92
-
Upload the contents of:
93
-
94
-
```text
95
-
dist/twitch-extension/panel
84
+
## 8. Move the panel from Local Test to Hosted Test
85
+
86
+
Build the hosted panel files:
87
+
88
+
```bash
89
+
npm run build:extension:panel
90
+
```
91
+
92
+
When you build the Hosted Test artifact, make sure the shell sets the final app origin:
93
+
94
+
```bash
95
+
VITE_TWITCH_EXTENSION_API_BASE_URL=https://your-app-host npm run build:extension:panel
96
+
```
97
+
98
+
Upload the contents of:
99
+
100
+
```text
101
+
dist/twitch-extension/panel
96
102
```
97
103
98
104
Set the Hosted Test asset paths for the panel version:
99
105
100
106
-`Panel Viewer Path`: `index.html`
101
107
-`Config Path`: `index.html`
102
108
-`Live Config Path`: leave blank unless you add a live config surface
103
-
104
-
Use Hosted Test for beta channels that should load the production panel without your local dev server or tunnel.
105
-
106
-
## 9. Set tester access
109
+
110
+
Use Hosted Test for beta channels that should load the production panel without your local dev server or tunnel.
111
+
112
+
The uploaded Twitch panel bundle is separate from the website deploy. When you change panel code or the extension API base URL, rebuild the panel artifact and upload a new zip before you retest Hosted Test.
113
+
114
+
## 9. Set tester access
107
115
108
116
Add beta channels to:
109
117
110
118
-`Testing Account Allowlist`
111
119
112
120
If the version stays unreleased, only accounts on the testing allowlist can install and use the panel in testing mode.
113
121
114
-
## 10. Verify the beta flows
115
-
116
-
Verify these paths on the Hosted Test build:
122
+
## 10. Verify the beta flows
123
+
124
+
Verify these paths on the Hosted Test build:
117
125
118
126
- viewer, unlinked:
119
127
- playlist loads
@@ -127,8 +135,10 @@ Verify these paths on the Hosted Test build:
127
135
- channel owner:
128
136
- playlist moderation controls appear
129
137
- set current, mark played, delete item, and request-kind changes work
130
-
- channel moderator:
131
-
- playlist moderation controls follow the channel's moderator capability settings
138
+
- channel moderator:
139
+
- playlist moderation controls follow the channel's moderator capability settings
140
+
141
+
If an extension request fails in production, check the frontend Worker logs. Slow and failed panel `bootstrap` and `state` requests log a trace id, elapsed time, and stage timings for channel lookup, viewer resolution, viewer request state, and live playlist state.
Copy file name to clipboardExpand all lines: docs/twitch-panel-extension-local-test.md
+22-15Lines changed: 22 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,16 +32,22 @@ Run the app:
32
32
npm run dev
33
33
```
34
34
35
-
Build the standalone panel artifact:
36
-
37
-
```bash
38
-
npm run build:extension:panel
39
-
```
40
-
41
-
The built panel artifact is written to:
42
-
43
-
```text
44
-
dist/twitch-extension/panel
35
+
Build the standalone panel artifact:
36
+
37
+
```bash
38
+
npm run build:extension:panel
39
+
```
40
+
41
+
For any build that should call a deployed app origin, set the API base URL in the same shell before you build:
42
+
43
+
```bash
44
+
VITE_TWITCH_EXTENSION_API_BASE_URL=https://your-app-host npm run build:extension:panel
45
+
```
46
+
47
+
The built panel artifact is written to:
48
+
49
+
```text
50
+
dist/twitch-extension/panel
45
51
```
46
52
47
53
## Local workflow
@@ -73,8 +79,9 @@ Opening the website from the panel does not create a website session.
73
79
74
80
The website recognizes the viewer only when the browser already has the normal RockList.Live session cookie. Otherwise the viewer still signs in through the website Twitch OAuth flow.
75
81
76
-
## After Local Test
77
-
78
-
- package the final hosted panel artifact for Twitch Hosted Test
79
-
- add review-prep notes for fetched URLs and enabled capabilities
80
-
- validate the full identity-share flow with a real extension registration
82
+
## After Local Test
83
+
84
+
- package the final hosted panel artifact for Twitch Hosted Test
85
+
- rebuild and re-upload the Hosted Test zip whenever panel code or `VITE_TWITCH_EXTENSION_API_BASE_URL` changes
86
+
- add review-prep notes for fetched URLs and enabled capabilities
87
+
- validate the full identity-share flow with a real extension registration
0 commit comments