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: AGENTS.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ use kalamdb_commons::models::UserId;
82
82
-`cli/`: Kalam CLI, smoke tests, and CLI-facing integration flows.
83
83
-`link/`: SDK bridge workspace and shared link infrastructure.
84
84
-`link/sdks/typescript/`: TypeScript SDK.
85
-
-`link/sdks/dart/`: Dart/Flutter SDK. `link/sdks/dart/lib/src/generated` is generated; regenerate with `link/sdks/dart/build_native_libs.sh`.
85
+
-`link/sdks/dart/`: Dart/Flutter SDK. `link/sdks/dart/lib/src/generated` is generated; regenerate and prepare the SDK with `link/sdks/dart/build.sh`.
86
86
-`link/kalam-link-dart/`: Rust bridge/native layer used by the Dart SDK.
87
87
-`pg/`: PostgreSQL extension workspace for `pg_kalam`; see `pg/pg_kalam.control`, `pg/src/`, `pg/crates/`, and `pg/tests/`.
88
88
-`benchv2/`: Benchmark harness, scenarios, templates, and results for performance work.
@@ -138,6 +138,7 @@ backend/crates/
138
138
- Always add `#[ntest::timeout(time)]` to every async test where `time` is the **actual observed runtime** × 1.5 (to cover slower machines).
139
139
- Example: if a test took 40s, set `#[ntest::timeout(60000)]`.
140
140
- Recalculate and update timeouts after significant changes to test behavior or data size.
141
+
- Timeouts are guardrails, not the fix: do not increase a test timeout just because a test started failing. Fix the hang, race, or slow path first, then set the timeout from the measured healthy runtime × 1.5.
141
142
142
143
## Workflows & Commands (Documented)
143
144
@@ -189,4 +190,4 @@ Suggested extra checks:
189
190
6. WebSocket origins must be validated against config or rejected when strict mode is enabled.
190
191
7. Admin or root password by default should be set or is set to kalamdb123 for testing or writting in tests, and the user should be admin
191
192
192
-
the folder: link/sdks/dart/lib/src/generated is generated dont modify anything in it, to regenerate this run the link/sdks/dart, build_native_libs.sh file which will regenerate this folder
193
+
the folder: link/sdks/dart/lib/src/generated is generated dont modify anything in it, to regenerate this run the link/sdks/dart/build.sh script which also prepares the SDK artefacts
0 commit comments