-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup time duration options #273
Cleanup time duration options #273
Conversation
karlkfi
commented
Nov 10, 2022
- Use the -Period suffix consistently. Technically, most of these should be "Delay", because they're a timer between attempts and not the duration of the event itself, but we're already using "period" for most of them. So this at least makes them all consistent without requiring rename of any external facing env vars or command flags.
- Standardize the many duplicate descriptions for duration options, at each layer of the stack.
- Add missing constants to replace hard-coded durations.
- Reafactor existing duration constants to make the names consistent.
So it turns out these test errors are actually a pretty interesting edge case... I'm just not sure why they're triggering only on this PR.
It looks like this is largely because the "commit" used by the new native helm renderer is just the It also occurs to me that this would happen for other spec fields as well, like the git dir. If you change the git dir after syncing has succeeded, there's no way to know if the sync status or Syncing condition are reflecting the desired state or not, because the commit hasn't changed. |
The The validation that is failing is a Even tho the reconciler-manage Pod is replaced, and the root-reconciler is updated with the new |
a146d94
to
3de3a28
Compare
/retest |
1 similar comment
/retest |
3de3a28
to
40e5184
Compare
- Use the -Period suffix consistently. Technically, most of these should be "Delay", because they're a timer between attempts and not the duration of the event itself, but we're already using "period" for most of them. So this at least makes them all consistent without requiring rename of any external facing env vars or command flags. - Standardize the many duplicate descriptions for duration options, at each layer of the stack. - Add missing constants to replace hard-coded durations. - Reafactor existing duration constants to make the names consistent. Change-Id: If77a2ffc845fce3d78d39d5f663eafcb8e4f67dd
40e5184
to
f26d923
Compare
Extracted some test flake "fixes" this change uncovered: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nan-yu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |