Commit graph

16 commits

Author SHA1 Message Date
Max
efc84fbb97 feat(doc): add yao doc CLI commands and YAML documentation for all packages
Implement yao doc process list/inspect/validate and yao doc runtime
list/inspect/validate commands. Validate uses engine addressing logic
(process.Of) and checks dynamic-ID group registries (model, store, fs,
task, schedule) to verify resources actually exist.

- cmd/doc/: CLI command tree with process and runtime subcommands
- cmd/root.go: wire docCmd into rootCmd
- 27 process doc.yml + doc.go pairs across yao packages
- cmd/doc/doc_test.go: integration tests

Made-with: Cursor
2026-04-23 21:37:43 +08:00
Max
15a71692a2 fix(tests): improve error handling in unit tests and Makefile
- Enhanced the Makefile to include additional checks for test failures, specifically for panic messages and general failure indicators.
- Updated service tests to dynamically retrieve the server port, ensuring accurate request routing.
- Added a clear function call in the dashboard process test setup to ensure a clean state before tests run.
2026-04-06 17:17:11 +08:00
Max
c425b74383 Refactor error handling in various components to improve logging and message formatting
- Updated error messages to use fmt.Errorf with %s for better clarity and consistency.
- Enhanced logging statements to utilize formatted strings for improved readability.
- Refactored multiple Load functions across different modules to standardize error handling practices.
2025-09-28 10:24:17 +08:00
Max
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +08:00
Max
a258dfa787 Refactor component property handling and add deep copy functionality 2024-11-03 07:53:25 +08:00
Max
67de1c07cb Securely update hidden props in the DSL that are only visible to the backend 2024-11-02 17:38:37 +08:00
Max
c4e96366bf Use url.QueryUnescape for xpath and method in process components 2024-11-01 12:47:03 +08:00
Max
00b0649296 Fix the Download Process tests 2024-10-30 17:10:56 +08:00
Max
18b212985d Fix memory leaks and optimize the download process. 2024-10-30 16:48:59 +08:00
Max
dc45eedece [add] migrate widgets.dashboard 2023-03-25 19:43:38 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
0ae2698a45 [change] widget dashboard 2022-12-19 21:14:18 +08:00
Max
7385c0b5c7 [change] widget chart & dashboard setting add name 2022-12-19 21:08:37 +08:00
Max
605d4d9aab [add] widget dashboard on change 2022-12-18 17:06:58 +08:00
Max
448b0eaa0e [add] field.$data cloud props 2022-12-18 16:54:33 +08:00
Max
70a3d63450 [add] dashboard widget 2022-12-18 15:35:49 +08:00