Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix "'int' object is not iterable" error in set_device_id_for_pushers background update #16594

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

clokep
Copy link
Member

@clokep clokep commented Nov 2, 2023

Fixes #16591

key_values=[row[0] for row in rows],
key_values=[(row[0],) for row in rows],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, is this from the cursor_to_dict changes?

I guess this means we don't have any test coverage for this background update? :(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From #16431, yes. Probably not... we should probably fail unit tests if any errors happen in the background, but there's no guarantee this actually runs with any data?

@clokep clokep changed the base branch from develop to release-v1.96 November 2, 2023 12:53
@clokep
Copy link
Member Author

clokep commented Nov 2, 2023

Going to target the 1.96 branch with this since the background update won't be more broken if this doesn't work properly.

@clokep clokep enabled auto-merge (squash) November 2, 2023 13:02
@clokep clokep merged commit bf69b57 into release-v1.96 Nov 2, 2023
41 checks passed
@clokep clokep deleted the clokep/fix-tuples branch November 2, 2023 14:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants