Skip to content

Develop#45

Closed
acai1998 wants to merge 13 commits into
masterfrom
develop
Closed

Develop#45
acai1998 wants to merge 13 commits into
masterfrom
develop

Conversation

@acai1998
Copy link
Copy Markdown
Owner

描述

请简要描述此 PR 的更改。

相关 Issue

关闭 #(Issue 号)

修改类型

请选择相关选项:

  • Bug 修复(修复现有功能的非中断更改)
  • 新功能(添加新功能的非中断更改)
  • 重大更改(可能导致现有功能意外中断的修复或功能)
  • 文档更新

修改清单

  • 我已阅读 CONTRIBUTING.md
  • 我的代码遵循项目的代码风格
  • 我已进行了自我审查
  • 我已对我的代码进行了注释,特别是在复杂区域
  • 我已进行了相应的文档更改
  • 我的更改没有生成新的警告
  • 我已添加测试来证明我的修复/功能有效
  • 新的和现有的单元测试都通过了我的更改

测试

请描述你测试了这些更改的方式:

  • 前端类型检查:npx tsc --noEmit -p tsconfig.json
  • 后端类型检查:npx tsc --noEmit -p tsconfig.server.json
  • 本地开发测试:npm run start
  • 其他测试(请描述)

截图(如果适用)

请添加相关的截图来演示你的更改。

其他信息

添加任何其他应该注意的信息。

acai1998 added 12 commits May 16, 2026 19:54
…stics and management

- Implemented TaskStatsDialog for displaying task execution statistics and audit logs.
- Added TaskTableView for rendering a table of tasks with sorting and selection capabilities.
- Created taskPageConfig for managing task-related constants and utility functions.
- Add shared Bruno contracts and validation
- Add Bruno file parser for .bru request metadata
- Add Bruno JSON report parser for result normalization
- Add safe CLI runner with artifact path management
- Add Bruno persistence layer with DB schema
- Add Bruno repository sync service
- Add Bruno manual run orchestration
- Add REST API routes for Bruno automation
- Mount /api/bruno routes in server
- Introduced a comprehensive design document for integrating Bruno as a native API automation capability within the existing platform.
- Outlined the context, goals, architecture, execution engine model, data model, REST API design, and security considerations.
- Defined phased delivery approach for implementation, including manual execution, scheduler integration, platform experience enhancements, and GitLab triggering.
- Deleted the Bruno automation types and interfaces from shared types.
- Removed the BrunoAutomation component and its associated hooks from the frontend.
- Cleaned up references to Bruno automation in the sidebar and routing.
- Removed related tests for Bruno automation from both backend and frontend.
- Implement tests for useCases, useExecutions, and useTasks hooks to ensure correct API interactions and state management.
- Create tests for authApi service functions including token management, user registration, login, and password reset functionalities.
- Mock fetch and localStorage/sessionStorage to isolate tests from actual API calls and storage.
- Validate query parameters and request bodies for various scenarios in the hooks and services.
Comment thread .github/workflows/k6-smoke.yml Fixed
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Comment on lines +40 to +43
router.post('/callback/test', [
ipWhitelistMiddleware.verify,
rateLimitMiddleware.limit
], async (req: Request, res: Response) => {
Comment on lines +222 to +225
router.post('/callback/manual-sync/:runId', [
ipWhitelistMiddleware.verify,
rateLimitMiddleware.limit
], async (req: Request, res: Response) => {
*
* 访问控制:需要认证(通过 optionalAuth 获取用户信息,如未认证则仅返回部分指标)
*/
router.get('/metrics', [generalAuthRateLimiter, optionalAuth], (_req: Request, res: Response) => {
Comment on lines +149 to +154
router.post('/run-case', [
generalAuthRateLimiter,
optionalAuth,
rateLimitMiddleware.limit,
requestValidator.validateSingleExecution
], async (req: Request, res: Response) => {
Comment on lines +336 to +341
router.post('/run-batch', [
generalAuthRateLimiter,
optionalAuth,
rateLimitMiddleware.limit,
requestValidator.validateBatchExecution
], async (req: Request, res: Response) => {
Comment on lines +603 to +607
router.post('/callback', [
ipWhitelistMiddleware.verify,
rateLimitMiddleware.limit,
requestValidator.validateCallback
], (req: Request, res: Response) => {
@acai1998 acai1998 self-assigned this May 24, 2026
@acai1998 acai1998 closed this May 24, 2026
@acai1998 acai1998 reopened this May 24, 2026
@acai1998 acai1998 closed this May 24, 2026
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.

2 participants