Skip to content

feat: add chip-ingress batch config keys to TOML and wire through#22987

Merged
pkcll merged 8 commits into
developfrom
chip-ingress-batch-config
Jul 22, 2026
Merged

feat: add chip-ingress batch config keys to TOML and wire through#22987
pkcll merged 8 commits into
developfrom
chip-ingress-batch-config

Conversation

@pkcll

@pkcll pkcll commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add 7 chip-ingress batch configuration keys to the [Telemetry] TOML config, wire them through the host and LOOP plugin paths, and align the chainlink defaults with the chainlink-common beholder.DefaultConfig() bumps.

Depends on

Default changes

Key Type Before After
ChipIngressBufferSize *uint 1000 10000
ChipIngressMaxBatchSize *uint 500 1000
ChipIngressSendInterval *Duration 100ms 500ms
ChipIngressSendTimeout *Duration 3s 10s
ChipIngressDrainTimeout *Duration 10s 30s
ChipIngressMaxConcurrentSends *int 10 10
ChipIngressMaxGRPCRequestSize *uint 10 MiB 10 MiB

Changes

  • core/config/toml/types.go: 7 fields on Telemetry struct + setFrom
  • core/config/telemetry_config.go: 7 accessors
  • core/services/chainlink/config_telemetry.go: pass-through implementations
  • core/cmd/shell.go: host wiring to beholder.Config
  • plugins/loop_registry.go: LOOP wiring to loop.EnvConfig
  • core/config/docs/core.toml + docs/CONFIG.md: documented defaults
  • Testdata and validation fixtures updated
  • Changeset added

Testing

  • go test ./core/config/... ./core/services/chainlink/... ./plugins/... ./core/cmd/...
  • make config-docs
  • Validation txtar suites

Notes

  • Omitted keys fall back to chainlink-common defaults.
  • Explicit zero/negative values are rejected by Telemetry.ValidateConfig().

@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@trunk-io

trunk-io Bot commented Jun 29, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@pkcll
pkcll force-pushed the chip-ingress-batch-config branch 2 times, most recently from e3ae0d9 to 15564d4 Compare June 29, 2026 22:10
@pkcll
pkcll force-pushed the chip-ingress-batch-config branch from 6762cf4 to 4296b81 Compare July 21, 2026 05:44
Add 7 chip-ingress batch configuration keys to the [Telemetry] TOML
config and wire them through the host and LOOP plugin paths.

Default changes:
- ChipIngressBufferSize: 1000 -> 10000
- ChipIngressMaxBatchSize: 500 -> 1000
- ChipIngressSendInterval: 100ms -> 500ms
- ChipIngressSendTimeout: 3s -> 10s
- ChipIngressDrainTimeout: 10s -> 30s

Update core/config/docs/core.toml, docs/CONFIG.md, and all golden
validation fixtures to match the new chainlink-common defaults.
Add a changeset and bump chainlink-common to the latest
chip-ingress-batch-config PR commit (caf610156) to pick up the
beholder.Config changes.
@pkcll
pkcll force-pushed the chip-ingress-batch-config branch from 800c6d5 to 4270694 Compare July 21, 2026 21:26
@pkcll
pkcll enabled auto-merge July 22, 2026 15:17
pavel-raykov
pavel-raykov previously approved these changes Jul 22, 2026
Comment thread core/scripts/go.mod
Comment on lines -670 to -672
// Exclude Juno's placeholder dependency. It is only intended to be resolved via
// Juno's local replace directive and is not used directly by chainlink
exclude github.com/starknet-io/starknet-p2pspecs v0.0.0-00010101000000-000000000000

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this resolved?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted

@cl-sonarqube-production

Copy link
Copy Markdown

@pkcll
pkcll added this pull request to the merge queue Jul 22, 2026
Merged via the queue into develop with commit 76d6194 Jul 22, 2026
229 of 230 checks passed
@pkcll
pkcll deleted the chip-ingress-batch-config branch July 22, 2026 16:14
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.

3 participants