Skip to content

Commit 2488eb2

Browse files
authored
chore(deps): bump beacon v0.2.5, common v0.4.7 to latest stable (#229)
* chore(deps): bump beacon v0.2.5, common v0.4.7 (latest tagged) The daemon was pinned to beacon v0.2.2 and common v0.4.5 — both behind the latest published stable tags. Bringing those forward picks up the fixes shipped via beacon's PILOT-334 and PILOT-342 work as well as the recent common changes. This is the 'daemon vs latest siblings' compatibility smoke. CI's go test step is the test — if any signature or behavior changed in the bumped siblings, it surfaces here instead of at the next release. * fix(tests): inject default 'type' field in fake-registry responses common@v0.4.7 added PILOT-132's check that non-empty registry responses must carry a 'type' envelope field. The fake-registry callbacks predate that requirement; instead of updating ~50 callsites, fill the field once in the helper. Tests that need a specific type still set it explicitly — we only inject when missing. * chore(deps): also bump rendezvous v0.2.3 → v0.2.4 (PILOT-132 type-emission fix) * chore(deps): go.sum for rendezvous v0.2.4 * chore(deps): bump common v0.4.7 → v0.4.8 (ipcutil deadlock fix) * chore(deps): go.sum for common v0.4.8
1 parent a71d565 commit 2488eb2

3 files changed

Lines changed: 22 additions & 13 deletions

File tree

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ go 1.25.10
55
require (
66
github.com/coder/websocket v1.8.14
77
github.com/pilot-protocol/app-store v0.2.0
8-
github.com/pilot-protocol/beacon v0.2.2
9-
github.com/pilot-protocol/common v0.4.5
8+
github.com/pilot-protocol/beacon v0.2.5
9+
github.com/pilot-protocol/common v0.4.8
1010
github.com/pilot-protocol/dataexchange v0.2.0
1111
github.com/pilot-protocol/eventstream v0.2.2
1212
github.com/pilot-protocol/handshake v0.2.1
1313
github.com/pilot-protocol/nameserver v0.2.1
1414
github.com/pilot-protocol/policy v0.2.2
15-
github.com/pilot-protocol/rendezvous v0.2.3
15+
github.com/pilot-protocol/rendezvous v0.2.4
1616
github.com/pilot-protocol/runtime v0.3.1
1717
github.com/pilot-protocol/skillinject v0.2.2
1818
github.com/pilot-protocol/trustedagents v0.2.3

go.sum

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ github.com/expr-lang/expr v1.17.8 h1:W1loDTT+0PQf5YteHSTpju2qfUfNoBt4yw9+wOEU9VM
44
github.com/expr-lang/expr v1.17.8/go.mod h1:8/vRC7+7HBzESEqt5kKpYXxrxkr31SaO8r40VO/1IT4=
55
github.com/pilot-protocol/app-store v0.2.0 h1:/SbLPa2dKnvhv0ITeaYMZw/2KXXxWDRuYUdM5z9eyKk=
66
github.com/pilot-protocol/app-store v0.2.0/go.mod h1:f0umeJxswDG8/CctHpSFMlr5GLtE2GlPKkijIQErZuc=
7-
github.com/pilot-protocol/beacon v0.2.2 h1:G1P5wuBK75LTSGHhpjNsN7bWi8JiZ0bWk3yjWcQNkwA=
8-
github.com/pilot-protocol/beacon v0.2.2/go.mod h1:k/cHbldwYkkF7dN1WDlaDPGqiRfFgIAmiB71fXSPYW0=
9-
github.com/pilot-protocol/common v0.4.4 h1:Y5AJ2PMNwy+2eb4DJfLdJlle+d/Z9UBWTN6czMA84cY=
10-
github.com/pilot-protocol/common v0.4.4/go.mod h1:yrAwPXGVMbXU+SADvOCmbdXjK/wJ3uA0KshyLvRlej4=
11-
github.com/pilot-protocol/common v0.4.5 h1:WX7jQcJoWJe+GtynZ+gz0f3re7DIRpi3RWo2SEnZJYo=
12-
github.com/pilot-protocol/common v0.4.5/go.mod h1:yrAwPXGVMbXU+SADvOCmbdXjK/wJ3uA0KshyLvRlej4=
7+
github.com/pilot-protocol/beacon v0.2.5 h1:5+pkSPoA35r+u4Hfrph/ZfOltOyiy8lh1sCfK5XqXKs=
8+
github.com/pilot-protocol/beacon v0.2.5/go.mod h1:I/UhEv097g1z/qtAVDZbEhf3R5tzM0Dp71vGHah52A4=
9+
github.com/pilot-protocol/common v0.4.8 h1:eS2Bc+XcZWJ/qhwwOZbXwIWhtNdOijuoEp716kQE+/c=
10+
github.com/pilot-protocol/common v0.4.8/go.mod h1:yrAwPXGVMbXU+SADvOCmbdXjK/wJ3uA0KshyLvRlej4=
1311
github.com/pilot-protocol/dataexchange v0.2.0 h1:ldE6AyrES1uvdnn1NBl0KZ7C+SSWNtmeHHU3CQhwSCo=
1412
github.com/pilot-protocol/dataexchange v0.2.0/go.mod h1:JVy2+hr/IjzMPshxjExbGO/4SbJTs7ZJ7iYvT/ODF3Q=
1513
github.com/pilot-protocol/eventstream v0.2.2 h1:E0IjveK7K+dsIbE/5hD3N821FkHzxVsx1tiAORMzt8k=
@@ -24,10 +22,8 @@ github.com/pilot-protocol/policy v0.2.1 h1:s3aMgeDFVYzDNBcdvO4mzDRlrRF5CvMepW7az
2422
github.com/pilot-protocol/policy v0.2.1/go.mod h1:jzsAO71uGlRVyduPrQmS/UeqSwUpeUO/CjykHm/IfXM=
2523
github.com/pilot-protocol/policy v0.2.2 h1:Co8sqZ4lRQfFA0Ot8l33VhsEwfiEVqcPz+kHY49QbkM=
2624
github.com/pilot-protocol/policy v0.2.2/go.mod h1:jzsAO71uGlRVyduPrQmS/UeqSwUpeUO/CjykHm/IfXM=
27-
github.com/pilot-protocol/rendezvous v0.2.2 h1:YkiHeY0Wl4pmpuBmXDhewSV05sjvquNlz2S/CHjkxTc=
28-
github.com/pilot-protocol/rendezvous v0.2.2/go.mod h1:bVGb1Mc93faQ+bG3R/nt/wv53cHv0SgLzpf8SZc/dqY=
29-
github.com/pilot-protocol/rendezvous v0.2.3 h1:wB1RTnGSJ6walu8aTdpSNPUFKVoyEaZTviGZi+YCAFk=
30-
github.com/pilot-protocol/rendezvous v0.2.3/go.mod h1:bVGb1Mc93faQ+bG3R/nt/wv53cHv0SgLzpf8SZc/dqY=
25+
github.com/pilot-protocol/rendezvous v0.2.4 h1:nxYm12RzEUA6zzNGcnDqxNcGBSIALL5uRH9zX+Q0CSg=
26+
github.com/pilot-protocol/rendezvous v0.2.4/go.mod h1:w7SC0nZCmWPyc7hxdFZ200zQVA75UoaC25MznUQXNFE=
3127
github.com/pilot-protocol/runtime v0.3.0 h1:OVPv7hyaAZsw5EPWtf2XQGfCqxgaM/iANPhIYOMp+0w=
3228
github.com/pilot-protocol/runtime v0.3.0/go.mod h1:GfFEIji0w7H9SSNR9Wl2q72pd2OYN3PHY9Qhcbvyrqk=
3329
github.com/pilot-protocol/runtime v0.3.1 h1:+W9ww0dZY/FgOBtCmIOV3w5L5Z4Upt/RIsrYElXZ1zs=

pkg/daemon/zz_test_helpers_registry_test.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@ func startFakeRegistry(t *testing.T, respond func(req map[string]interface{}) ma
6262
if resp == nil {
6363
resp = map[string]interface{}{}
6464
}
65+
// common@v0.4.7 (PILOT-132) rejects any non-empty
66+
// registry response that lacks a "type" envelope
67+
// field. The fake-registry callbacks predate that
68+
// requirement and rarely set "type" explicitly;
69+
// inject a default so we don't have to update every
70+
// single test. Tests that exercise a specific type
71+
// (e.g. error envelopes) still win — we only fill
72+
// the field when the callback didn't.
73+
if len(resp) > 0 {
74+
if _, hasType := resp["type"]; !hasType {
75+
resp["type"] = "response"
76+
}
77+
}
6578
out, _ := json.Marshal(resp)
6679
if err := ipcutil.Write(c, out); err != nil {
6780
return

0 commit comments

Comments
 (0)