Skip to content

feat: add NodeLauncher core components and implement versioned agent updates#182

Open
NIkiIncredible wants to merge 7 commits intomainfrom
feature/node-launcher
Open

feat: add NodeLauncher core components and implement versioned agent updates#182
NIkiIncredible wants to merge 7 commits intomainfrom
feature/node-launcher

Conversation

@NIkiIncredible
Copy link
Copy Markdown
Member

Description

  • 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.

Checklist

  • Code is complete
  • Tests updated if needed
  • No unrelated changes
  • Ready for review

…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
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