Commit 5fbe812
committed
graph(ipfs-tests): task 4 — make GraphNodeConfig ipfs_uri configurable via env var
WARN (edge-case): Empty GRAPH_TEST_IPFS_URL values are not explicitly
checked (unlike test_utils.rs which guards against empty strings). The
requirement prescribes the unwrap_or_else pattern; an empty value would
produce an immediate connection error at graph-node startup, not silent
data corruption.
Note: 2 pre-existing test failures in gnd package
(test_schema_codegen_snapshot, test_format_typescript_graceful_fallback)
are outside this task's scope.1 parent 3ce1f6c commit 5fbe812
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
0 commit comments