Skip to content

ci: Adobe engine pins are 8-15 updates behind the patches users run, so Adobe-side regressions ship unseen #4715

Done

Description

@bpamiri

Summary

The compatibility matrix pins Adobe engines to patch levels far behind what users run, so an Adobe-side regression that breaks Wheels is invisible to CI until a user reports it. That is exactly what happened with #4646 / discussion #4627.

Current pins in tools/docker/:

engine pinned Adobe's Oct-13-2026 update gap
adobe2023 adobe@2023.0.11+330706 CF2023 update 26 15 updates
adobe2025 adobe@2025.0.06+331564 CF2025 update 14 8 updates

(also recorded in tools/docker/adobe2023/server.json and tools/docker/adobe2025/server.json)

Impact — CF-4234761, shipped to users and caught by a user, not by CI:

  • Adobe's Oct 13 2026 updates changed regex replacement parsing; \u became a literal u. A controller named main resolved as umain, submit-form as submituform.
  • Wheels used \u in four replacement strings (engineAdapters/Base.cfc, engineAdapters/BoxLang/BoxLangAdapter.cfc, Dispatch.cfc, a display helper). Fixed in fix(engineAdapters): upper-case by walking characters, not regex replacement (#4646) #4649.
  • The matrix stayed green throughout, because its Adobe legs run update 11 / update 6 — builds that predate the change entirely. The green was real; it just did not cover the patch level users had already upgraded to.
  • fix(engineAdapters): upper-case by walking characters, not regex replacement (#4646) #4649's own note records the limitation: "We could not run a patched u26/u14 build locally — the CI images are pre-patch", and asked users to confirm. So this class of breakage currently has no automated coverage at all — only user reports.

Why this is worth fixing rather than pinning

Keeping CI on an old patch is defensible for stability, but it converts every Adobe patch into an untested release for Wheels users: the first environment to exercise adobe@2023 update 26 + Wheels is a production app. The fix is not "always chase the newest patch" — u26 was itself buggy and Adobe issued a partial hotfix — it is to make the patch level an explicit, observable thing in CI rather than an implicit consequence of a Dockerfile pin.

Scope sketch (open to a better design)

  1. Exercise the current Adobe patch in CI, and make it clear what a red leg means — whether Wheels broke or Adobe did. A non-blocking observational leg is acceptable and often the right first step; it must be visibly distinct from the gating legs so a red result is not mistaken for a Wheels regression (nor silently ignored).
  2. Decide and document the refresh policy for the pinned engines in tools/docker/* so the pins do not silently age by a year. chore(deps): update Lucee to 7.0.5.41 #4592 (Lucee → 7.0.5.41) is the precedent for the mechanical bump.
  3. Keep it honest: if the current Adobe patch cannot be made green (Adobe-side bugs, hotfix not applied), record that as an explicit known-bad with a recheck date rather than leaving the pin unexplained.

Acceptance

  • CI observes at least one Adobe build at or near the current supported patch.
  • The matrix summary says, per leg, which engine build it ran — so "green" can be read as "green on the patch users run", not just "green on the build we happened to pin".
  • A CF-4234761-class regex/engine regression would fail or visibly flag a run rather than ship unseen.

Related: #4646 (the fix), #4714 (an unrelated intermittent adobe2023 cold-start failure), discussion #4627.

Activity

  1. bpamiri commented on Nov 30, 2026

    @bpamiri
    CollaboratorAuthor

    Coverage implemented in #4718 (not merged): per-leg engine-build reporting plus a non-blocking current-patch watch, with the current patches recorded known-bad rather than silently excluded.

    Evidence from this PR's runs:

    • Gating leg names its build: narrowed matrix dispatch engines=adobe2023 databases=sqlite (46511383319) — success; Engine build: adobe2023 2023.0.11+330706 in the log, per-leg summary and the matrix's "Engine builds observed" table.
    • Current patch observed: 46509946769 —
      • adobe2023 → 2023.0.26+331018: suite HTTP 500 at vendor/wheels/model/sql.cfm (Wheels.UnbindableWhereValue). KNOWN-BAD (recheck 2026-12-15).
      • adobe2025 → 2025.0.14+332029: same failure, same path. KNOWN-BAD (recheck 2026-12-15).
    • Local instrumentation on the u26 image: masked username='<literal>' → stage-1 [username1?8] instead of username=?; the same instrumentation on pinned u11 returns username=?. The corrupting line is the masked-where ReReplace(..., "\1?\8", "all") in vendor/wheels/model/sql.cfm:1438. That is a Wheels/Adobe-patch incompatibility (not an Adobe outage), and it is exactly the class of break the old pins hid.
    • Refresh policy: .ai/wheels/testing/adobe-engine-pins.md (monthly first-business-day refresh, both pin locations, rebuild commands, known-bad process, recheck dates), linked from CLAUDE.md.

    What is not verified / done: the u26/u14 incompatibility is not fixed here (scoped to coverage; recheck 2026-12-15 by the weekly watch, which now runs automatically). The weekly cron cannot be observed before merge, but the workflow ran through its paths-limited pull_request trigger on this PR and its logic is the same. Gating pins, branch protection and gates are unchanged.

  2. bpamiri commented on Dec 1, 2026

    @bpamiri
    CollaboratorAuthor

    Delivered in #4718, merged as deb258dd8d48b991ba6a45eaedd7f92b945bcbdf.

    What landed

    1. The gating legs now name the build they ran. A Record engine build step runs box server info --json inside the container — so it reports the engine the container actually started, not the pin we chose — and writes it to the job log, the per-leg summary, a build artifact, and a new "Engine builds observed" table in the matrix summary. Verified on a narrowed dispatch: Engine build: adobe2023 2023.0.11+330706, with the matching adobe2023-sqlite-build.json artifact.
    2. The current patch is observed without gating anything. New .github/workflows/adobe-patch-watch.yml resolves the newest Adobe 2023/2025 versions from ForgeBox, rebuilds those images, runs the core SQLite suite, and reports the build it started. It is a separate workflow with continue-on-error observation jobs, so an Adobe-side break cannot fail a Wheels PR or the release gate. Crucially it read Engine build: 2023.0.26+331018 and failed in the known u26 way (where=…/vendor/wheels/model/sql.cfm) — i.e. it reproduces exactly the class of breakage that reached users as fix: Adobe CF 2023 u26 / 2025 u14 break \u regex replacements (controller main → umain) #4646 while every gating leg stayed green on update 11.
    3. Known-bad is recorded, and expires. tools/docker/adobe-patch-known-bad.json carries the current u26/u14 entries with evidence and recheck dates. An expired recheck no longer suppresses: the observation exits 1 with known-bad entry … is expired (recheck …); it no longer suppresses this failure, so a stale entry cannot sit there converting a red suite into a green exit 0 forever. A green run with a stale entry warns to remove it.
    4. A classifier that cannot be fooled by an error envelope. A 500 error envelope (pass=0/fail=0/error=0) used to be classified green; it now requires HTTP 200, at least one passing spec and no error location.
    5. The refresh policy is written down in .ai/wheels/testing/adobe-engine-pins.md, with a named owner (release manager) and a monthly procedure, and the table now says "last reviewed" with the real pin date instead of implying the pins were refreshed.

    What this does and does not change

    Does: makes the Adobe patch level an explicit, observable thing in CI. A CF-4234761-class regression now shows up as a red observation run with the build named and, on first sight, an issue opened — instead of shipping unseen. That is what this issue asked for.

    Does not: the gating pins are still adobe@2023.0.11 / adobe@2025.0.06. Observation is deliberately non-blocking and does not bump them; u26/u14 are recorded as known-bad against Wheels rather than adopted. Moving the pins is a separate, deliberate act — and note the tradeoff the CommandBox leg just demonstrated (#4722/#4723): an unpinned default moving underneath a leg is how a harness silently starts testing something else.

    Verification

    The observer was exercised end-to-end on the PR head (run 46608781504), and its issue-surfacing path was proven on real runs: it created #4724 and #4725, then on a second failing run commented on the existing issues rather than duplicating them. Both test issues were closed afterwards and no temporary expired-recheck data is in the merged head (recheck values are back to 2026-12-15).

    First scheduled observation on develop will be the next Monday window; until then, what is verified is the PR-head runs above, not a develop run.

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