feat: sync ingester.proto for NetBox 4.7.0-beta1 support - #577
Draft
leoparente wants to merge 5 commits into
Draft
feat: sync ingester.proto for NetBox 4.7.0-beta1 support#577leoparente wants to merge 5 commits into
leoparente wants to merge 5 commits into
Conversation
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This was referenced Aug 26, 2026
Vulnerability Scan: Passed — diode-authImage:
Commit: de3865d |
Vulnerability Scan: Passed — diode-ingesterImage: No vulnerabilities found. Commit: de3865d |
Vulnerability Scan: Passed — diode-reconcilerImage: No vulnerabilities found. Commit: de3865d |
|
Go test coverage
Total coverage: 56.6% |
The generated entity mappings had drifted from the schema (missing the NetBox 4.6 entity types); regenerating via make gen-entity-mappings brings in those plus the new 4.7 types. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
beta1 -> beta2 adds 11 Interface.type choice values (100gbase-x-sfp112, nine infiniband-*-4x variants, hpe-synergy-interconnect-link); no structural changes. Header stamps refreshed. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
Regenerates the Diode ingestion schema against a live NetBox v4.7.0-beta1 instance and syncs the generated server code (
make gen-diode-server-go).What's new
CoolingSource,CoolingFeed,CoolingIntake,CoolingOutflow,ModuleBayType— newEntityoneof members 103–107, with matching variants in every generic-object oneof.CoolingIntake.cooling_outflowandCoolingOutflow.cooling_intakereference each other, mirroring NetBox's loop-tracing relationship.Service.port_mappings(repeated string, the"tcp/53"format),Interface.channels/channel_idand writablemac_address,DeviceType/ModuleTypecooling_method+end_of_life,Rack/RackTypecooling_capability+cooling_capacity,ModuleBay/ModuleTypemodule_bay_types,CustomField.nulls_first.channelinterface type,mdc/muconnector types,breakout-1c8p-8c1pcable profile.Wire compatibility
make detect-breaking-changes(buf breaking) passes locally (the workflow is dispatch-only).Servicekeepsprotocol/portsat their existing numbers alongside the newport_mappings, matching NetBox 4.7's own deprecation approach (legacy fields remain accepted until v5.0).Notes
diode-server/gen/protograph/entity_mappings.gohad drifted from the schema (previous syncs did not regenerate it, so it lacked the 4.6 entity types); this PR regenerates it viamake gen-entity-mappings, sweeping in the missed 4.6 entities along with the new 4.7 ones.go build ./...and the diode-server test suite pass.🤖 Generated with Claude Code
Related PRs