Skip to content

ci(compat-matrix): report engine builds and watch the current Adobe patch (#4715) - #4718

Merged
bpamiri merged 6 commits into
developfrom
ci/adobe-current-patch
Dec 1, 2026
Merged

bpamiri merged 6 commits into
developfrom
ci/adobe-current-patch

Conversation

@bpamiri

@bpamiri bpamiri commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Review round (head c4894474f)

1. resolve vs comment contradiction — fixed by making the comment true. resolve stays non-continue-on-error, and the header now says exactly that: the observation jobs are continue-on-error; a resolve failure is one visible red run that observed nothing (a ForgeBox outage must not look like a silent skip).

2. Known-bad recheck is now a deadline. The observer parses recheck and compares it with today. A listed patch whose failure is still real suppresses only while the date is in the future; expired or missing/invalid dates no longer suppress — the job fails (::error::known-bad entry … is expired … it no longer suppresses this failure) and the issue step files/updates a tracking issue. A green run that still has a known-bad entry warns to remove the stale entry. Documented in .ai/wheels/testing/adobe-engine-pins.md and the JSON _note.

3. Docs accuracy. Table column is now “last reviewed”, with 2026-11-30 (unchanged; coverage PR only) for both pins — this PR re-pinned nothing. The refresh procedure names the owner (release manager, currently @bpamiri, first business day monthly) and states that a missed rotation is visible because the weekly observer’s expired-entry path fails and opens/updates an issue.

4. Classifier branches exercised. Ran the exact classifier block extracted from the workflow against stubbed envelopes (GITHUB_STEP_SUMMARY set), all four outcomes:

scenario input exit verdict
green HTTP 200, pass=7410, no error location 0 green
unknown red HTTP 500, pass=0, where=sql.cfm 1 ::error::… not listed known-bad
known-bad, fresh same red, recheck 2026-12-15 0 KNOWN-BAD (recheck 2026-12-15)
known-bad, expired same red, recheck 2026-11-01 1 ::error::… is expired … no longer suppresses
green + stale entry green, recheck 2026-11-01 0 warning: remove stale entry

(These are the exact workflow lines, not a re-implementation; the live known-bad path remains proven by run 46509946769.)

Decision — pull_request trigger: removed. Its only purpose was validating the workflow before it existed on the default branch. After merge, gh workflow run adobe-patch-watch.yml --ref <branch> runs a branch version (the workflow exists on the default branch), so later edits can still be validated on demand. Keeping it would spend two 5–10 minute Adobe builds on every PR touching the observer/known-bad list and would put a non-gating red observer check on such PRs. The header comment now documents the no-PR-trigger rationale.

Optional surfacing added. On an unknown red (or an expired known-bad, which also exits 1) the workflow opens or updates an adobe-patch-watch issue with the engine, version, build and run link — so a permanently red observer is actually surfaced rather than only linked passively. issues: write added; the observation remains non-gating.

Rebase. Rebased onto develop 0a6946369 (#4716) with no conflicts. Re-verified the engine-build chain after the rebase: narrowed matrix dispatch 46585176347 → success, Engine build: adobe2023 2023.0.11+330706 in the log, per-leg summary write, successful Test Matrix Summary.

Extra version input for workflow_dispatch (exact patch; requires engine) so a known-bad entry can be rechecked directly against the real registry version.

CI on c4894474f: CLEAN (24 checks, 0 failing) — one transient Tutorial E2E failure (temp-scaffold component path) passed on gh run rerun --failed.

Review round 3 (head e50ae907c)

BLOCKING — the issue-surfacing step now works, and is proven on real runs. gh issue list --jq does not take jq's --arg; the probe aborted under set -e and the create/comment branch never ran. It now pipes the JSON to jq -r --arg t \"$TITLE\" '.[] | select(.title == $t) | .number'. Proof (expired-recheck path, so the observation genuinely fails and if: failure() runs):

  • Created: run 46609906536 → issues #4724 (adobe2023) and #4725 (adobe2025), URLs in the log.
  • Updated, not duplicated: run 46610963339 → Commented on existing issue #4724 / #4725 (issue links: #4724 comment, #4725 comment); the issue list still contained exactly those two.
  • Both test issues were closed as cleanup after the proof (the expired rechecks were temporary and are not in the final head).

The reworked watcher executed end-to-end. Run 46608781504 on the final head (e50ae907c, pull_request, paths-limited trigger): resolve → both observe jobs → classify all ran; jobs success via the known-bad path (adobe2023 2023.0.26+331018, adobe2025 2025.0.14+332029).

Trigger decision (reversal, justified). The paths-limited pull_request trigger is back: an observer edit must be validated by a real run, and a brand-new workflow cannot be dispatched before it exists on the default branch — r2's exact objection ("its green CI covers none of it"). The filter is limited to this workflow and the known-bad list, so ordinary PRs never run it; workflow_dispatch stays for the develop baseline after merge.

Empty matrix / typo now red. resolve validates the engine input (adobe2023, adobe2025, or blank) and exits non-zero when the include list is empty. Demonstrated locally with the exact resolve block: WANT=adobe2023x → ::error::engine must be adobe2023, adobe2025, or blank; got 'adobe2023x', exit 1; WANT=adobe2023 → exit 0 with the u26 matrix. No more green run that observed nothing.

Doc line corrected. .ai/wheels/testing/adobe-engine-pins.md now reads "The observation jobs are continue-on-error; the resolve job is not." and describes the paths-limited PR trigger instead of claiming none.

Rebase / pins. Rebased onto current develop 379d05a3b (#4717/#4719/#4720 era) cleanly. ARG CFENGINE defaults unchanged: adobe@2023.0.11+330706 / adobe@2025.0.06+331564. Re-verified the gating build after the rebase with a narrowed matrix dispatch 46612135629 → success, Engine build: adobe2023 2023.0.11+330706, per-leg summary written, Test Matrix Summary success.

PR CI on e50ae907c: CLEAN (27 checks, 0 failing).

@github-actions github-actions Bot added the docs label Nov 30, 2026
@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Wheels Test Results

7 581 tests   7 412 ✅  1m 58s ⏱️
  614 suites    169 💤
    1 files        0 ❌

Results for commit e50ae90.

♻️ This comment has been updated with latest results.

…atch

The Adobe legs ran builds baked into the images, and nothing said which build
a green leg actually used, so the matrix could be green while the patch users
run was broken (#4715; CF-4234761 reached users that way). Record the engine
build each leg starts (`box server info`'s engineVersion) in the job, per-leg
and matrix summaries, and add an observational workflow that builds the newest
Adobe 2023/2025 patch from ForgeBox and runs the core SQLite suite there.

The watch is a separate, continue-on-error workflow linked from every matrix
summary, so a red result is visible but cannot fail a PR or the release gate.
Patches proven incompatible are recorded with evidence and a recheck date in
tools/docker/adobe-patch-known-bad.json and report as KNOWN-BAD. u26/u14 are
recorded there: the masked-where ReReplace path in model/sql.cfm corrupts
`username='...'` into `username1?8`, so the suite 500s on those patches while
the pinned u11/u06 legs stay green.

Document the monthly refresh policy for the Adobe pins in
.ai/wheels/testing/adobe-engine-pins.md.

Signed-off-by: Peter Amiri <peter@alurium.com>
A brand-new workflow cannot be dispatched before it exists on the default
branch. Trigger the observer from pull_request only when its own file or the
known-bad list changes, so this PR produces the first observation and later
edits are self-validating; ordinary PRs still never run it.

Signed-off-by: Peter Amiri <peter@alurium.com>
A 500 from the suite is a Wheels error envelope with no totals, so
pass=0/fail=0/error=0 looked green. Require HTTP 200, at least one passing
spec and no error location before calling an observation green, and print the
build and known-bad verdict to the job log (not only the step summary).

Signed-off-by: Peter Amiri <peter@alurium.com>
The summary line alone is not visible in the run log, so a reviewer cannot
copy the build a leg ran. Echo it from the build-recording step as well.

Signed-off-by: Peter Amiri <peter@alurium.com>
Review fixes for the Adobe current-patch observer:
- a known-bad entry whose recheck date has passed no longer suppresses the
  failure: the observation fails (and files/updates an issue) instead of
  turning red into a green KNOWN-BAD forever. A green run with a stale entry
  warns to remove it.
- the resolve job is not continue-on-error while the observation jobs are;
  the header now says exactly that instead of claiming all jobs are.
- drop the paths-limited pull_request trigger: after merge,
  `gh workflow run adobe-patch-watch.yml --ref <branch>` validates edits
  without spending two Adobe builds on every PR touching these files. Add an
  optional exact `version` input for rechecking a known-bad entry.
- on a red observation, open or update an `adobe-patch-watch` issue so a
  permanently red observer is actually surfaced, not just a passive link.
- docs: pins were "last reviewed" (not refreshed) on 2026-11-30; name the
  release manager as the monthly-refresh owner; document the expiry
  consequence and the dispatch-based recheck.

Signed-off-by: Peter Amiri <peter@amiri.com>
Signed-off-by: Peter Amiri <peter@alurium.com>
`gh issue list --jq` does not accept jq's `--arg`, so the existing-issue probe
aborted under `set -e` and the create/comment branch never ran; the observation
job is continue-on-error, so the run stayed green with no issue. Pipe the JSON
to `jq -r --arg t "$TITLE"` instead, and keep the exact-title match.

Reject an empty resolved matrix and validate the `engine` input, so a typo or
an upstream listing with no candidate is a red run rather than a green run
that observed nothing. Re-add the paths-limited pull_request trigger so an
edit to the observer or its known-bad list is validated by a real run (a new
workflow cannot be dispatched before it exists on the default branch), and
correct the doc line that claimed every job is continue-on-error.

Signed-off-by: Peter Amiri <peter@alurium.com>
@bpamiri
bpamiri force-pushed the ci/adobe-current-patch branch 2 times, most recently from 520a5a6 to e50ae90 Compare December 1, 2026 08:59
@bpamiri
bpamiri merged commit deb258d into develop Dec 1, 2026
61 of 63 checks passed
@bpamiri
bpamiri deleted the ci/adobe-current-patch branch December 1, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant