Repository navigation
NOC Weekly Digest #14 - October 12-18, 2026 #698
dvolodin7
started this conversation in
NOC Choronicles
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This week focused on modernizing NOC's HTTP-serving architecture, consolidating plugin loading, and continuing the
src/noclayout migration. Deployment configuration and documentation workflows were simplified, while preparation for NOC 26 began. No releases were published during the reporting period.Highlights
BaseService, and consolidated static UI delivery into thewebservice.gufo.loader.Loader, reducing duplicated implementation while retainingBaseLoaderfor components not yet migrated.zeroconfservice. Standardized Docker image publishing ondocker/build-push-action@v7.dataclassresults through a dedicated orjson-backed response class, addressing the regression tracked in issue После замены ORJSONResponse на JSONResponse ломается box discovery с Generic.Host #664.26-devimage.Major Developments
NOC HTTP architecture
NOC's HTTP-serving architecture was consolidated around Granian. FastAPI lifecycle management was moved from
FastAPIServiceintoBaseService, making HTTP APIs available through a common service implementation (#667). The embedded Uvicorn server was replaced with Granian's embeddable ASGI server, including support for effective bind-address detection and lifecycle logging (#670, #676).Static UI delivery was moved into the
webservice, eliminating the dedicatedstatic-web-serverprocess and its separate on-disk UI tree (#671). NGINX now proxies UI and application routes through a singlenoc-webupstream, while the Docker image includes the built UI assets in the package.These changes reduce the number of containers and processes and provide a unified serving path for application and static content.
Plugin loader migration
NOC began replacing its custom
BaseLoaderimplementation with the third-partygufo.loader.Loader. The migration removed 23 domain-specificloader.pymodules and standardized plugin discovery through a typed loader API (#693).Consumers were updated to use the new API, including replacements for
get_class,find_classes, anditer_classes. Custom-path preference was preserved. The migration remains incremental: several loaders still depend onBaseLoader.An unused
InterfaceLoaderindirection was also removed (#694), and the remainingBaseLoaderimplementation received explicit type annotations and Google-style docstrings (#682).NEP-0101:
src/nocmigrationThe package-layout migration continued across runtime configuration, documentation, and plugin discovery.
The Docker runtime's
PYTHONPATHwas updated to usesrcin thecodeanddevcontainerstages (#675). Profile documentation macros and tests were moved intosrc/noc/sa/profiles(#681, #686).Loader path resolution was also updated so empty-base lookups can discover modules under
src/nocinstead of falling back to the current working directory (#685, #687). These changes continue the effort to eliminate legacy paths and working-directory-dependent behavior.Deployment and build workflows
Traefik integration was removed, including its configuration parameter, per-service route definitions, and associated load-balancer helpers (#669). Service registration now uses a single
noctag.The deprecated
zeroconfservice was deleted together with its agent configuration endpoint, access-control entry, and tests (#677).The Docker image workflow was standardized on
docker/build-push-action@v7, preserving multi-architecture publishing, OCI revision annotations, and scheduled-build behavior (#673). The UI build stage now runs on the native build-host platform rather than under QEMU emulation, improving cross-architecture build performance (#674).Gufo Thor
Gufo Thor adopted structured JSON access logging for Envoy, including the
X-ENVOY-COMPRESSION-STATUSresponse header to expose per-request compression behavior (#85, #86).The separate static container was consolidated into the
webservice. Route handling was refactored around a dedicatedRoutetype and aniter_routesgenerator, and Envoy was updated tov1.39.3(#87).Thor's NOC
26-devenvironment was also switched fromnoc:mastertonoc:26-dev, aligning it with the image published by NOC's CI (#84).Fixes and Improvements
NOCJSONRPCResponse, an overridable response class backed byorjson, restoring serialization ofdataclassresults such asCheckResult. The fix addresses the regression affecting profile auto-selection and interface/configuration retrieval onGeneric.Host-profiled devices (#664 JSON-RPC API uses orjson for serialization bypassing FastAPI handling #696). Issue После замены ORJSONResponse на JSONResponse ломается box discovery с Generic.Host #664 remained open at the end of the reporting period.prefer_customto a keyword-only parameter inConfig.get_customized_paths, removed the unrestricted**kwargs, normalized call sites, and removed the unusedCollection.CUSTOM_PREFIX. The changes were backported torelease-25.1(Remove unused Collection.CUSTOM_PREFIX #688, [Backport release-25.1] Remove unused Collection.CUSTOM_PREFIX #689, Config.get_customized_paths: make prefer_custom an implicit keyword-only argument #691, Normalize config.get_customized_paths usage #692).pyproject.tomlpath filter in the documentation workflow, and removed obsolete GitLab issue-creation templates (docs: Adjust emoji settings #680, Fix Build docs triggering on pyproject.toml changes #683, [Backport release-25.1] docs: Adjust emoji settings #684, Remove unused Gitlab templates #690).gufolabsnamespace (uvicorn 0.40.0 #184).Decisions and Notices
features.traefikwill fail to load withConfigurationError: Unknown parameter. Existing deployments must remove this parameter and manage routing separately (Remove traefik integration #669).Releases
No releases were published during the reporting period across NOC, Gufo Thor, Gufo Tower, Gufo SNMP, Gufo Blob, Gufo ACME, and CSR Proxy.
NOC 26 release preparation began with an initial release-notes draft and a corresponding changelog update (#668, #672). Planned highlights include the JavaScript build pipeline, Kafka-only messaging, Python 3.13 runtime modernization, fault-management improvements, expanded device and vendor support, authentication and security hardening, and deployment and packaging changes. These remain planned release items rather than a shipped artifact.
Looking Ahead
The main direction remains NOC 26 preparation and continued platform modernization. The
src/noclayout migration and the transition togufo.loader.Loaderremain in progress.Further work is expected around the HTTP-serving architecture, deployment simplification, and the release features documented in the NOC 26 draft. No additional roadmap items were announced during the reporting period.
All reactions