gowalk-cicd 1.0.205 → 1.0.206
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.
|
@@ -31,7 +31,7 @@ def run(arguments, *, optional=False):
|
|
|
31
31
|
def decode(raw, *, lines=False):
|
|
32
32
|
try:
|
|
33
33
|
value = [json.loads(line) for line in raw.splitlines()] if lines else json.loads(raw)
|
|
34
|
-
if not isinstance(value, list)
|
|
34
|
+
if not isinstance(value, list):
|
|
35
35
|
raise ValueError()
|
|
36
36
|
return value
|
|
37
37
|
except (ValueError, TypeError, UnicodeError):
|
|
@@ -43,7 +43,7 @@ def identifiers(raw):
|
|
|
43
43
|
values = raw.decode('ascii').splitlines()
|
|
44
44
|
except UnicodeError:
|
|
45
45
|
raise NetworkFailure('network_invalid') from None
|
|
46
|
-
if len(
|
|
46
|
+
if len(set(values)) != len(values) or any(not re.fullmatch(CID, x) for x in values):
|
|
47
47
|
raise NetworkFailure('network_invalid')
|
|
48
48
|
return sorted(values)
|
|
49
49
|
|
package/docs/BACKEND_SSH_GATE.md
CHANGED
|
@@ -129,6 +129,11 @@ it never means a VPN is provisioned, traffic is reachable, a pool is globally un
|
|
|
129
129
|
The reader binds the existing API's `BUILD_SHA`, checks its exact project/service/directory labels, and
|
|
130
130
|
rechecks application identity, selected network inventory, host addresses/routes, Docker UDP bindings and
|
|
131
131
|
socket observations before returning. A changed or ambiguous observation refuses the result.
|
|
132
|
+
Host-wide inventories are bounded only by each command's 1 MiB output limit; a larger one refuses
|
|
133
|
+
`output_limit`. `ip -j address show` reaches it first, at roughly 2,000 host interfaces (one bridge per app
|
|
134
|
+
plus a veth per attached container). Host runtimes before 1.0.206 refused a shared host with more than 1024
|
|
135
|
+
interfaces, routes, networks or running containers as `network_invalid`. `reader_version` stays `1.0.194`
|
|
136
|
+
for client compatibility, so prove adoption with the install receipt and the forced command's release path.
|
|
132
137
|
|
|
133
138
|
- `bridge` reports only the selected app bridge's actual network ID/name, ownership key, interface and IPAM.
|
|
134
139
|
- `overlap` distinguishes selected-bridge foreign/host overlaps and proposed-pool selected/foreign/host
|