Replays from older builds click the wrong startup button #533
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/calref/cboe/pull/500 rearranged and combined startup menu buttons.
Replays from builds prior to https://github.com/calref/cboe/pull/500 still encode startup button indices according to the old layout, so they don't work in newer builds if they click a startup button that moved.
This could be hairy to implement a real fix for -- (How can you programmatically determine if the build comes after a specific commit SHA?). Another solution I'd be okay with, is just directly editing the indices in all the logs we have in
test/replays. (And then we promise not to rearrange buttons again.)We could encode startup buttons as a name instead of an index. Then rearranging them wouldn't cause any issues. In the event of removing a button, the replay would have to give an error message of some kind, unless we include backwards compatibility for that removed button.