Skip to content

Conversation

@choldgraf
Copy link
Member

I think that this fixes #151 - I believe that the pd.concat was deleting the attrs data we were using to store bot users. I also added a test that should have bots in it so we can properly check this.

@choldgraf
Copy link
Member Author

@jtpio @bsipocz wanna take a look at this and see if it is sensible?

all_bot_users.update(qu.bot_users)

query_data = (
pd.concat(query_data).drop_duplicates(subset=["id"]).reset_index(drop=True)
Copy link
Member Author

Choose a reason for hiding this comment

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

this I think was clobberying bot_users so we are now explicitly grabbing it in a set after each query

Copy link
Member Author

@choldgraf choldgraf left a comment

Choose a reason for hiding this comment

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

OK I gave this another look and decided it'd be safer if we added a regression test for the bot users, rather than just checking for the presence of bots. I've now done that, and caught a weird bug along the way where bots in the git commit have [bot] attached to them in a way that is different from the author username in github. So that's now accounted for, we have a regression test, and I think this works now. I'll merge this and make a release so we can get this functionality out there.

@choldgraf choldgraf merged commit df3810f into executablebooks:main Dec 15, 2025
4 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.

BUG: dependabot bot is still shown in changelog

1 participant