GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — chore(ci): build the Rust client for every target by simonklee · Pull Request #66152 · anomalyco/opencode Conversation
|
| on: | ||
| pull_request: | ||
| paths: | ||
| - packages/cli-rs/** |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
check:drift reruns generators and oracles that read TypeScript outside this package (@opencode/protocol, @opencode/plugin, @opencode/tui, the httpapi codegen), and the parity machines run the TypeScript TUI. A PR that only touches those packages can leave cli-rs's generated files or fixtures stale. With this filter neither that PR nor the push to dev runs the check, so the failure lands on the next unrelated cli-rs PR. Could you add those source paths, at least for push to dev?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Both earlier points are fixed: check-cli-rs.yml now triggers on the TypeScript packages its checks compare against, and the npm-dependent Windows smoke test is gone. I couldn't run the workflows here (no Rust toolchain or Actions runner), so this pass is from reading the diff against script/opentui-native.ts.
Public API: unchanged (CI only).
New points, inline:
parity:machines and OPENCODE_RS_REQUIRE_TS.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| # `bun run cargo` first fetches OpenTUI's native library. | ||
| - run: bun run cargo fmt --check | ||
| - run: bun run cargo clippy --locked --workspace --all-targets -- -D warnings | ||
| - run: bun run cargo test --locked --workspace |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This now runs less than packages/cli-rs/AGENTS.md requires before a merge: parity:machines is gone, and without OPENCODE_RS_REQUIRE_TS=1 the interop and service-lifecycle tests skip quietly instead of failing when Bun, the TypeScript checkout or an opencode binary is missing. The previous revision set that variable and built opencode onto PATH. If dropping them is deliberate, AGENTS.md's checks list should change to match.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The musl half of the release-archive thread no longer applies, since the musl targets were dropped. Its licence half is still open: the archives ship the binary alone, with no LICENSE or OpenTUI/FFmpeg licence files. The thread about parity:machines and OPENCODE_RS_REQUIRE_TS is also still open. I couldn't run the workflows here (no Rust toolchain or Actions runner), so this is from reading the diff.
Public API: unchanged (CI only).
New: check-cli-rs.yml no longer runs bun run check:drift, which packages/cli-rs/AGENTS.md lists as required before a merge. Stale generated files or parity fixtures now reach dev unnoticed, even though the workflow's TypeScript path filter was added partly so that drift gets caught. Either keep the step or update AGENTS.md to match.
Also worth knowing: building Linux on ubuntu-22.04 means the released binaries need glibc 2.35 or newer, so they won't run on RHEL 8/9, Debian 11 or Ubuntu 20.04.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Both open threads are fixed: dev pushes now run the check on the TypeScript packages it reads, and AGENTS.md now matches what CI runs and lists the checks to run locally. I couldn't run the workflows here (no Rust toolchain or Actions runner). I did run the Zig compiler wrapper's argument filter in sh: it drops the two flags and keeps arguments with spaces intact. The glibc 2.17 setup and the archive's licence files also look right.
Public API: unchanged (CI and docs only).
One new point, inline: check:drift is added while its own comment says it fails today.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| - run: bun run cargo clippy --locked --workspace --all-targets -- -D warnings | ||
| - run: bun run cargo test --locked --workspace | ||
| # Fails until the cli-rs port PR (native-next-12) lands: dev lacks the files it regenerates. | ||
| - run: bun run check:drift |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The comment says this step fails until the port PR lands. If this PR merges first, check-cli-rs fails on every cli-rs PR and on every matching dev push until then, and a check that is always red stops getting looked at. Could this PR merge after the port PR, or the step use continue-on-error: true until then?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This push is a rebase onto dev; the workflows and AGENTS.md are unchanged since my last review. The path-filter and AGENTS.md points were fixed in the previous revision and still are. The check:drift step is still marked as failing until the port PR lands, so that thread stays open. Nothing new to add.
Public API: unchanged (CI and docs only).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This push is a rebase onto dev; the workflows and AGENTS.md are unchanged since my last review. The path-filter and AGENTS.md points were fixed earlier and still are. The check:drift step is still marked as failing until the port PR lands, so that thread stays open. Nothing new to add.
Public API: unchanged (CI and docs only).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The workflows and AGENTS.md are unchanged since my last review. The check:drift thread stays open, since that step still says it fails until the port PR lands.
The new commits look fine. The regenerated API and plugin bindings match the TypeScript protocol's new space.write/space.sync shapes, and rerunning the Luau type generator gave no diff. I couldn't regenerate the Rust API code or run the reworked tests here (no Rust toolchain). The tests now hold a request until the test releases it instead of waiting for idle, which removes the race without sleeps.
Public API: unchanged. The Rust client's bindings follow API changes already on dev.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The check:drift thread is resolved: the step no longer says it fails, and this PR now carries the regenerated bindings it compares. --no-fail-fast in CI and in AGENTS.md is fine. I couldn't run the workflow here (no Rust toolchain). Nothing new to add.
Public API: unchanged (CI and docs only).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Cargo stops at the first crate whose tests fail, so each run on GitHub showed one failure and hid the rest. With --no-fail-fast one run shows them all. Also drops the comment that said check:drift fails until an old port PR lands; it passes on dev now.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This push is a rebase onto dev; the workflows and AGENTS.md are unchanged since my last review, and the regenerated bindings and test fix that dropped out are already on dev. All earlier points stay addressed. Nothing new to add.
Public API: unchanged (CI and docs only).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.