Skip to content

Strengthen CI and test coverage to catch regressions earlier and update README - #268

Draft
ndoschek wants to merge 3 commits into
masterfrom
ci/nightly-regression-guard
Draft

Strengthen CI and test coverage to catch regressions earlier and update README#268
ndoschek wants to merge 3 commits into
masterfrom
ci/nightly-regression-guard

Conversation

@ndoschek

Copy link
Copy Markdown
Member

ci: schedule nightly after Theia next publish, build apps, guard against run-loop helpers

  • Move the scheduled run to weekday mornings (0 4 * * 1-5), a few hours
    after Theia publishes its 'next' version at midnight UTC, so the run
    validates the freshly released 'next' instead of the previous day's.
  • Make generate-and-build-all-templates.sh actually bundle the generated
    browser and electron apps ('npm install' compiles the extension but not
    the apps), so build-time regressions (e.g. dependency hoisting) are caught.
  • Add a fast unit test that fails if any generator helper method is public,
    since yeoman auto-runs such methods as run-loop tasks with the wrong
    arguments; and assert the resolved electron version is concrete.

test: add regression tests mapped to recent fixes

  • Add a tree-widget generation test (previously the only untested template).
  • Assert '@types/react' is present in the widget and tree-widget
    devDependencies (guards the TSX compile fix).
  • Assert the generated root package.json has exactly one 'test' script
    (guards the duplicate-key fix, which JSON.parse would hide).

docs: update README

  • Point the logo and build badge at the current 'eclipse-theia' org; the
    repo moved from 'theia-ide', so the badge showed no status.
  • Drop the stale 'yo (version 4.x.x)' hint; any current yo version works.

@ndoschek ndoschek changed the title Ci/nightly regression guard Strengthen CI and test coverage to catch regressions earlier and update README Jul 22, 2026
@ndoschek
ndoschek force-pushed the ci/nightly-regression-guard branch from 8c9df64 to 0a04b8a Compare July 22, 2026 13:45
ndoschek added 3 commits July 23, 2026 10:22
…nst run-loop helpers

- Move the scheduled run to weekday mornings (0 4 * * 1-5), a few hours
  after Theia publishes its 'next' version at midnight UTC, so the run
  validates the freshly released 'next' instead of the previous day's.
- Make generate-and-build-all-templates.sh actually bundle the generated
  browser and electron apps ('npm install' compiles the extension but not
  the apps), so build-time regressions (e.g. dependency hoisting) are caught.
- Add a fast unit test that fails if any generator helper method is public,
  since yeoman auto-runs such methods as run-loop tasks with the wrong
  arguments; and assert the resolved electron version is concrete.
- Add a tree-widget generation test (previously the only untested template).
- Assert '@types/react' is present in the widget and tree-widget
  devDependencies (guards the TSX compile fix).
- Assert the generated root package.json has exactly one 'test' script
  (guards the duplicate-key fix, which JSON.parse would hide).
- Point the logo and build badge at the current 'eclipse-theia' org; the
  repo moved from 'theia-ide', so the badge showed no status.
- Drop the stale 'yo (version 4.x.x)' hint; any current yo version works.
@ndoschek
ndoschek force-pushed the ci/nightly-regression-guard branch from 0a04b8a to a2c09b9 Compare July 23, 2026 08:23
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