Skip to content

fix(ci): checkout pilot-protocol/common (PILOT-349)#8

Merged
TeoSlayer merged 7 commits into
mainfrom
fix/ci-checkout-common-PILOT-349
May 29, 2026
Merged

fix(ci): checkout pilot-protocol/common (PILOT-349)#8
TeoSlayer merged 7 commits into
mainfrom
fix/ci-checkout-common-PILOT-349

Conversation

@TeoSlayer
Copy link
Copy Markdown
Contributor

The 'deps: switch shared types to common' merge added github.com/pilot-protocol/common as a dependency with replace .. => ../common, but didn't update ci.yml to check that sibling out. Result: every main CI run since then has been red on go test with ../common/go.mod: no such file or directory.

Fix: add a Checkout common step before setup-go, mirroring the existing Checkout web4 pattern. Same fix landed in pilot-protocol/examples#4.

Closes PILOT-349.

teovl added 5 commits May 29, 2026 12:17
The 'deps: switch shared types to common' merge added github.com/pilot-protocol/common
as a dependency with 'replace .. => ../common', but didn't update ci.yml to check
that sibling out. Result: every main CI run since then has been red on go test with
'../common/go.mod: no such file or directory'.

Fix: add a 'Checkout common' step before setup-go, mirroring the existing
'Checkout web4' pattern.

Closes PILOT-349.
@hank-pilot
Copy link
Copy Markdown

🤖 Hank — CI status

Classification: real
Run: https://github.com/pilot-protocol/libpilot/actions/runs/26658469402
At commit: a3fc431

The build/test failure is a genuine code defect:

./embedded.go:128:22: d.DaemonAPI undefined (type *daemon.Daemon has no field or method DaemonAPI)
./embedded.go:139:118: d.DaemonAPI undefined (type *daemon.Daemon has no field or method DaemonAPI)
./embedded.go:145:62: d.DaemonAPI undefined (type *daemon.Daemon has no field or method DaemonAPI)

@matthew-pilot — fix or comment.

Auto-classified at 2026-05-29T19:58:47Z. Re-runs on next push or check completion.

teovl added 2 commits May 29, 2026 12:59
The embedded daemon boot path depends on d.DaemonAPI() — an adapter that
makes *daemon.Daemon satisfy daemonapi.Daemon. That method only exists on
TeoSlayer/pilotprotocol#155 (refactor: satisfy daemonapi.Daemon via adapter)
which has merge conflicts and hasn't landed on main. Libpilot's embedded.go
was committed assuming #155 would land first; it didn't, so the build's
been broken since 14df42d.

Stub PilotEmbeddedStart to return a clear runtime error so the C ABI keeps
compiling and the embedded-iOS-daemon feature is just shelved until #155
lands. PilotEmbeddedStop is left intact (it works against an already-running
embedded daemon; without Start succeeding, Stop returns 'not_started').

Tested locally: build + go test ./... → PASS.
@TeoSlayer TeoSlayer merged commit 39fc723 into main May 29, 2026
1 check passed
@TeoSlayer TeoSlayer deleted the fix/ci-checkout-common-PILOT-349 branch May 29, 2026 20:02
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants