Skip to content

refactor(durable): Remove time scale configuration from emulator container - #9169

Draft
ayushiahjolia wants to merge 1 commit into
aws:developfrom
ayushiahjolia:remove-emulator-time-scale
Draft

refactor(durable): Remove time scale configuration from emulator container#9169
ayushiahjolia wants to merge 1 commit into
aws:developfrom
ayushiahjolia:remove-emulator-time-scale

Conversation

@ayushiahjolia

Copy link
Copy Markdown

Which issue(s) does this change fix?

Related to aws/aws-durable-execution-sdk-python#523

Why is this change necessary?

The time scale feature has been removed from the durable execution emulator (see linked SDK PR). The DURABLE_EXECUTIONS_TIME_SCALE environment variable and the DURABLE_EXECUTION_TIME_SCALE container environment variable are no longer recognized by the emulator, so SAM CLI should stop setting them.

How does it address the issue?

  • Removes the ENV_TIME_SCALE class variable and its docstring
  • Removes the _get_emulator_time_scale() method
  • Updates _get_emulator_environment() to return an empty dict
  • Updates unit tests to remove time scale assertions and the custom_time_scale test case

What side effects does this change have?

Users who previously set DURABLE_EXECUTIONS_TIME_SCALE will no longer see it forwarded to the emulator container. Since the emulator itself no longer supports this variable, there is no functional impact.

Mandatory Checklist

PRs will only be reviewed after checklist is complete

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

@github-actions github-actions Bot added area/local/start-api sam local start-api command area/local/invoke sam local invoke command area/local/start-invoke pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/local/invoke sam local invoke command area/local/start-api sam local start-api command area/local/start-invoke pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant