Files
Alex ShtinandGitHub eb82bb0314 Workflow Update: drop speculative WFT even if it had events (#6709)
## What changed?
<!-- Describe what has changed in this PR -->
Drop speculative WFT even if it had events.

## Why?
<!-- Tell your future self why have you made these changes -->
Special compatibility flag was
[added](https://github.com/temporalio/api/pull/467) to
`RespondWorkflowTaskCompletedRequest`. If this flag is set to true, then
server can drop speculative WFT with update rejections, even if it
shipped events to the worker. SDK support will be added later.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
Added new unit tests.

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
No risks. Compatibility flag is used to support backward compatibility
and don't drop speculative WFT if worker doesn't support it (old go
SDKs).

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->
Yes, updated.

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
No.
2024-11-18 15:26:19 -08:00
..
2024-05-24 14:25:19 -07:00
2024-05-24 14:25:19 -07:00
2024-03-18 23:13:02 -07:00

Temporal Server Documentation

This folder contains docs for those working closely with the Temporal server. If you are more interested in just authoring workflows, see our Getting Started Guide.

Core Documentation Sections

Architectural Diagrams (/architecture)

This section contains high-level explanations of Temporal's architecture and core concepts. It is designed to be useful for both server developers and those interested in understanding the technological underpinnings of Temporal. Detailed diagrams and descriptions can be found there.

Development Instructions (/development)

Here, you'll find guides to setting up a local development environment, along with potentially more advanced topics such as adding migrations or new Remote Procedure Calls (RPCs). This section is essential for developers looking to contribute to the Temporal codebase or understand its inner workings.

Operational Guides (/admin)

This section provides reference materials for administrators responsible for deploying Temporal in a production environment. It is pretty bare for now, but it is intended to covers topics like spinning up a production environment, configuring it, and monitoring it with metrics and dynamic configurations. For now, you can find this info on the Temporal docs website at https://docs.temporal.io/self-hosted-guide.