feat: add NodeLauncher core components and implement versioned agent updates#182
Open
NIkiIncredible wants to merge 7 commits intomainfrom
Open
feat: add NodeLauncher core components and implement versioned agent updates#182NIkiIncredible wants to merge 7 commits intomainfrom
NIkiIncredible wants to merge 7 commits intomainfrom
Conversation
…updates - Added `LauncherApplication` as the entry point for node-agent launch and management. - Introduced `AgentProcessManager` to handle agent process lifecycle. - Implemented `ConfigLoader` to load and validate launcher configurations. - Added support for versioned agent updates with `GitHubReleaseClient` and `ChecksumVerifier`. - Designed `CrashMonitor` to handle repeated crashes and perform rollbacks. - Integrated `DownloadService` for file and metadata fetching. - Updated build configuration for artifact generation and dependency management. - Included comprehensive test coverage for components like `CrashMonitor`, `ChecksumVerifier`, and `LauncherApplication`.
…ndling - Introduced automatic default config creation if the resolved launcher config file is missing. - Set NodeLauncher process working directory to `/opt/kodama-node/agent` to support local Spring configuration discovery. - Adjusted `ConfigLoader` to handle default config templates and ensure directory existence. - Updated `SymlinkManager` to relocate logs directory and optimize setup structure. - Corrected `bootJar` archive naming for node-agent artifact. - Clarified NodeLauncher setup instructions in documentation, including auto-generated config management.
…ility - Cleaned up unused `Logger` import in `InstanceStateMachine`. - Standardized formatting for method parameters and lambda expressions. - Updated comment formatting in `ConfigLoaderTest` to maintain consistency.
…adle build scripts - Adjusted indentation to maintain uniform formatting for better readability. - Updated spotless rules to include groovyGradle targets and apply greclipse formatting.
… feature/node-launcher # Conflicts: # backend/node-agent/build.gradle
…er` for consistency
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.
Description
LauncherApplicationas the entry point for node-agent launch and management.AgentProcessManagerto handle agent process lifecycle.ConfigLoaderto load and validate launcher configurations.GitHubReleaseClientandChecksumVerifier.CrashMonitorto handle repeated crashes and perform rollbacks.DownloadServicefor file and metadata fetching.CrashMonitor,ChecksumVerifier, andLauncherApplication.Checklist