development_jobs #45

Merged
timur merged 6 commits from development_jobs into development 2026-03-04 23:10:14 +00:00
Owner
No description provided.
Replace the custom semaphore-based BuildManager (~208 lines) with a new
JobBuildManager that delegates to zinit's Job API via AsyncZinitClient.

Gains: retries with exponential backoff, structured log archival,
build cancellation, 10-minute timeout enforcement, and a background
status monitor. Adds build.cancel, build.retry, and build.logs RPC
methods with corresponding SDK client methods and dashboard UI buttons.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The HTTPS URL for the zinit repo doesn't resolve the crate correctly
on forge.ourworld.tf. Switch back to SSH which works.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add integration test lifecycle management using zinit's Job API (mirrors
JobBuildManager pattern). Includes RPC methods test.run/run_all/status/
cancel/retry/logs, SDK client wrappers, and dashboard UI with test
status column and action buttons.

Remove unused code: resolve_env_vars, load_services, hash_binary,
zinit_start, Action::as_str, and sha2 dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Test jobs now run two phases in sequence:
  1. make test — unit tests (no running services needed)
  2. make test-integration — SDK + smoke tests against live services

hero_services owns the service lifecycle. Integration test code connects
to already-running sockets, not starting/stopping services itself.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merge per-binary TOMLs (e.g. hero_redis_openrpc.toml + hero_redis_http.toml)
into single per-service files (hero_redis.toml) using [server] and [ui] sections.
Convert all remaining standalone services to the same unified format. Remove old
format detection and dual-path parsing — all services now use UnifiedServiceConfig.

- Delete 16 old paired *_openrpc.toml / *_http.toml files
- Create 12 new unified service TOMLs (core/ and user/)
- Convert 17 standalone services (admin/, beta/, archive/, demo/, user/)
- Update all depends_on/run_after refs to use _server suffixed names
- Remove is_unified_format() and old format branch from load_toml
- Remove StepPhase/StepStatus DAG artifacts from SDK types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
refactor: rename crates to standard hero naming convention
Some checks failed
Build and Test / build (pull_request) Failing after 49s
0cf4716d58
- hero_services_openrpc → hero_services_server
- hero_services_http → hero_services_ui
- Delete hero_services_rhai (forbidden in service repos)
- Create hero_services_examples crate with health + basic_usage examples
- Add openrpc.json spec to server crate (35 methods)
- Remove TCP listener from UI (Unix socket only)
- Replace background process management with zinit in Makefile
- Update socket names: hero_services_server.sock, hero_services_ui.sock
- Clean up buildenv.sh (remove TCP port definitions, add INSTALL_DIR)
- Update README, build scripts, and test scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
timur merged commit 1511f7c07c into development 2026-03-04 23:10:14 +00:00
mik-tf deleted branch development_jobs 2026-03-05 04:31:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_services!45
No description provided.