-
Notifications
You must be signed in to change notification settings - Fork 3
v1.2.0 #21
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
Conversation
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
…ith DI framework. trying to factor out the "actor" class into utils
…d NodeContainer classes. grouped behaviors back into a class Behaviors (prev Actor)
…v commit also removed add_handler and register_handler functions from pipeline, handlers should now be passed in as a list in the NodeAssembler class)
…d JSON schemas for all protocol objects
… event worker flushes buffers before shutting down now
prototype cli interface for managing koi nodes
…ifecycle, added effector back to handler context
…" in poll events request, added ApiModels as a discriminated union using type consts in the request/payload models, added a model map linking API paths (aka methods) to request and response models (both raw and enveloped versions) -- refactored request handler accordingly, major overhaul moving a lot of logic from server -> response_handler: wraps with envelope validation into a single method -- entrypoints (poller, server) should be largely interfaces not contain much logic themselves,
…fault values and dependencies
…like a regular class is expected to
…der to construct _build_order, moved base, partial, and full node defintions back to core.py. marking for 1.2.0b2 release
…ndles reading and writing to YAML, config components now separated by full/partial node, generating on missing logic moved to model validators, added support for non factories to dependency injection framework -- detects non callables, and Pydantic BaseModels and treats them as is
…edundant push_kobj/push_event_to
… from example nodes
…r nodes that don't provide orn:koi-net.node state
…omposed assembler build function into three steps, added a dependency graph visualizer, updated LNAV config
…s. added a reset for the node network timeout
…res for broadcast batching, added broadcast event buffer as an independent component, moved internal config for workers into config class,
…ager, restructured sync manager and catch up call in lifecycle, added more docstrings
…ts a list of deref handlers, made public key overwrite warning more specific, gave effector deref handlers access to handler context, readded post init injection to effector
…namic representation of the node container to the type checker, added write through option on deref function
… config schema, better separation of concerns for config system
…in calls, implemented cache directly with config dependency (necessary for new config system), moved all code execution out of init functions, lifecycle start now calls config loader, and loads priv key to secure manager, removed lifespan from fastapi app, now done using lifecycle context manager in server class to allow for config loading before uvicorn starts, added kobj worker config
…aph, working on cycle detection and sending useful dev errors
…will automatically run `start()` and `stop()` functions in build and reverse build order for components which provide them. config now loads at init time, not at startup. entrypoint components `run()` method treated as special main thread function by container.
…: new assembly artifact class does most of the assembly work, built once for each node assembly; node assembly builds components and passes them along with the artifact into a new node container class. node container class has start, stop, and run functions. they will automatically turn components on in order and then run the entrypoint. experimenting with explicit overrides, cache schema has a @component.static decorator now. added a consts module
…ule, cleaned up documentation
… manager to behaviors module. removed catcher upper component and split its start up functions between the handshaker and sync manager.
…ts import log as a dependency
…ecorator to give start and stop orderer more information, comp_order.worker starts worker components before and stops them after all other components, renamed component -> comp_type, removed factory (for now), default is singleton, moved build_app() call to init of server, not run method, added comp_order.worker to base worker class, version bump -> 1.2.0-beta.8
… node and partial node config
…g errors and access!
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.
orn:koi-net.node), which informs the node contact handler, automatically subscribing too and backfilling from node providers of those types