28 Commits
Author SHA1 Message Date
hy 4a829624a4 fix: respect release regression impact scope
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-21 16:29:52 +08:00
hy 3b9ba40774 fix: gate releases on packaged cache regression evidence
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-21 13:47:40 +08:00
hy e84f8360d5 feat: integrate Jieba support and enhance VC++ redistributable handling for Windows 2026-10-21 12:36:45 +08:00
hy 0ea1860085 feat: enhance desktop launch handling and improve exit classification for macOS
- Added `findInstalledWindowsShortcut` to locate Windows shortcuts for installed applications.
- Integrated `launchEntryPath` into the E2E application preparation process to improve launch entry tracking.
- Removed loopback URL checks and related functions from `httpPageFetch.ts` to simplify HTTP fetching logic.
- Updated `web/index.ts` to streamline HTTP page fetching logic and remove unnecessary loopback checks.
- Modified E2E tests to correctly retrieve Electron process IDs and improve test reliability.
- Introduced `isExpectedMacDesktopTeardownExit` to classify macOS application exits more accurately.
- Enhanced Electron app launch process to support desktop launch configurations and ensure proper teardown.
- Added tests for desktop launch configurations to ensure sensitive data is not exposed.
- Improved error handling and logging during Electron app launches and exits.
2026-10-21 12:33:06 +08:00
hy 1eedabb914 feat: add support for language and service route preferences
- Updated ModelSource type to include 'huggingface'.
- Enhanced MODEL_SOURCE_LABELS for better clarity.
- Introduced defaultModelSource function to determine default source based on service route.
- Modified AppSettings to include language and serviceRoute.
- Created end-to-end tests for language and service route settings.
- Added unit tests for application language and service preferences.
- Updated free models test to reflect new catalog naming conventions.
- Enhanced official API tests to ensure correct handling of service regions.
- Adjusted release artifact tests to accommodate internationalization.
- Updated SQLite migration and storage tests to include new preferences.
2026-10-21 10:05:42 +08:00
hy 978c33f371 fix: synchronize desktop releases across COS, R2 and GitHub
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-20 18:12:56 +08:00
hy 561743ee3e fix: use ASCII release asset names and extend upload timeout
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-20 16:49:06 +08:00
hy 04295587e1 feat: integrate GitHub releases and prepare public repository
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-20 15:38:48 +08:00
hy 79d1b30a6c Refactor tests and update document references
- Updated legacy document references in various test files to reflect new document names and paths.
- Modified user input prompts in tests to align with the new document content and context.
- Adjusted assertions in tests to ensure they check for the correct content based on the updated documents.
- Added new test fixtures and removed outdated ones to maintain test integrity.
- Ensured all changes maintain the functionality of the tests while improving clarity and relevance.
2026-10-20 15:11:36 +08:00
hy 41983f0b69 refactor: improve clarity and structure in documentation for tool design, release process, and AI testing 2026-10-14 15:26:13 +08:00
hy 0b95642b92 feat: unify document references and interaction cards, tidy docs and tests 2026-10-11 10:08:28 +08:00
hy 5dd6cff103 feat: update subagent task view and related logic for streaming support
- Changed `requesting` to `streaming` in `SubagentTaskView` type.
- Updated logic in `reduceAssistantProcessGroups` to handle streaming state and message timing.
- Modified `AiRunEventPayload` to reflect the new streaming property.
- Enhanced tests for human subagent to validate streaming behavior and prefix cache retention.
- Added new test case for subagent prefix cache retention during live execution.
- Introduced assertions for prefix cache reuse in the continuation logic.
- Added a new DOCX fixture for testing document selection scenarios.
2026-10-09 10:30:56 +08:00
hy 4bca39b13b feat: Enhance AI question handling and testing framework
- Added new test cases for AI user question interactions, including scenarios for rejecting mixed tools and ensuring no auto-answering occurs.
- Updated the test plan documentation to include new test cases and clarify AI question handling processes.
- Improved the Workbench UI to support better user interactions with AI questions, including custom input handling and question navigation.
- Refactored backend code to implement a question resolver that manages AI question interactions and ensures proper event handling.
- Enhanced unit tests to validate the structure and behavior of the ask_user_question tool contract.
- Introduced end-to-end tests for the Workbench AI question flow, ensuring that user interactions are correctly captured and processed.
2026-09-21 14:51:07 +08:00
hy 5dfbec24ad feat: add ask_user_question tool for user interactions
- Introduced ASK_USER_QUESTION_TOOL_SPEC and related schemas for user questions.
- Implemented agentControlToolFamily to include the new ask_user_question tool.
- Enhanced AiRunStore to handle pending interactions and updated database schema.
- Created HumanInteractionCard component for rendering user questions in the UI.
- Updated ChatPage to manage human interaction states and submit answers.
- Added tests for ask_user_question tool contract to ensure validation and constraints.
2026-09-21 13:59:56 +08:00
Yoan Huang 3add2f5ae7 docs(release): 收紧正式包 E2E 影响评估表述 2026-09-20 23:05:41 +08:00
Yoan Huang ac68cb09f7 docs(release): 明确同次发布已通过用例勿无故重跑 2026-09-20 22:59:43 +08:00
hy 6d82547dc6 refactor: streamline release process guidelines and clarify user intervention points 2026-09-20 18:05:42 +08:00
hy 7c15454420 docs: require autonomous release execution except product decisions
Spell out that once the user asks to publish, engineering blockers are
fixed and continued without interruption; only product-level choices
need user input.
2026-09-20 18:03:13 +08:00
hy 396f751e05 refactor: rename human-prefix-cache-retain-live to prefix-cache-retain-live and update related tests
- Updated test plan documentation to reflect the new naming convention for prefix cache tests.
- Added new E2E test for prefix cache retention in the Workbench UI.
- Removed obsolete human-prefix-cache-retain-live test file and integrated its logic into the new test structure.
- Adjusted release preparation script to accommodate the new test case name.
- Enhanced LLM IO record handling in the E2E testing framework to support the new test requirements.
- Updated various harness and utility functions to ensure compatibility with the new test structure and naming.
2026-09-20 17:45:55 +08:00
Yoan Huang 142772314f fix(release): clarify evaluation process for non-impactful fixes during release 2026-09-19 11:16:48 +08:00
hy 2f170630e2 Update test documentation for settings and workbench
- Clarified the routing for the `vector` section in settings-test.md, specifying that the page is now located at `/settings/vector` instead of the historical `/model-download`.
- Enhanced descriptions in workbench-test.md regarding file preview actions, including details on WPS refresh mechanisms and the handling of various file types.
- Updated the overall structure of test documentation in test.md to include the `showcase` category and refined the definitions of test types and execution methods.
- Ensured consistency in the language and formatting across all test plan documents.
2026-09-18 17:36:01 +08:00
hy a926aa5524 Refactor tool design and architecture documentation; update database schema details; enhance deployment instructions; improve test plan structure; modify UI style guidelines; implement partner directory cleanup in ChatRunService. 2026-09-18 17:10:49 +08:00
hy 203f8ab180 feat(showcase): add new tests for PPT management and knowledge base interactions
- Implemented `ppt-management-briefing-edit.showcase.test.ts` to test editing PPTs with AI assistance, including cost computation and screenshot capture.
- Created `ppt-management-briefing-review.showcase.test.ts` for reviewing PPTs, ensuring the generation of review screenshots and cost analysis.
- Added shared utility functions in `shared.ts` for handling showcase fixtures, workspace seeding, and cost computation.
- Developed `xinghe-kb-reply.showcase.test.ts` to validate knowledge base interactions, capturing screenshots of responses and ensuring correct tool usage.
- Introduced `xinghe-service-contract.showcase.test.ts` to test PDF contract inquiries, verifying unchanged source documents and capturing relevant screenshots.
- Configured Vitest for showcase tests in `vitest.showcase.config.mts`, setting appropriate timeouts and test inclusion/exclusion criteria.
2026-09-18 14:22:54 +08:00
hy 2c431406f0 feat(tests): enhance testing framework with explicit collection tasks and execution profiles
- Added `showcase` as an explicit collection task in the testing framework, distinct from product regression.
- Introduced explicit collection task rules and updated documentation to reflect changes in testing structure.
- Updated E2E testing commands to utilize `--execution-profile` for better control over test execution.
- Implemented validation to prevent the selection of certain groups (e.g., `showcase`) during release command parsing.
- Enhanced regression selection logic to allow opt-in groups for release impact assessment while rejecting disallowed groups.
- Updated related scripts and test cases to ensure compliance with new testing rules and execution profiles.
2026-09-18 13:56:30 +08:00
hy 5cff282d2c feat(e2e): introduce default exclude groups for E2E tests and update related scripts 2026-09-18 12:36:56 +08:00
hy b202ffa045 feat(ai): enhance live prefix cache tests to validate three-round continuity and tool history 2026-09-18 11:39:32 +08:00
hy 41040cc7de refactor(docs): streamline deployment documentation and remove redundant content 2026-09-18 11:32:59 +08:00
hy 0c34dd3ecf feat: add desktop release design and process documentation
- Introduced `design.md` to outline the constraints, storage layout, CDN/public channel, and local directory conventions for desktop releases.
- Added `release.md` detailing the release process for Windows and macOS, including tagging, candidate package creation, and COS publishing.
- Created `tencent-cdn-billing.md` to summarize billing and procurement for Tencent Cloud CDN and COS for domestic releases.
- Updated test plans in `ai-test.md` and `workbench-test.md` to reflect changes in release processes and added new tests for prefix cache retention.
- Enhanced release preparation script to assert live key configuration and run necessary live gate tests.
- Implemented a new test case for validating prefix cache retention during live interactions.
2026-09-18 11:24:54 +08:00