Skip to content

Conversation

@ParidelPooya
Copy link
Contributor

  • Remove Telemetry interface and StructuredLogger in favor of OperationContext pattern
  • Add StepContext, WaitForConditionContext, and WaitForCallbackContext as type aliases
  • Replace structured-logger with context-logger for better step-aware logging
  • Extract createDefaultLogger from durable-context to utils/logger/default-logger
  • Unify attempt numbering in wait-for-condition handler (remove duplicate variables)
  • Use step's built-in logger in wait-for-callback handler instead of manual creation
  • Update all function signatures from Telemetry to specific context types
  • Rename configureLogger to setCustomLogger for consistency
  • Add tests for new logger utilities
  • use execution_arn instead of execution_id

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Checklist

  • [Y] I have filled out every section of the PR template
  • [Y] I have thoroughly tested this change

Testing

Unit Tests

Yes

…architecture

- Remove Telemetry interface and StructuredLogger in favor of OperationContext pattern
- Add StepContext, WaitForConditionContext, and WaitForCallbackContext as type aliases
- Replace structured-logger with context-logger for better step-aware logging
- Extract createDefaultLogger from durable-context to utils/logger/default-logger
- Unify attempt numbering in wait-for-condition handler (remove duplicate variables)
- Use step's built-in logger in wait-for-callback handler instead of manual creation
- Update all function signatures from Telemetry to specific context types
- Rename configureLogger to setCustomLogger for consistency
- Add tests for new logger utilities
Copy link
Member

@yaythomas yaythomas left a comment

Choose a reason for hiding this comment

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

:shipit:

@ParidelPooya ParidelPooya merged commit 62c11d6 into development Sep 5, 2025
1 check passed
@ParidelPooya ParidelPooya deleted the refactor/telemetry-to-operation-contexts branch September 5, 2025 21:59
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.

2 participants