Skip to content

ci: check pull requests with plugin-build-action's check.yml - #13

Merged
foxnne merged 1 commit into
windows/socketsfrom
ci/check
Oct 15, 2026
Merged

foxnne merged 1 commit into
windows/socketsfrom
ci/check

Conversation

@foxnne

@foxnne foxnne commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

agent's pull requests had no checks, only workflows on a tag and on an SDK release. This adds ci.yml, calling the shared check.yml from fizzyedit/plugin-build-action v7.

On every pull request and push to main:

  • fmt: zig fmt --check
  • build linux-x86_64 / macos-aarch64 / windows-x86_64: Debug cross-compiles from ubuntu, plus zig build test on Linux when the build has a test step
  • fizzy-main: a build against fizzy main's sdk/; never fails the run, warns ahead of the next SDK release

Formats what zig fmt flags on main so the check starts green (bridge/main.zig): whitespace and line breaks only.

The same workflow ran green on fizzyedit/pixi#33.

🤖 Generated with Claude Code

@foxnne

foxnne commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

CI found that agent's main does not build against the SDK it pins (0.2.26), on any OS (run 38729263974):

  • src/Run.zig:400: Script has no member StrokePoint. That exists only on fizzy main (the fizzy-main job builds green), so agent needs the next SDK release or a repin.
  • Windows only: src/Server.zig:36 and :126 compare/assign a *anyopaque socket handle to an integer, and a {d} format of a *anyopaque — the socket code assumes POSIX fds.

Kept as a draft until those are fixed.

@foxnne
foxnne changed the base branch from main to windows/sockets October 15, 2026 14:03
@foxnne foxnne mentioned this pull request Oct 15, 2026
2 of 8 tasks
foxnne added a commit to fizzyedit/fizzy that referenced this pull request Oct 15, 2026
## What changes

`sdk_version` goes from 0.2.26 to 0.2.27. Merging this tags
`sdk-v0.2.27` and publishes its tarball.

**Why now:** the agent plugin's `stroke` step (fizzyedit/agent#11, on
agent `main`) uses `tape.Script.StrokePoint` from #431, which no
released SDK has, so agent's new CI (fizzyedit/agent#13) can't pass
against its pinned SDK until it repins to a release that carries it.

## SDK impact

- [ ] None
- [ ] Core-only or additive: reaches plugins at the next SDK release
- [ ] Fingerprint moved: recorded in `sdk/src/version.zig`,
`sdk_version` untouched, PR labelled `sdk`
- [x] SDK release: bumps `sdk_version`, lists the `sdk` PRs since the
last `sdk-v*` tag

**`sdk` PRs since `sdk-v0.2.26`:**
- **#434:** two optional document vtable members, `historyLine` (a
document's undo history as a line of steps, with a `version`) and
`historyGoTo` (undo or redo to a step), with `Plugin.HistoryLine`. An
owner without them has no timeline; undo and redo are unchanged. The
fingerprint moved, so the repin automation opens a repin PR in each
store plugin.

**Reaching plugins, no fingerprint move:**
- **#431:** `tape`: a stroke carries the pointer in straight lines
(`Script.StrokePoint`).
- **#432:** `tape`: a caption follows where the pointer reaches, not a
pen's path.
- **#433:** `replay`: a tape's pointer gives way to a cursor the app
draws itself.
- **#427:** `core`: the bubble spinner keeps its bubbles near one size
at any scale.

Open `sdk`-labelled #437 (the Zig 0.17 switch) is a draft and not in
this release.

## Verified

- [x] macOS:
- On this head, `zig build test-sdk-version`: 12/12 steps succeeded.
`scripts/pack-sdk.sh` packs `fizzy-sdk-v0.2.27.tar.gz`.
- fizzyedit/agent (main plus fizzyedit/agent#14) builds against this
`sdk/` (`--fork`) for x86_64-windows, x86_64-linux-gnu and
aarch64-macos, and `zig build test` passes.
- [ ] Windows:
- [ ] Linux: CI.
- [ ] Web:

## Follow-ups

- The repin automation opens `sdk: repin to fizzy SDK 0.2.27` PRs in the
store plugins whose build needs it. agent repins too, and then
fizzyedit/agent#13's CI can go green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Calls check.yml from plugin-build-action v7 on pull requests and
pushes to main; formats what zig fmt flags so it starts green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@foxnne
foxnne marked this pull request as ready for review October 15, 2026 17:59
@foxnne
foxnne merged commit d5441de into windows/sockets Oct 15, 2026
6 of 10 checks passed
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.

1 participant