Skip to content

ci: run the examples-module tests and refresh the EngineDeck baseline#288

Merged
DemchaAV merged 1 commit into
2.0-devfrom
ci/2.0-run-examples-tests
Jul 2, 2026
Merged

ci: run the examples-module tests and refresh the EngineDeck baseline#288
DemchaAV merged 1 commit into
2.0-devfrom
ci/2.0-run-examples-tests

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Why

The examples CI job only compiled the module and ran the generation smoke — the examples' own tests (flagship layout-snapshot baselines, the examples-local theme helpers, the README banner renderer) ran nowhere in CI. The gap had a concrete cost: the EngineDeck hero was deliberately crop-tightened (softPanel padding 30 → 18, commit 4a77284c) the day after its baseline was blessed, and EngineDeckLayoutSnapshotTest has been failing locally ever since with nothing catching it.

What

  • CI: add a Run examples tests step to the existing Examples Generation Smoke Test job, between compile and the generation run (job name unchanged — no branch-protection churn). The job already installs fonts/emoji/engine, so no new setup.
  • Baseline: re-bless engine-deck.json to the current render. Root cause verified — not OS drift (the sibling FinancialReportLayoutSnapshotTest snapshot passes on the same machine): the example changed after the last bless. The baseline diff is geometry-only (positions/sizes, zero content changes), matching the crop commit.

Tests

mvn -f examples/pom.xml test — 31 tests, 0 failures locally; this PR's CI run exercises the new step itself. Engine suite untouched.

The examples CI job only compiled the module and ran the generation
smoke, so the examples' own tests (flagship layout-snapshot baselines,
the examples-local theme helpers, the README banner renderer) ran
nowhere in CI. That gap let a stale baseline sit unnoticed: the
EngineDeck hero was deliberately crop-tightened (softPanel padding
30 -> 18) the day after its baseline was blessed, and the snapshot
test has been failing locally ever since without anything catching it.

Add a "Run examples tests" step to the examples job between compile and
the generation smoke, and re-bless the EngineDeck baseline to the
current render. The baseline diff is geometry-only (positions and
sizes; no content changes), matching the crop change. Examples suite:
31 tests, 0 failures.
@DemchaAV DemchaAV merged commit c32c782 into 2.0-dev Jul 2, 2026
11 checks passed
@DemchaAV DemchaAV deleted the ci/2.0-run-examples-tests branch July 2, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant