Open dhiaayachi opened 2 months ago
Hi @tdeebswihart, thanks for the question!
The changes in this PR involve updating the "Schedule Backfill" section in the Temporal CLI Schedule Command Reference documentation. It seems like there's a bit of a conflict between the temporal schedule backfill
functionality and the temporal operator backfill
command.
The core point of contention is that both temporal schedule backfill
and temporal operator backfill
seem to target the same functionality. The PR wants to address this by recommending users to utilize temporal schedule backfill
for backfilling schedules, and deprecating the use of temporal operator backfill
for this purpose.
I'm seeing two main points to consider from your comments:
"Why does the operator CLI have a backfill command?" The fact that temporal operator backfill
even exists is a bit confusing. Since the temporal schedule backfill
command is the intended way to backfill schedules, the operator command's backfill functionality may seem redundant. I'm in agreement that this inconsistency in the CLI can be confusing and lead to potential misunderstandings.
"Using the temporal schedule backfill
command does not actually work to backfill." This is a critical point. If the temporal schedule backfill
command is not actually functioning as intended, then it needs to be addressed with higher priority. It is essential that the documentation accurately reflects the capabilities and limitations of the CLI commands, and if temporal schedule backfill
is not working, then it needs to be either fixed or clearly documented as broken.
I believe it's crucial to resolve this issue. If temporal schedule backfill
is not functional, then we need to either fix it or clearly state its broken state in the documentation. If it is functional, then the temporal operator backfill
command should be deprecated for backfilling schedules.
I would also like to point out that the documentation for the temporal schedule backfill
command states that it can be used to "backfill schedules." However, it does not specifically mention what backfilling entails.
I propose the following steps to address this issue:
temporal schedule backfill
functionality:
temporal schedule backfill
command is actually functional.temporal operator backfill
for schedules:
temporal schedule backfill
is functional, deprecate the use of temporal operator backfill
for backfilling schedules.temporal operator backfill
to clarify that it should not be used for backfilling schedules.Thank you for bringing this inconsistency to light. It's important to ensure the CLI commands and documentation are accurate and consistent. Let's work together to resolve this issue!
Thank you for reporting this issue! It looks like you're asking about workflow versioning, and how to safely deploy new code versions without breaking existing workflows.
The Temporal SDKs have built-in patching and versioning APIs that can help you with this. You can find more information on how to safely deploy updates to your workflows in the following documentation:
Let me know if you have any further questions!
It looks like you're asking about the ability to set a default client for Temporal SDKs.
This is currently not a feature but you could use a library like http.DefaultClient
in Go. If you're working in a different SDK, I'd need more information.
Let me know what SDK you are using and I will see if I can help you out!
Thank you for your feedback! I'm unable to provide an answer as the context does not provide sufficient information to help you with the comment on the PR. Please provide the text from the pull request that you are trying to help with. I'll be happy to help.
Thank you for reporting this! Please provide the following information so we can help you further:
Once you provide this information, we can help you further.
Thanks for reporting this! I'm unable to answer your question, as the provided context does not include any information about a license check script or how it might be updated to verify the current year. If you can provide more information or point me to the specific script in question, I can assist you.
_Originally posted by @tdeebswihart in https://github.com/temporalio/temporal/pull/5523#discussion_r1525640564_