Skip to content

Enhance trace package functionality and improve concurrency handling #1325

Merged
trheyi merged 2 commits intoYaoApp:mainfrom
trheyi:main
Nov 18, 2025
Merged

Enhance trace package functionality and improve concurrency handling #1325
trheyi merged 2 commits intoYaoApp:mainfrom
trheyi:main

Conversation

@trheyi
Copy link
Contributor

@trheyi trheyi commented Nov 18, 2025

No description provided.

- Updated benchmark and memory leak detection commands in the Makefile to include both agent and trace components.
- Refactored the manager struct in `manager.go` to support cancellable contexts and added per-space locks for improved concurrency safety.
- Enhanced subscription handling in `subscription.go` to only broadcast updates if there are active subscribers, preventing unnecessary operations.
- Implemented comprehensive disk operations in `local/driver.go` and `store/driver.go` for managing trace nodes, spaces, and logs, including loading, saving, and deleting functionalities.
- Improved README documentation to clarify driver configurations and usage examples for trace management.
- Removed unnecessary blank lines in multiple test files to enhance code clarity and maintainability.
- Adjusted formatting in `subscription.go`, `trace_bench_test.go`, `trace_concurrent_test.go`, `trace_mem_test.go`, `trace_node_test.go`, `trace_space_test.go`, and `trace_subscription_test.go` for consistency.
@trheyi trheyi merged commit fa6e4c5 into YaoApp:main Nov 18, 2025
2 of 3 checks passed
@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed.

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.

1 participant