PLEX-2557: adjusting log levels depending on the type of capability error#22268
PLEX-2557: adjusting log levels depending on the type of capability error#22268fernandezlautaro wants to merge 1 commit intodevelopfrom
Conversation
|
I see you updated files related to
|
|
✅ No conflicts with other open PRs targeting |
There was a problem hiding this comment.
Pull request overview
Risk Rating: LOW
Adjusts logging verbosity so capability user errors are less noisy while system/unknown errors are more visible, improving operational signal for workflow/capability failures.
Changes:
- Promote capability execution failures that are system/unknown-origin from
DebugwtoErrorwin the workflow capability executor. - Demote trigger registration failures that are user-origin (non-retriable) from
ErrorwtoDebugwin the remote trigger publisher.
Scrupulous human review suggested (small but operationally relevant):
core/services/workflows/v2/capability_executor.goaround the capability error classification/logging path (log volume/alerting impact).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| core/services/workflows/v2/capability_executor.go | Raises log level for system/unknown capability execution failures to improve visibility. |
| core/capabilities/remote/trigger_publisher.go | Lowers log level for user-origin registration failures to reduce noise while preserving retry behavior for system errors. |
|
52f45b0 to
d3a6881
Compare
|




Jira: https://smartcontract-it.atlassian.net/browse/PLEX-2557
Requires
Supports