Commit Graph
350 Commits
Author SHA1 Message Date
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
Bob Qiu da17a80a42 refactor(tests): standardize test tags from '@sequential' to 'sequential' 2026-09-28 12:11:27 +08:00
Bob Qiu fac7a81708 refactor(tests): update context menu action tests and drag-drop functionality
- Refactored context menu action tests for collections and requests to use sequential tagging.
- Improved readability and consistency in test structure and assertions.
- Updated drag-and-drop tests for cross-project interactions to enhance clarity and maintainability.
- Ensured proper handling of asynchronous operations and improved test reliability.
2026-09-28 12:09:54 +08:00
Bob Qiu 32b3763483 Merge branch 'develop' into test/refactor_e2e_tests 2026-09-24 17:25:00 +08:00
Bob Qiu 8063d2335b refactor: add package permissions to build and test jobs in workflow 2026-09-24 17:24:24 +08:00
Bob Qiu 386910aeba refactor: adjust test shard configuration and suppress Playwright output 2026-09-24 17:08:41 +08:00
Bart Smykla bcaac3c08a ci(ksai): add KSAI through the public mirror (#10551)
A public repository cannot call a reusable workflow in the internal
KSAI repository, so the setup workflow fails before any job starts
with "workflow was not found". Call the published snapshot instead,
pinned to the current release and following its consumer template,
with every command enabled and a review on each opened pull request.

The snapshot names no model gateway of its own, so the call passes the
organization's gateway variable. It runs on GitHub-hosted runners,
because the Kong runner pool serves no public repository, and with no
GitHub App at all: push_as_app is false and no key is passed, so every
read and write goes through GITHUB_TOKEN.

Signed-off-by: Bart Smykla <bartek@smykla.com>
2026-09-24 16:50:31 +08:00
Bob Qiu 6626a68b45 refactor: update context menu actions for workspace pinning and enhance workflow environment variables 2026-09-24 16:49:02 +08:00
Bob Qiu 27bed7580c refactor: reduce build timeout from 120 minutes to 30 minutes for improved efficiency 2026-09-24 14:44:47 +08:00
Bob Qiu e9e9054e5e refactor: expand test shard matrix to include additional shards for improved parallel execution 2026-09-24 14:42:25 +08:00
Bob Qiu 4c29dee1ef refactor: update action versions and expand test shard matrix for improved parallel execution 2026-09-24 14:22:55 +08:00
Bob Qiu 2b403f6094 refactor: expand test matrix to include additional shards for parallel execution 2026-09-24 14:15:10 +08:00
Bob Qiu c5125ce1c8 refactor: update test dependency installation process in insomnia-test workflow 2026-09-24 13:46:14 +08:00
Bob Qiu 9c1323ff1d refactor: update trigger branches for Insomnia test workflow 2026-09-24 13:39:05 +08:00
Bob Qiu f28031f4b5 refactor: remove outdated Playwright workflow configuration 2026-09-24 13:33:01 +08:00
Bob QiuandClaude Sonnet 5 7756e2c5da fix: address CodeQL/Aikido findings on e2e test workflows
- Restrict GITHUB_TOKEN to contents:read at the workflow level in
  insomnia-test.yml and playwright.yml
- Pin peaceiris/actions-gh-pages to a commit hash instead of a mutable tag
- Cap the x-reply-delay-ms test header to 60s in echo-server.js,
  event-stream-server.js, and mcp-server.js to avoid unbounded timers

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 13:27:22 +08:00
Bob Qiu 34998cc857 feat: add GitHub Actions workflow for Insomnia testing and build process 2026-09-24 13:18:30 +08:00
Bob Qiu 1f1edbf5bd Merge branch 'develop' into test/refactor_e2e_tests 2026-09-24 13:14:54 +08:00
yaoweiprcandClaude Opus 5 f697cd847c chore(ci): make the cycle check runnable on Windows and report drift honestly (#10548)
Two independent papercuts in the circular reference check, both hit while
investigating a failure on another PR.

`npm run check-cycle-references` could not run on Windows at all. It spawned
the extensionless `node_modules/.bin/depcruise` shim through `execFileSync`,
which Windows cannot launch; the `.cmd` sibling does not help either, since
Node >=18 refuses to spawn `.cmd` without a shell (CVE-2024-27980). Resolve
dependency-cruiser's own entry point and run it with `process.execPath`
instead — no shell, works everywhere.

The check also fails on baseline drift (cycles recorded in the baseline that
no longer exist), which is correct: the baseline is a ratchet, and leaving a
fixed cycle in it would silently keep permitting its reintroduction. But CI
labelled every non-success outcome "New circular references detected", so a PR
that *removed* two cycles was reported as having added some. That cost real
debugging time.

Give the script distinct exit codes — 1 for a new cycle, 2 for drift alone —
and have the workflow capture and map them to separate messages. The failure
behaviour is unchanged; only the wording is now accurate. Renamed the final
step to match what it actually gates on.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-24 02:58:59 +00:00
Bob Qiu d9942adb3e feat(tests): add comprehensive sidebar and URL bar tests
- Implement tests for sidebar drag-and-drop persistence across views.
- Add tests for sidebar filtering and pinning functionality.
- Create onboarding tests for sidebar focus mode.
- Verify settings dialogs and inline renaming in the sidebar.
- Ensure correct tree hierarchy rendering for requests and folders.
- Test tab name and method synchronization with underlying requests.
- Validate tab management features including pinning, switching, and closing.
- Enhance URL bar functionality tests, including undo behavior and environment variable previews.
- Introduce TypeScript configuration for improved type safety and module resolution.
2026-09-23 17:35:13 +08:00
Bingbing f08d65b45e chore: replace madge circular-reference check with dependency-cruiser (#10468)
## Summary

- Replaces the madge-based `check-cycle-references` with a `dependency-cruiser`-based check, cruised once per npm workspace package.
- Keeps the checker, dependency-cruiser config, and known-cycle baseline together under `scripts/circular-references/`.
- Uses a committed baseline to grandfather existing cycles while failing on new cycles and stale baseline entries.
- Cleans the existing `insomnia-inso` type cycle by using `insomnia-data`'s `AllTypes` instead of importing the database container type.
- CI explicitly uses Bash for correct `tee`/pipeline failure propagation, safely handles skipped checks, and posts a PR report.
- Dropped `madge`/`.madgerc`, added `dependency-cruiser`.
2026-09-10 16:11:43 +08:00
Bingbing 7c334de276 chore: remove KSAI workflow (#10478)
KSAI's reusable workflow at Kong/ksai isn't accessible from this repo, causing every run to fail with "workflow was not found".
2026-09-07 08:22:26 +00:00
Bingbing 1a5281c60f chore: add KSAI workflow (#10474) 2026-09-07 02:50:04 +00:00
amy-kong-hq 4c114c449f feat: e2e re-run only fails (#10457)
* debug: make case fail to test rerun last fail

* fix: last-run json not found

* fix: revert debug test steps
2026-09-02 08:17:14 +00:00