Repository navigation
docs: audit leftovers after the docs-audit PRs (#543-#548) - #567
Merged
Merged
Conversation
- CLAUDE.md / AGENTS.md: twelve builtin middleware modules (adds session-cookie and preview-gate), five in-repo cdylib shells; AGENTS.md also drops the nonexistent `admin` subcommand / `service install` form and the "consistent hash ring" claim. Same count fix in rustdoc. - Docker pins: v0.8.6 -> v0.11.2 (wordpress guide, wordpress-compose example, dev-server banner); 8.3 rolling tag in the install table. - roadmap/clustered-kv-v2: failure-mode text and sizing row reflect the #416 last-writer-wins INCR/APPEND/PERSIST replication. - config.md: middleware tenant discrimination is vhost_id(), not the server name; env-vars: EPHPM_MIDDLEWARE_DIR; metrics: PHP-lane `action="error"`. - architecture: clustered ACME challenge sharing labelled planned; overload=shed is per-request only. - migration/nginx-php-fpm: trusted_proxies guidance when nginx stays in front. - Rustdoc: autotune JIT default, sidecar_port_range reclaim, cmd_set EXAT/PXAT. - Fix 8 broken internal links.
|
ePHPm Preview — removed Preview deployment has been torn down. |
|
ePHPm Preview — blocked by the analyze gate 🚫 This PHP preview was not published.
Showing 10 of 13 findings. Fix the findings and push again — the preview redeploys and this comment refreshes automatically. |
This branch had an error being deployed
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.
These are the documentation leftovers from the 2026-10-10 docs coverage audit, after the six audit PRs (#543–#548) merged. I re-checked every audit gap against
main@ e437652 and fixed what was still wrong or undocumented. Each claim was checked in source. The PR changes docs and doc comments only; no behaviour changes.Known leftovers
opcache-cluster-invalidation.md,roadmap/clustered-kv-v2.md): docs(db): fix config part B + DB feature findings from the docs coverage audit #545 had already rewritten the main paragraphs. This PR fixes the two places in the roadmap page that still said "per-node":INCR/APPEND/PERSISTresults.Store::incr_by_with_ttlandreplicate_published_value: each increment publishes its resulting total, last arrival wins.appendandpersistalso publish.CLAUDE.md,AGENTS.md): there are twelve builtins, not ten. The registry isbuiltin()incrates/ephpm-server/src/middleware.rsand addssession-cookieandpreview-gate, and all twelve declareCONFIG_KEYS.{cors,jwt,ratelimit,security-headers,session-cookie}.AGENTS.mdclaimed the other shells live in an examples repo.ephpm/middleware-examplesholds teaching templates, not shells.ephpm-server/src/middleware.rs,ephpm-middleware/src/{lib,builtin}.rsandephpm-middleware-builtins/src/lib.rs.AGENTS.mdalso listed anadminsubcommand that does not exist (now labelled planned), described the service commands asephpm service install|...(the real form isephpm install|uninstall|start|stop|restart|status|logs), and called key ownership a "consistent hash ring" (it ishash(key)mod alive nodes).v0.8.6is nowv0.11.2, the latest release, inguides/wordpress.md(two k8s images and the dev banner) andexamples/wordpress-compose/compose.yaml. I confirmed on Docker Hub thatv0.11.2-php8.5andv0.11.2-php8.5.7exist. The install tag table now also lists the8.3rolling tag.ebpf-per-vhost-network.mdnow says "as of v0.11.2". The close-time port reclaim is still unimplemented (vhostnet.bpf.c).main.rscomment and theJitMode::Tracingdoc. This PR fixes the remainingPhpConfig::autotunerustdoc, which still implied the JIT is on outside multi-tenant mode.Audit gaps still open on main, fixed here
reference/config.md[[middleware]]: a module identifies the tenant withvhost_id()(the canonical site key), not the request's server name. This was audit item A6 and contradicted the guide.reference/environment-variables.md:EPHPM_MIDDLEWARE_DIR, with its position in the search order and the rule that an empty value is ignored (A13).reference/metrics.md: PHP-lane mounts recordaction="error"(fatal) and neverrewrite(A12;router.rs,MiddlewareOutcome).architecture/clustering.md: the clustered ACME challenge-sharing "Solution" is now labelled planned at the point of use.store_acme_challengeis called only from tests.architecture/http.md:overload = "shed"/shed_after_msapply to per-request mode only; worker mode ignores them and startup warns (A14).migration/nginx-php-fpm.md: if nginx stays in front, settrusted_proxies. The page now explains which forwarded headers are read and thatper_ip_max_connectionscounts the proxy (A12).sidecar_port_rangeclaimedsock_releasereturns ports. It does not.cmd_setclaimedEXAT/PXATsupport (C6).#residual-risks,#running-wp-cli-artisan-against-a-site,#server-websocket,#filesystem-isolation-temp-sessions,#dbsqlitereplication, a renamed turso-engine phase heading, and the two/docs/...paths in the roadmap index.Still open (not fixed here)
ephpm php ... (pure passthrough)line in the CLI Command Summary. It sits next to the composer line that docs(composer): document what ephpm composer (vivacity 0.17.0) actually does #542, deps(composer): vivacity 0.17.0 -> 0.20.0 (patched from ephpm/vivace: Composer global flags) #561 and feat(cli): ephpm answers as php-cli when re-invoked through PHP_BINARY; composer probes itself #558 all rewrite, so I left it to avoid a conflict. The body section is already correct (docs(cli): fix CLI docs-audit findings — ephpm exec page, uninstall data loss, install --user, README #544).ephpm-server/src/lib.rs) still says INCR is "not yet replicated … enforced PER NODE". This is a log string, so it is code. fix(server): reachable hung-thread replacement, cancel-safe gauges, consistent conditional GET, ratelimit warning aliases #559 moves it into a constant without changing the wording. The docs now note that the warning text predates feat(cluster): per-site clustered Turso replication and per-vhost KV replication #416./metricsexposure.kv --host.roletypos.$_SERVERcap.EPHPM_*variables. It should exemptEPHPM_MIDDLEWARE_DIRandEPHPM_KV_PASSWORD, which are read directly and not mapped to a config key.Verification
cargo +nightly fmt --all -- --check: clean.cargo clippy -p ephpm-kv -p ephpm-config -p ephpm-middleware -p ephpm-middleware-builtins -p ephpm-server --all-targets -- -D warnings: clean.