Commit fd12807
fix(cli): hoist account_id hydration above register* so feature-flag gates resolve on first run
Previously `registerNodes` (and other `register*` calls that consult
`isFeatureEnabled`) ran before `account_id` was hydrated, so the very
first CLI invocation after login silently saw `false` for every flag
and hid gated surfaces like `--enable-infiniband` until the cache was
seeded by a subsequent run. The hydration is also now awaited so the
analytics block reuses the same identifier without racing the config
write.
Generated with [Indent](https://indent.com)
Co-Authored-By: sigmachirality <sigmachirality@users.noreply.github.com>1 parent 007422f commit fd12807
1 file changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
45 | 60 | | |
46 | 61 | | |
47 | 62 | | |
| |||
84 | 99 | | |
85 | 100 | | |
86 | 101 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
0 commit comments