Skip to content

[Tracking] Docs, agent harness, D11/12 readiness, observability #469

Open

Description

@andypost

Umbrella task to manage progress on making this template documented, agent-manageable, and D11/12-ready.

Groundwork PR: #468 (docs + .claude/ harness + worktree helper). The boxes below track the whole initiative, not just that PR.

1. Documentation

2. Agent harness (.claude/)

3. Drupal 11 (transitional ^10.3 || ^11)

  • Blocked: obtain a skilldlabs/druxxy major allowing drupal/core ^11 (latest v1.5.1 → ^10.6 only)
  • Bump core scaffold/hardening to ^10.3.1 || ^11
  • Remove drupal/ckeditor / drupal/color / drupal/seven; admin theme → claro; verify CKEditor 5
  • Bump palantirnet/drupal-rector (from ^0.20.3); add D11 set if present
  • Re-verify/drop the default_content patch
  • Green gates (upgradestatusval, drupalrectorval, cinsp, tests) + green D11 review app
  • Relates to Prepare Drupal 11 upgrade #461. Runbook: docs/upgrading.md; skill/workflow: drupal-upgrade.

4. Drupal 12 readiness (staged follow-up)

  • Switch PHP image to 8.4 (skilldlabs/php:84-* exists)
  • Widen constraints to include ^12; add D12 rector set; re-run gates

5. Observability

6. Parallel local environments

7. Backlog grooming (see docs/backlog.md)

Activity

  1. andypost commented on Jun 22, 2026

    @andypost
    ContributorAuthor

    Diagnosis of the fresh-build blocker (formblock patches in druxxy) — surfaced while testing the harness PR (#468).

    make all fails at back: drupal/formblock resolves to 2.0.0-beta4 (^2.0@beta), and druxxy applies 5 formblock patches with composer-exit-on-patch-failure: true. Verified each against pristine beta4:

    • ✅ formblock-node_edit_form-3090910-5.patch
    • ✅ missing_config_schema_blocks-3073274-2816415-3090910-4.patch
    • ❌ user_edit_form-2915442-3073274-15.patch (2022) — first failure / build blocker
    • ❌ missing_config_schema_blocks-3073274-3323373.patch (2023)

    beta4 ships ContactFormBlock/NodeFormBlock/UserPasswordBlock/UserRegisterBlock but no UserEditBlock → the "user edit form" feature is not upstream, so (unlike the svg_image/#62 fix in druxxy#67) the patch can't just be dropped; it must be refreshed against beta4 (or the feature intentionally removed). Same class of issue druxxy#67's install CI is meant to catch.

    This is pre-existing on master (composer.json identical), so it's independent of #468 — but it blocks #468's "full make tests green" merge gate.

  2. andypost commented on Jun 22, 2026

    @andypost
    ContributorAuthor

    Correction to the formblock diagnosis above. Re-tested in a clean run inside the exact build image (`skilldlabs/php:83`, GNU patch 2.8) with druxxy's original patch URLs: all 5 formblock patches apply successfully (composer install EXIT=0).

    So the patches are not stale — my earlier per-patch result was an artifact of testing each patch independently against pristine beta4 rather than cumulatively/in-order. The original `make allfast` failure was a transient drupal.org patch download (composer-patches fetched a bad response for the user_edit_form patch that one time; `composer-exit-on-patch-failure: true` then aborted the build).

    No druxxy patch-refresh is needed. Re-running the build proceeds past `back`.

    Worth noting as a separate robustness item (not a blocker): every fresh build pulls ~15 patch URLs from drupal.org under `composer-exit-on-patch-failure: true`, so a single flaky download fails the whole build. Vendoring patches locally or adding download retries would harden fresh installs — candidate for the druxxy hardening work, not for #468.

  3. andypost commented on Jun 22, 2026

    @andypost
    ContributorAuthor

    Resolved at the source — druxxy PR skilld-labs/druxxy#68. (And correcting my "transient" note above: it was not transient — a clean rebuild reproduced the same failure.)

    Final root cause: the five drupal/formblock patches in druxxy are an interdependent chain — beta4 ships no config/schema/formblock.schema.yml; that file is created by the "Missing config schema" patch, and "User edit form" only modifies it. As dependency patches, composer-patches doesn't apply them as an ordered group, so "User edit form" runs without its prerequisite and fails; composer-exit-on-patch-failure: true then aborts the whole install.

    Fix (druxxy#68): collapse the chain into one self-contained patch generated against beta4 and vendored locally — verified to apply via git apply + GNU patch, and composer install exits 0.

    Impact on #468: the full-make tests merge gate stays blocked until druxxy#68 merges and a release is cut (skilld-docker-container resolves druxxy ^1.1 → v1.5.1). Once released, re-run make all && make tests. Everything else on #468 is green (Tier 0 static gate + CI; worktree/Makefile regression; ci-log-analyzer validated).

  4. andypost commented on Jun 22, 2026

    @andypost
    ContributorAuthor

    Definitive root cause (supersedes earlier notes in this thread).

    The formblock build failure is composer reordering druxxy's dependency patches. vendor/composer/installed.json records them as: User edit form → Integrate with Profile → Profile schema → Node edit → Missing config schema — i.e. "User edit form" is applied first, before "Missing config schema for blocks" creates the formblock.schema.yml it edits → "Cannot apply patch". Patches declared in the root keep their order (so an isolated repo passes); patches inherited from a dependency (druxxy) get scrambled, which is why only the real build fails.

    This is not version-specific: druxxy v1.5.1 and v1.6.0 have the same 5 patches; #67 (svg_image) is in, the formblock chain is unchanged.

    Fix options (keeping individual patches):

    • Skip — composer-exit-on-patch-failure: false in druxxy: the un-orderable patch is skipped (warning, not fatal) and the site installs without the user_edit block. One line. ← chosen direction.
    • Bump cweagans/composer-patches to ^2 (better dependency-patch handling).
    • Make the 2 order-dependent patches self-contained vs beta4.
    • Consolidate into one patch (druxxy#68, closed).

    Impact on #468: none of #468's own changes are affected (composer.json is identical to master). #468 is mergeable on its own; only the full-make tests gate waits on the druxxy skip landing + a release.

  5. andypost commented on Jun 22, 2026

    @andypost
    ContributorAuthor

    Verify-tests (option B) result — the patch-skip is not sufficient for green make tests.

    Applied composer-exit-on-patch-failure: false (temporary, uncommitted) and ran make all && make tests:

    • ✅ Build/install passes — the skip clears the formblock back blocker; drush si druxxy completes, admin user created.
    • ❌ make tests fails at cinsp — 24 errors, all core.entity_view_display: missing schema from layout_builder_restrictions third-party settings.

    This cinsp failure is a separate, pre-existing config-schema gap (layout_builder_restrictions doesn't ship complete schema); it's unrelated to the formblock skip (which only drops block.settings.formblock_* schema) and unrelated to #468.

    Net: the template currently has two independent blockers to a green make tests — (1) formblock patch ordering (fresh build), (2) layout_builder_restrictions schema (cinsp) — both in the druxxy stack, both pre-existing, neither introduced by #468 (its composer.json is identical to master). "Full make tests green" is therefore not currently satisfiable on master, so #468 should merge on its own green gates (Tier 0 + sniffers, green on GitHub Actions).

  6. andypost commented on Jun 22, 2026

    @andypost
    ContributorAuthor

    Both druxxy-stack blockers are now tracked for the fix in skilld-labs/druxxy#69 (formblock patch ordering + layout_builder_restrictions config schema).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions