Skip to content

Commit 7210f28

Browse files
Adjust timeout recommendation to be proportional to build time
Co-authored-by: PeterDaveHello <[email protected]>
1 parent 631a852 commit 7210f28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Always reference these instructions first and fallback to search or bash command
99
### Bootstrap and Build
1010
- Install dependencies: `npm ci` -- takes 30 seconds. Ignore npm audit warnings about vulnerabilities.
1111
- Development build: `npm run dev` -- takes 13 seconds, runs webpack in watch mode. NEVER CANCEL.
12-
- Production build: `npm run build` -- takes 33 seconds. NEVER CANCEL. Set timeout to 90+ minutes.
12+
- Production build: `npm run build` -- takes 33 seconds. NEVER CANCEL. Set timeout to 5-10 minutes to account for system variations.
1313
- Lint code: `npm run lint` -- takes 3-5 seconds, uses ESLint.
1414
- Format code: `npm run pretty` -- uses Prettier to format all JS/JSX/CSS files.
1515
- Safari build: `npm run build:safari` -- only works on macOS with Xcode installed.
@@ -160,7 +160,7 @@ The extension supports multiple AI providers:
160160
## Time Expectations
161161
- **NEVER CANCEL builds or long-running commands**
162162
- `npm ci`: 30 seconds
163-
- `npm run build`: 33 seconds (measured actual time) - NEVER CANCEL, set timeout to 90+ minutes
163+
- `npm run build`: 33 seconds (measured actual time) - NEVER CANCEL, set timeout to 5-10 minutes
164164
- `npm run dev`: 13 seconds initial build, then watches for changes - NEVER CANCEL
165165
- `npm run lint`: 3-5 seconds
166166
- Manual extension testing: 5-10 minutes for thorough validation

0 commit comments

Comments
 (0)