Repository navigation
Maintenance pass (2026-10): upstream bumps, scheduled CI, honest status - #2
Merged
Merged
Conversation
Managed (reaches every extension on bin/sync): - ci.yml: weekly schedule + workflow_dispatch, so a green badge means "green this week". Comment records GitHub's 60-days-without-activity auto-disable and that Dependabot merges are what keep it alive. - ci.yml: ZTS legs (Linux, PHP 8.4 + 8.5) via setup-php `phpts: ts`, continue-on-error until they have a track record; a step asserts the runner's PHP_ZTS actually matches the leg; rust-cache key scoped by thread-safety mode (ext-php-rs bindings differ between NTS and ZTS). - dependabot.yml: weekly grouped minor/patch cargo updates. Ignores ext-php-rs/thiserror (versions.conf owns them; a child-side PR would be reverted by the next sync) and the primary upstream crates (llama-cpp-2, turbovec, whisper-rs and their -sys crates — deliberate, tested bumps). No github-actions ecosystem: the workflows are managed. - release.yml: replace the stale "setup-php has no TS option" note. Template-only: - .github/dependabot.yml: github-actions for this repo's workflows AND template/managed/.github/workflows. dependabot-core scans the YAML directly inside a non-root `directory`, and the unrendered templates parse (Psych safe_load verified), so action bumps land here once and cascade through bin/sync. - bin/upstream-check + template/upstream.conf + upstream-watch.yml: weekly comparison of every exactly-pinned crate Dependabot ignores against crates.io; one `upstream`-labelled issue per lagging crate, updated as crates.io moves, closed when the pin catches up. - ci.yml: weekly schedule; shellcheck the new script; render smoke now asserts dependabot.yml renders and parses; fix an SC2015 A&&B||C.
ext-php-rs 0.16 is a soundness/consistency release with a long list of breaking changes (migration guide: guide/src/migration-guides/v0.16.md). Verified against all three extensions before bumping the cascade: - ext-turbovec, ext-whisper: compile unchanged. - ext-infer: `#[php(defaults(...))]` values are now converted into the parameter type, so u32/f32 defaults need typed literals (128_u32, 0.0_f32). PHP-visible defaults are unchanged. - PHP surface (ReflectionExtension dump of every class/method/param, before vs after): identical except that trailing `?array $options` / `?array $allowlist` parameters now report their `null` default (`isDefaultValueAvailable()` true) — the documented 0.16 fix that makes runtime arginfo match what the stubs already declared. - cargo-php 0.2.1 stub generation: identical modulo fully-qualified `extends \Ns\Parent` (upstream #799). - PHPTs: 11/11 turbovec, 7/7 whisper (real model), 15/15 infer (real chat + rerank models); clippy -D warnings clean. thiserror 2.0.18 -> 2.0.21 is patch-level. RUST_CHANNEL stays 1.89: nothing in the new graph raises the floor.
…docs Managed: - Makefile `stubs`: cargo-php has no `--stubs` flag (neither 0.1.21 nor 0.2.1), so the target never worked. It now writes to target/ for a diff against the curated stubs/ file instead of overwriting it, and takes STUBS_PRELOAD for Linux, where cargo-php's dlopen() of the cdylib needs PHP's embed library to resolve Zend data symbols. Seed (new renders only; sync never touches seeds): - README.md: a Status section (feature-complete / maintained / last verified, link to `future` issues, co-maintainer invitation) instead of a pre-release badge; the stack table; a "Writing about this" slot. - PLAN.md: design notes + decision history, remaining work in `future` issues — not a "what's left" list. - CHANGELOG.md (Keep a Changelog); RELEASE.md uses the new stubs diff. README: the Dependabot / versions.conf / upstream-watcher ownership table and what was verified about Dependabot's directory scanning; scheduled CI and its 60-day dormancy; ZTS legs; stubs. CI render smoke now also asserts the README/PLAN/CHANGELOG/RELEASE seeds render.
ubuntu-latest moved to ubuntu-26.04, which preinstalls clang 20, 21 and 22 while libclang-dev pulls 21. Unpinned, clang-sys loads libclang 22 but the builtin headers come from LLVM 21, and clang 22 dropped x86 builtins those headers still call: ext-php-rs's build script fails with "Unable to generate bindings for PHP" (xmmintrin.h __m128 errors). Reproduced in an ubuntu:26.04 container with libclang 21 + 22 installed: ext-php-rs 0.15.13 and 0.16.3 fail identically, so this is the runner image, not the 0.16 bump — every extension's main branch would fail its next CI run too. Setting LIBCLANG_PATH/CLANG_PATH to libclang-dev's LLVM fixes both. Applied after every Linux apt step in ci.yml (lint, test) and release.yml (build); a no-op on 24.04-arm.
Keep a Changelog, backfilled from v0.1.0. Not tagged; the maintainer tags after merge.
ericmann
marked this pull request as ready for review
October 29, 2026 17:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the 2026-10 maintenance pass. Merge order: this PR first, then ext-infer / ext-turbovec / ext-whisper, then rag-over-markdown, then phpai. Please use a merge commit (not squash): the extension PRs'
chore: sync scaffold from ext-template@<sha>commits name this branch's SHAs (442aa21, 339f16f, 19295ee, 3978271).What changed and why
Managed tree (reaches every extension via
bin/sync):workflow_dispatch: a green badge now means "green this week". The comment inci.ymlrecords GitHub's 60-days-without-activity auto-disable and that the Dependabot merges keep the schedule alive.phpts: ts),continue-on-errorfor now, with a step asserting the runner'sPHP_ZTSmatches the leg. All three extensions pass them..github/dependabot.yml: grouped weekly cargo minor/patch. Ignoresext-php-rs/thiserror(owned byversions.conf) and the primary upstream crates (llama-cpp-2,turbovec,whisper-rs+-sys). Nogithub-actionsecosystem in children.EXT_PHP_RS_PIN=0.15.13 → =0.16.3,THISERROR_PIN=2.0.18 → =2.0.21. Read the 0.16 migration guide first; adapted all three extensions; Reflection-dump and generated-stub diffs show no signature change (details in the extension PRs).RUST_CHANNELstays 1.89.ubuntu-latestis now ubuntu-26.04, which preinstalls clang 20/21/22. Unpinned, bindgen loads libclang 22 against LLVM 21 builtin headers and ext-php-rs fails with "Unable to generate bindings for PHP". Reproduced in anubuntu:26.04container: ext-php-rs 0.15.13 fails identically, so every extension'smainwould have gone red on its next CI run too. PinningLIBCLANG_PATH/CLANG_PATHto libclang-dev's LLVM fixes both.make stubspassed a--stubsflag cargo-php has never had. It now writes totarget/for a diff against the curated stubs (never overwriting them) and takesSTUBS_PRELOADfor Linux, where cargo-php'sdlopen()needs PHP's embed library.Template-only:
.github/dependabot.yml:github-actionsfor this repo andtemplate/managed/.github/workflows. Verified: dependabot-core'sgithub_actions/file_fetcher.rbscans a non-rootdirectory's YAML directly (workflows_dir = "."), and the unrendered templates parse under RubyYAML.safe_load, the parser Dependabot uses.bin/upstream-check+template/upstream.conf+ weeklyupstream-watch.ymlkeep oneupstream-labelled issue per exact pin that's behind crates.io, updated as crates.io moves and closed when the pin catches up. Local dry run today: ext-php-rs and thiserror are current after this PR; llama-cpp-2 and turbovec will be current once the extension PRs merge; whisper-rs is current. It can only be exercised after merge (scheduled and dispatch runs use the default branch). If it runs before the extension PRs merge, it will open llama-cpp-2 / turbovec issues that close themselves once those land.dependabot.yml, and an SC2015 fix.Verification
Draft release notes — ext-template v0.2.0