Skip to content

Conversation

@Kubaryt
Copy link
Member

@Kubaryt Kubaryt commented Sep 22, 2025

No description provided.

@Kubaryt Kubaryt requested a review from Norbiros September 22, 2025 14:59
@Kubaryt Kubaryt force-pushed the dev branch 3 times, most recently from 6e5ed57 to 3faa47d Compare September 23, 2025 08:19
Copy link
Member

@Norbiros Norbiros left a comment

Choose a reason for hiding this comment

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

  1. What will happen if the server goes down for some time? Will everything be properly reconstructed

  2. Why are you not using pygithub library?

  3. Please, add a renovate bot config

@Kubaryt
Copy link
Member Author

Kubaryt commented Sep 23, 2025

  1. Why are you not using pygithub library?

do i really need a whole library to send 3 simple graphql requests?

@Norbiros
Copy link
Member

Do you really need discord-py to send 10 simple http requests?
Do you really need dotenv to read one file, split it at = and store it in dictionary?
Do you really need requests, which is legacy, sync only library with dependency bload instead of something like built in requests or httpx or aiohttp?

@Norbiros
Copy link
Member

Norbiros commented Oct 8, 2025

cwelllllll to jakib starzyk

@Kubaryt
Copy link
Member Author

Kubaryt commented Nov 11, 2025

todo: refactor utils (mainly dont keep them in one file)

Copy link
Member

@Norbiros Norbiros left a comment

Choose a reason for hiding this comment

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

I am still not sure how you want to update github_id_to_discord_id_mapping file. If a new person joins our project, you want to commit to this repository with new id and username.

@Kubaryt
Copy link
Member Author

Kubaryt commented Nov 15, 2025

I am still not sure how you want to update github_id_to_discord_id_mapping file. If a new person joins our project, you want to commit to this repository with new id and username.

we had this discussion at least once and we decided that just committing each time we add someone is good enough solution

…tItemEvent

- also add RWLock for forum channel
…verification utils to separate file

- create separate functions for tasks like creating post or verificating signature
- split unit tests for utils into separate files
- remove integration tests which are duplicated with unit tests
- in integration tests test only basic flow, without checking every possibility that may occur in every function
- move all fixtures and mock classes into src/tests/utils
- add tests for process method in classes inheriting from ProjectItemEvent interface in test_process
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 28 out of 36 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

src/utils/github_api.py:44

  • Syntax Error (in Python 3).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Kubaryt Kubaryt requested a review from Norbiros November 28, 2025 18:29
Copy link
Member

@Norbiros Norbiros left a comment

Choose a reason for hiding this comment

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

idk, it might work

@Kubaryt Kubaryt merged commit 23fcea8 into master Nov 30, 2025
1 check passed
@Kubaryt Kubaryt deleted the dev branch November 30, 2025 15:22
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.

3 participants