Skip to content

Reconciliation Loop - For Eventual Autoscaling (CAN-99) - #163

Draft
Saaketh0 wants to merge 2 commits into
mainfrom
CAN-99-Autoscaling
Draft

Saaketh0 wants to merge 2 commits into
mainfrom
CAN-99-Autoscaling

Conversation

@Saaketh0

Copy link
Copy Markdown
Collaborator

This adds a Reconciliation Loop to canyonos_core, that enables self healing, a central schema of the active instances, as well as the infrastructure for eventual autoscaling logic.

…anyonOS main

Ports the feature/reconciliation-loop work onto main after the ventis/ -> canyonos_core/
rename. Purely additive on top of main:
- canyonos_core/reconciler/ package (level-triggered reconcile loop, Redis desired-state schema)
- ControllerContext seam for the reconciler process (no gRPC/global_controller import)
- GlobalController: seed_desired, register+start reconciler, scale_up/scale_down/replace_instance,
  reconcile-on-unhealthy, terminate reconciler before agent teardown
- LocalController: startup reachability wait + transient-UNAVAILABLE gRPC retry
- ProcessSupervisor.start(name); RedisClient list ops; instance_manager list_instances() helper
- tests, epigenomics example, e2e-local helloworld skill
@Saaketh0 Saaketh0 self-assigned this Sep 18, 2026
@Saaketh0 Saaketh0 added enhancement New feature or request Core Pertaining to canyonos_core, the core systems in this repo labels Sep 18, 2026
@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Saaketh0 Saaketh0 added New Feature A new piece of functionality and removed enhancement New feature or request labels Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Pertaining to canyonos_core, the core systems in this repo New Feature A new piece of functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant