Skip to content

fix!: remove 1s sleep and INFORMER_WRITE_BACK from persistUpdates#15627

Merged
isubasinghe merged 1 commit intoargoproj:mainfrom
Joibel:claude/investigate-persist-updates-LGFFB
Feb 26, 2026
Merged

fix!: remove 1s sleep and INFORMER_WRITE_BACK from persistUpdates#15627
isubasinghe merged 1 commit intoargoproj:mainfrom
Joibel:claude/investigate-persist-updates-LGFFB

Conversation

@Joibel
Copy link
Member

@Joibel Joibel commented Feb 25, 2026

Motivation

As of #15079 INFORMER_WRITE_BACK is disabled, so remove it to prevent it's use as it's considered harmful.
As of #15090 we have alternative mechanisms to prevent processing out of date workflows, so don't sleep for 1 second any more either.

Modifications

The INFORMER_WRITE_BACK env var controlled whether to write back to the informer cache or sleep for 1 second after persisting workflow updates. Alternative mechanisms now prevent reprocessing of stale workflow state, making both the sleep and the write-back unnecessary.

Verification

TODO

Documentation

Updated to remove the env variable and added a note for upgraders.

The INFORMER_WRITE_BACK env var controlled whether to write back to the
informer cache or sleep for 1 second after persisting workflow updates.
Alternative mechanisms now prevent reprocessing of stale workflow state,
making both the sleep and the write-back unnecessary.

https://claude.ai/code/session_0141wLcUV65wmraQEVWnLkv6
Signed-off-by: Alan Clucas <alan@clucas.org>
@Joibel Joibel marked this pull request as draft February 25, 2026 17:01
@Joibel Joibel changed the title fix: remove 1s sleep and INFORMER_WRITE_BACK from persistUpdates fix!: remove 1s sleep and INFORMER_WRITE_BACK from persistUpdates Feb 25, 2026
@Joibel Joibel marked this pull request as ready for review February 26, 2026 11:39
@isubasinghe isubasinghe merged commit 7e47fc7 into argoproj:main Feb 26, 2026
45 checks passed
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