@indigoai-us/hq-cli 5.249.0 → 5.249.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/lib/lanes/registry-flag.js +1 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.249.1] — 2026-09-27
|
|
6
|
+
|
|
5
7
|
## [5.249.0] — 2026-09-27
|
|
6
8
|
|
|
7
9
|
### Fixed
|
|
8
10
|
|
|
11
|
+
- Lanes flags with no registry row now quietly resolve off. Actual registry
|
|
12
|
+
read failures still emit their `flag_read_failed` event.
|
|
9
13
|
- Plan-limit notices prefer the current usage-limits upgrade URL and can use
|
|
10
14
|
the company console billing page as a default-off hq-flags fallback.
|
|
11
15
|
|
|
@@ -10,12 +10,6 @@ class MissingFlagTokenError extends Error {
|
|
|
10
10
|
this.name = "MissingFlagTokenError";
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
class MissingFlagRowError extends Error {
|
|
14
|
-
constructor(flagKey) {
|
|
15
|
-
super(`The hq-flags registry did not resolve ${flagKey}`);
|
|
16
|
-
this.name = "MissingFlagRowError";
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
13
|
function errorClass(error) {
|
|
20
14
|
return error instanceof Error ? error.name : "UnknownError";
|
|
21
15
|
}
|
|
@@ -104,10 +98,7 @@ async function readRegistryValue(flagKey, endpoint, options) {
|
|
|
104
98
|
const resolution = client.explain(flagKey, { fallback: false });
|
|
105
99
|
if (failed)
|
|
106
100
|
return false;
|
|
107
|
-
if (resolution.source
|
|
108
|
-
reportFailure(new MissingFlagRowError(flagKey));
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
101
|
+
if (resolution.source === "snapshot" || resolution.source === "local-override") {
|
|
111
102
|
enabled = resolution.value;
|
|
112
103
|
}
|
|
113
104
|
}
|