Skip to content

Commit de7022c

Browse files
update changelog
1 parent d997177 commit de7022c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Changes since the last non-beta release.
2525

2626
#### Added
2727

28+
- **Total Execution Time CI Monitoring**: Added automated execution time tracking to CI using size-limit. Compares PR client import execution times against the base branch and fails if any import increases by more than 20%. [PR 2160](https://github.com/shakacode/react_on_rails/pull/2160) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
29+
2830
- **Bundle Size CI Monitoring**: Added automated bundle size tracking to CI using size-limit. Compares PR bundle sizes against the base branch and fails if any package increases by more than 0.5KB. Includes local comparison tool (`bin/compare-bundle-sizes`) and bypass mechanism (`bin/skip-bundle-size-check`) for intentional size increases. [PR 2149](https://github.com/shakacode/react_on_rails/pull/2149) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
2931

3032
- **Service Dependency Checking for bin/dev**: Added optional `.dev-services.yml` configuration to validate required external services (Redis, PostgreSQL, Elasticsearch, etc.) are running before `bin/dev` starts the development server. Provides clear error messages with start commands and install hints when services are missing. Zero impact if not configured - backwards compatible with all existing installations. [PR 2098](https://github.com/shakacode/react_on_rails/pull/2098) by [justin808](https://github.com/justin808).

scripts/bundle-size.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import fs from 'fs';
1818
// Intentionally strict to catch any bundle size changes early.
1919
// For intentional size increases, use bin/skip-bundle-size-check to bypass the CI check.
2020
const DEFAULT_THRESHOLD = 512;
21+
// 20% is a big ration, but the current approach is not accurate enough to detect rations less than that
22+
// Later, we will implement performance tests that will use more accurate mechanisms and can detect smaller performance regressions
2123
const DEFAULT_TIME_PERCENTAGE_THRESHOLD = 0.2;
2224
const DEFAULT_CONFIG = '.size-limit.json';
2325

0 commit comments

Comments
 (0)