Commit Graph
373 Commits
Author SHA1 Message Date
Bob Qiu 2385fe5f67 Refactor code structure for improved readability and maintainability 2026-10-16 15:44:08 +08:00
kwburns-kong 19b4875499 fix: pin kong/release-script docker action to a digest (#10449)
The .deb upload step uses the mutable:latest tag instead of a pinned digest, swapping the action to use the digest.
2026-10-15 16:58:40 +00:00
Bob Qiu bd4806a590 feat: add mock servers for various protocols and OAuth2 support
- Implemented a mock bin server for handling HTTP requests and responses.
- Created an OAuth2 server with endpoints for authorization and token management.
- Added a Socket.IO server for real-time communication.
- Developed a WebSocket echo server for testing WebSocket connections.
- Updated package.json scripts to use TypeScript files with esr.
- Configured Playwright to start mock servers during tests.
- Introduced TypeScript configuration for the insomnia-test package.
2026-10-14 14:47:50 +08:00
Bob Qiu c3d2c7b689 refactor: optimize artifact deletion process to run in parallel 2026-10-13 14:16:54 +08:00
Bob Qiu 897cef727c refactor: reduce shard count from 64 to 32 for optimized parallel testing 2026-10-13 14:00:26 +08:00
Bob Qiu facd206156 refactor: update shard configuration to support dynamic scaling in CI workflow 2026-10-13 13:49:30 +08:00
Bob Qiu 0667029eca refactor: increase shard count from 24 to 32 for parallel testing in CI workflow 2026-10-13 13:32:14 +08:00
Bob Qiu e657ee1c8d refactor: optimize node_modules caching in CI workflow 2026-10-13 12:00:59 +08:00
Bob Qiu c0b4da543e refactor: update session key handling in mock API and launch process 2026-10-12 11:16:04 +08:00
Bob Qiu 972fdcb6b8 refactor: enable sourcemaps for coverage reports in build configuration 2026-10-09 15:17:38 +08:00
Bob Qiu b799cff164 refactor: update E2E test configurations and improve field handling in auth and sync pages 2026-10-09 12:28:57 +08:00
Bob Qiu e213f6c7ab Merge branch 'develop' into test/refactor_e2e_tests 2026-10-09 07:29:05 +08:00
Bart Smykla 14ea6d0f59 ci(ksai): start a KSAI run only for people who can write to the repository (#10578)
* ci(ksai): start a KSAI run only for people who can write to the repository

A comment or review now starts the KSAI run job only when its author
can write to this repository. A new authorize job reads the author's
permission with the workflow token, and the run job needs it. A
dispatched run starts as before.

Signed-off-by: Bart Smykla <bartek@smykla.com>

* ci(ksai): fail the authorize step when the permission read fails

A failed permission read used to answer writes=false with a green
job, so a writer's comment started nothing and the log said nothing.
The step now fails on a read error, the run job still does not start,
and the log names the error. An author who cannot write still reads
as writes=false.

Signed-off-by: Bart Smykla <bartek@smykla.com>

---------

Signed-off-by: Bart Smykla <bartek@smykla.com>
2026-10-09 07:04:27 +08:00
Bob Qiu adb93df0c8 refactor(insomnia-test): adjust shard configuration to optimize parallel testing 2026-10-08 15:31:00 +08:00
Bob Qiu c9eb80d572 refactor(tests): update artifact deletion logic to include coverage-raw in cleanup 2026-10-08 12:35:21 +08:00
Bob Qiu 505c98935d refactor(tests): increase shard count from 16 to 24 for improved parallel test execution 2026-10-08 11:49:22 +08:00
Bob Qiu 7a33c1e99f refactor(tests): adjust coverage report paths to prevent overwriting during CI uploads 2026-10-08 11:41:35 +08:00
Bob Qiu 5b8fda461f refactor(tests): implement union coverage report merging to address multi-shard discrepancies 2026-10-08 10:52:39 +08:00
Bob Qiu 74c843ce21 refactor(tests): update artifact deletion logic to retain per-shard coverage for debugging 2026-10-08 09:44:16 +08:00
Bob Qiu 9aab8874f4 refactor(tests): simplify shard file selection in Playwright tests 2026-10-02 10:08:34 +08:00
Bob Qiu 26ac1e3bc8 refactor(tests): shuffle test files for improved shard distribution in Playwright 2026-10-02 09:42:43 +08:00
Bob Qiu 1fe990e6a8 refactor(tests): expand shard configuration to support additional shards 2026-10-02 09:31:45 +08:00
Bob Qiu 4f712b0aed refactor(tests): expand test shard configuration to support additional shards 2026-10-02 09:03:36 +08:00
Bob Qiu f4eb699fe2 refactor(tests): reduce shard count from 8 to 6 for parallel testing 2026-09-30 13:45:03 +08:00
Bob Qiu 9e6ade1e3f refactor(tests): reduce shard count from 16 to 8 for parallel testing 2026-09-30 13:15:39 +08:00
Bob Qiu e02b18c033 refactor(tests): remove unused scripts for collecting and stitching rerun attempts 2026-09-30 12:47:16 +08:00
Bob Qiu ab0355db75 feat(tests): add script to stitch rerun attempts into original shard blobs 2026-09-30 12:32:57 +08:00
Bob Qiu 40d1f3b8f7 refactor(decorators): change default timeout for throwOnDialog to improve responsiveness 2026-09-30 10:45:37 +08:00
Bob Qiu b0fce1da20 refactor(tests): remove retries from sequential test execution for improved clarity 2026-09-30 09:53:27 +08:00
Bob Qiu cfe5395d55 refactor(tests): update condition for Insomnia Test Result job to avoid running on cancelled workflows 2026-09-29 16:38:19 +08:00
Bob Qiu 7d72040670 refactor(tests): add step to restore Insomnia binary for accurate coverage reporting 2026-09-29 15:10:58 +08:00
Bob Qiu 67dea147a2 refactor(build): update build command to include react-router and disable minification 2026-09-29 14:02:02 +08:00
Bob Qiu f50a186f15 refactor(tests): streamline coverage report merging and remove unnecessary push conditionals 2026-09-29 12:00:51 +08:00
Bob Qiu 2c892aa41f refactor(tests): enhance sequential test handling and improve failure reporting in E2E workflow 2026-09-29 11:44:18 +08:00
Bob Qiu 62d1ff7229 refactor(tests): disable retries for sequential test runs in E2E workflow 2026-09-29 11:18:17 +08:00
Bob Qiu 33dfd83617 refactor(tests): add coverage upload step and enhance coverage report handling in E2E tests 2026-09-29 11:12:13 +08:00
Bob Qiu bdc253fa7d refactor(tests): enhance blob report handling in E2E tests workflow 2026-09-29 10:54:28 +08:00
Bob Qiu 4b2dfa16e8 refactor(tests): simplify coverage handling in E2E tests workflow 2026-09-29 10:50:09 +08:00
Bob Qiu 1176b7ccb8 refactor(tests): streamline coverage and report merging in E2E tests workflow 2026-09-29 10:10:18 +08:00
Bob Qiu 00024c492f refactor(tests): implement coverage collection and reporting for E2E tests 2026-09-28 18:18:44 +08:00
Bob Qiu 71c431ef1a refactor(tests): rename artifact upload from 'playwright-report-sequential' to 'playwright-report' for consistency 2026-09-28 17:35:43 +08:00
Bob Qiu 1e92758665 refactor(tests): rename 'Initial Test' to 'Parallel Test' for clarity in workflow 2026-09-28 17:30:12 +08:00
Bob Qiu 15e08e72ae refactor(tests): rename sequential-test job for clarity and remove unused blob report upload 2026-09-28 16:19:59 +08:00
Bob Qiu 2921891a16 refactor(tests): rename test jobs for clarity and enhance blob report handling 2026-09-28 15:50:22 +08:00
Bob Qiu cae12694e7 refactor(tests): remove sequential tags from test cases and enhance test result collection 2026-09-28 15:24:52 +08:00
Bob Qiu b208b09b0f refactor(tests): update runner environment to use ubuntu-latest for parallel and sequential tests 2026-09-28 13:02:57 +08:00
Bob Qiu d9e39ab851 refactor(tests): update runner environment for parallel and sequential tests to use ubuntu-latest-4-cores 2026-09-28 12:55:38 +08:00
Bob Qiu 42233432b3 refactor(tests): rename sequential-test job for clarity and reduce DEFAULT_TIMEOUT to improve test execution speed 2026-09-28 12:48:45 +08:00
Bob Qiu d2ac77f6c1 refactor(tests): update test tags from 'sequential' to '@sequential' for consistency 2026-09-28 12:23:17 +08:00
Bob Qiu 39b9ecc264 refactor(tests): rename test jobs for clarity and consistency 2026-09-28 12:15:04 +08:00