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/copilot-instructions.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,10 @@ After making any changes to the codebase, ALWAYS run these validation steps:
57
57
58
58
### Manual Testing Scenarios
59
59
Test actual functionality by exercising the API:
60
-
- Import and inspect the generated protobuf messages: `python -c "from frequenz.api.dispatch.v1.dispatch_pb2 import *; print(dir())"`
60
+
- Import and inspect the generated protobuf messages: `PYTHONPATH=py python3 -c "from frequenz.api.dispatch.v1.dispatch_pb2 import *; print('Available classes:', [name for name in dir() if not name.startswith('_')][:5])"`
61
61
- Verify protobuf serialization works: Create a dispatch message, serialize it, and deserialize it
62
62
-**ALWAYS** test import after regenerating protobuf files
63
+
-**Basic Syntax Validation**: Use `python3 -c "import py_compile; py_compile.compile('path/to/file.py', doraise=True)"` for generated files
6.**NOTE**: Many development tools unavailable, use basic Python syntax checking
124
126
125
127
### Important Notes
126
-
-**NEVER CANCEL**: In normal circumstances, `nox` can take 15+ minutes, `python -m build` can take 2+ minutes
128
+
-**NEVER CANCEL**: In normal circumstances, `nox` can take 15+ minutes, `python -m build` can take 2+ minutes. Set timeout to 60+ minutes for builds, 30+ minutes for tests.
127
129
-**TIMING ESTIMATES**: With network access, expect 15-30 minutes for full build and test cycle
128
130
-**FIREWALL LIMITATION**: Current environment has PyPI connectivity issues preventing normal pip operations
0 commit comments