Feat/byoc aws deployment#1300
Closed
YellowSnnowmann wants to merge 7 commits intotinyhumansai:mainfrom
Closed
Conversation
…mote coreToken support - Restore core auth middleware is already correct in src/core/auth.rs (no change needed) - Add docker/metadata-action + docker/build-push-action to release-production.yml build-docker job with semver, sha, and latest tags targeting ghcr.io/tinyhumansai/openhuman-core - configPersistence: add getStoredCoreToken/storeCoreToken/clearCoreToken for remote deployment token - coreRpcClient: getCoreRpcToken now checks getStoredCoreToken() first (remote mode), falling back to Tauri invoke (local mode); export clearCoreRpcTokenCache - config: add REMOTE_CORE_RPC_MODE() function (reads localStorage) for remote-core detection; update CoreStateProvider call site to invoke as function - deploymentsApi: replace with new BYOC AWS contract (provision/getStatus/getHealth/terminate + getCoreToken helper for /auth/me); typed DeploymentStatus, DeploymentInstance, etc. - CloudInstancePanel: new settings panel with 4 views (no-instance/in-progress/active/failed), AWS credential form with IAM policy copy block, status polling, switch-to-remote/local, terminate with confirmation dialog - Settings: wire CloudInstancePanel under /settings/cloud-instance with Infrastructure section
…sponse handling - Replace apiClient calls with callCoreCommand for coreToken retrieval, provisioning, status, health checks, and termination. - Introduce ApiEnvelope type for consistent response structure. - Add unit tests for deploymentsApi to validate core RPC interactions and error handling.
- Introduced a new settings option for managing cloud instances, including an icon and description. - Added navigation functionality to the Infrastructure settings page.
- Added support for "deployment" in namespace descriptions, providing details on cloud instance provisioning and status. - Integrated deployment management controllers into the registered controllers and declared controller schemas.
… schemas - Introduced a new `deployment` module for managing cloud deployments, including operations for provisioning, status checks, health checks, and termination. - Added corresponding schemas for deployment operations, enhancing the API structure and documentation. - Integrated new functions for handling deployment-related API calls and responses.
…ode formatting - Removed redundant imports and organized the import statements in CloudInstancePanel. - Enhanced readability by formatting SVG elements and restructuring the deployment status array for clarity. - Updated Settings page to correctly import CloudInstancePanel after refactoring.
…r clarity - Added missing import for buildRpcEndpoint and organized existing imports in CloudInstancePanel. - Improved code structure to enhance readability and maintainability.
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
12 tasks
Member
|
closing this as we discussed. this is too complicated. focus on a simpler solution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem
Solution
Submission Checklist
docs/TESTING-STRATEGY.mddiff-cover) meet the gate enforced by.github/workflows/coverage.yml. Runpnpm test:coverageandpnpm test:rustlocally; PRs below 80% on changed lines will not merge.docs/TEST-COVERAGE-MATRIX.mdreflect this change (orN/A: behaviour-only change)## Relateddocs/TESTING-STRATEGY.md)docs/RELEASE-MANUAL-SMOKE.md)Closes #NNNin the## RelatedsectionImpact
Related
AI Authored PR Metadata (required for Codex/Linear PRs)
Linear Issue
Commit & Branch
Validation Run
pnpm --filter openhuman-app format:checkpnpm typecheckValidation Blocked
command:error:impact:Behavior Changes
Parity Contract
Duplicate / Superseded PR Handling