Skip to content

revert remote registry change proto#1861

Merged
ettec merged 1 commit intomainfrom
revert-status-timeout-setting
Feb 27, 2026
Merged

revert remote registry change proto#1861
ettec merged 1 commit intomainfrom
revert-status-timeout-setting

Conversation

@ettec
Copy link
Contributor

@ettec ettec commented Feb 27, 2026

Reverting this change whist investigating alternative of using a feature setting flag. No proto serialisation issues to worry about here as no corresponding remote capability config changes have been in any env.

@github-actions
Copy link

⚠️ API Diff Results - Breaking changes detected

📦 Module: github-com-smartcontractkit-chainlink-common

🔴 Breaking Changes (4)

pkg/capabilities (1)
  • DefaultRegistrationStatusUpdateTimeout — 🗑️ Removed
pkg/capabilities.RemoteTriggerConfig (1)
  • RegistrationStatusUpdateTimeout — 🗑️ Removed
pkg/capabilities/pb.(*RemoteTriggerConfig) (1)
  • GetRegistrationStatusUpdateTimeout — 🗑️ Removed
pkg/capabilities/pb.RemoteTriggerConfig (1)
  • RegistrationStatusUpdateTimeout — 🗑️ Removed

📄 View full apidiff report

@ettec ettec marked this pull request as ready for review February 27, 2026 13:35
@ettec ettec requested a review from a team as a code owner February 27, 2026 13:35
Copilot AI review requested due to automatic review settings February 27, 2026 13:35
@ettec ettec enabled auto-merge February 27, 2026 13:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts a previously introduced protobuf field and its associated Go mappings for remote trigger capability configuration, while the team investigates an alternative approach using a feature flag.

Changes:

  • Removed registrationStatusUpdateTimeout from RemoteTriggerConfig in registry.proto.
  • Updated capability registry encode/decode logic to stop reading/writing the removed field.
  • Regenerated protobuf Go bindings and removed the corresponding Go config/defaults field.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pkg/loop/internal/core/services/capability/capabilities_registry.go Stops encoding/decoding the removed RemoteTriggerConfig field in gRPC responses/requests.
pkg/capabilities/pb/registry.proto Removes the registrationStatusUpdateTimeout field from the protobuf schema.
pkg/capabilities/pb/registry.pb.go Regenerated Go protobuf bindings reflecting the schema change.
pkg/capabilities/capabilities.go Removes the config field and default/apply-defaults logic for the reverted setting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -14,7 +14,6 @@ message RemoteTriggerConfig {
google.protobuf.Duration messageExpiry = 4;
uint32 maxBatchSize = 5;
google.protobuf.Duration batchCollectionPeriod = 6;
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

registrationStatusUpdateTimeout (field number 7) was removed from RemoteTriggerConfig. To prevent accidental reuse of the old tag/name (which can cause wire-compatibility issues in protobuf), please add a reserved 7; and reserved "registrationStatusUpdateTimeout"; entry inside RemoteTriggerConfig.

Suggested change
google.protobuf.Duration batchCollectionPeriod = 6;
google.protobuf.Duration batchCollectionPeriod = 6;
reserved 7;
reserved "registrationStatusUpdateTimeout";

Copilot uses AI. Check for mistakes.
@jmank88
Copy link
Contributor

jmank88 commented Feb 27, 2026

Are any other repos using this field?

@ettec ettec added this pull request to the merge queue Feb 27, 2026
@cedric-cordenier
Copy link
Contributor

@jmank88 No, @ettec added the field a few hours ago and it's not used anywhere

@ettec
Copy link
Contributor Author

ettec commented Feb 27, 2026

Are any other repos using this field?

No, none.

Merged via the queue into main with commit 7543209 Feb 27, 2026
40 checks passed
@ettec ettec deleted the revert-status-timeout-setting branch February 27, 2026 13:53
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.

5 participants