Skip to content

Make event handling faster and resilient to missing events

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Feb 17:29
2e6c23f

Contents (#625)

IMPORTANT: There is 1 breaking change.

Enhancements

  • Allow setting of maximum number of workers for parallel questions in Child.ask_multiple
  • Pull up to 50 messages from answer subscriptions at once instead of 1
  • Allow skipping of any missing message after a 10s delay in OrderedMessageHandler
  • Suppress name/namespace override warning if the value is the same in the environment and service configuration file
  • Speed up event validation by caching service communication JSON schema
  • 💥 BREAKING CHANGE: Extract SRUID for child logs context from subscription in message handler

Fixes

  • Exit early from message pulling if heartbeat check fails
  • Make Manifest.update_dataset_paths method thread-safe

Refactoring

  • Factor out multiple checks of package version in message handler

Testing

  • Improve message handling tests by not mocking _pull_and_enqueue_available_messages method and removing MockMessagePuller

Upgrade instructions

💥 Extract SRUID for child logs from subscription in message handler

This removes the service_name argument from Service.wait_for_answer. If you were using this argument, simply remove it; logs from children shown in a parent will now have the full and correct SRUID automatically.