Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring V3 to Main #452

Merged
merged 60 commits into from
Dec 12, 2024
Merged

Bring V3 to Main #452

merged 60 commits into from
Dec 12, 2024

Conversation

jordan-rash
Copy link
Contributor

No description provided.

jordan-rash and others added 30 commits October 18, 2024 15:23
Signed-off-by: Jordan Rash <[email protected]>
* adding first ADR

* incorporating review feedback
* scaffolding for async api

* remove boilerplate

* more operations

* removing asyncapi for now, just using json schemas

* adding scaffold templates for go and rust

* no foo for yoo

* moving down one level
* initial stubbing of nex cli

Signed-off-by: Jordan Rash <[email protected]>
* Ergo Supervision tree

Signed-off-by: Jordan Rash <[email protected]>
Co-authored-by: Kevin Hoffman <[email protected]>
* Adds goreleaser
* Adds Lint | Test | Build CI
* Adds CodeOwners
* Adds templates for issues

Signed-off-by: Jordan Rash <[email protected]>
* implementation of creating rootfs without docker

Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
* update nex CLI command

Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
* make logging actor work with slog

Signed-off-by: Jordan Rash <[email protected]>
* Constantize actor names in supervisor and pass host services opts to actor
* Constantize post_init message; add error check
* Add scaffolding for API listener
* Validate host service options during init
* Pass node keypair to initializer
* Cleanup const syntax
* Fix node_test
* Fix argument check
* Fix log message
* Rename workload stop subject to undeploy in control api
* Complete scaffolding for API listener
* Add public key to starting node log
* Fix linter
* Join and return control API shutdown errors
* Use post_init constant
* Fix call to errors.Join
* Fix linter
* Fix minor logging issues
* Rename event_name log attribute
* Cleanup actor name constants
* Set default nex node name on struct
* Handle interrupt signal to gracefully shutdown node
* Scaffold single-argument parameters for actor Init()
* Log event_name instead of event
* Assign node options on agent manager struct
* Break after gracefully stopping node
* Remove unused code in supervisor
* Remove unnecessary for loop
* Use nex superisor params in app.go
* Remove name from nexNode struct; use constant for ergo node name
* PR feedback

---------

Authored-by: kt <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
* scaffolding for external & direct start agents
* makes observer configurable

Signed-off-by: Jordan Rash <[email protected]>
* moving from ergo to goakt

* unsubscribe api topics in shutdown

* use proper logging

Signed-off-by: Jordan Rash <[email protected]>

* exit called per the original authors notes

Signed-off-by: Jordan Rash <[email protected]>

* fix spacing

Signed-off-by: Jordan Rash <[email protected]>

* fix tests

Signed-off-by: Jordan Rash <[email protected]>

* small cleanup

Signed-off-by: Jordan Rash <[email protected]>

* fix test

Signed-off-by: Jordan Rash <[email protected]>

* adds ability to filter out logs from inside actor framework

Signed-off-by: Jordan Rash <[email protected]>

---------

Signed-off-by: Jordan Rash <[email protected]>
Co-authored-by: Jordan Rash <[email protected]>
* adding scaffolding for protobuf messages

* add comment on pre-requisite install
* signal capture fix 

Signed-off-by: Jordan Rash <[email protected]>
…407)

* remove code jank around signals and use NoSigs NATS server property

* removing unused field
…loads from the info endpoint (#408)

* adds a sample actor interaction for querying the list of running workloads from the info endpoint

* linter

* adds the wrapper envelope to responses

* pushing the envelope 😂😂😂😂😂

* woops

* lint fix
* creates jsonschema files and generated code for NodeControl api

Signed-off-by: Jordan Rash <[email protected]>
* make subjects reusable
* initial bootstrapping of nodecontrol client

Signed-off-by: Jordan Rash <[email protected]>
* update codegen gha
* adds proto3 -> jsonschema converters
* completes control api handlers

Signed-off-by: Jordan Rash <[email protected]>
* direct start workload via spawned actor

Signed-off-by: Jordan Rash <[email protected]>
jordan-rash and others added 24 commits November 6, 2024 14:58
* adds filter to hide workload logs

Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
* pre-merge safety commit (I have no idea what I'm doing)

* initial commit

* adding the builtins

* add builtins client and server

* adding test for builtins
* first use of agent registration

* linter

* yay

* yay2

* adds agent name as the connection name
* introduces lameduck
* tags node as 'lameduck'
* all workloads will be signaled to shutdown gracefully

Signed-off-by: Jordan Rash <[email protected]>
* safety PR. starts fleshing out javascript agent

* fix typo
* workload log monitor
* event monitoring 

Signed-off-by: Jordan Rash <[email protected]>
* start of oci payload deployment work

Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
* attempting to make direct start os/arch aware

Signed-off-by: Jordan Rash <[email protected]>
* adds ability to delay lameduck from stopping workloads

Signed-off-by: Jordan Rash <[email protected]>
* can now download agent artifacts

* tweaks

* nit fixes
* workload info command

Signed-off-by: Jordan Rash <[email protected]>
* auction done with no node is provided
* do not answer auctions if in lameduck

Signed-off-by: Jordan Rash <[email protected]>
* namespace scoped api

Signed-off-by: Jordan Rash <[email protected]>
* xkeys & encrypted environments
* throw away xkeys in ADEPLOY

Signed-off-by: Jordan Rash <[email protected]>
* reshape go-json to be able to share definitions
* clone workloads between nodes
* direct copy
* should be a validation

Signed-off-by: Jordan Rash <[email protected]>
* set up host services conn and subscribe to trigger subjects

* changing logic for triggerable
@jordan-rash jordan-rash requested a review from a team as a code owner December 12, 2024 15:02
@jordan-rash jordan-rash requested a review from bruth December 12, 2024 19:47
@jordan-rash jordan-rash merged commit 0bbccb2 into main Dec 12, 2024
6 checks passed
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.

4 participants