Skip to content

feat: Create server and bot#1

Merged
Sanielia merged 44 commits intomasterfrom
dev
Nov 30, 2025
Merged

feat: Create server and bot#1
Sanielia merged 44 commits intomasterfrom
dev

Conversation

@Sanielia
Copy link
Owner

No description provided.

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

@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

@Sanielia
Copy link
Owner Author

  1. Why are you not using pygithub library?

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

@Norbiros
Copy link

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

Norbiros commented Oct 8, 2025

cwelllllll to jakib starzyk

@Sanielia
Copy link
Owner Author

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

Copy link

@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.

@Sanielia
Copy link
Owner Author

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.

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

@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

@Sanielia Sanielia merged commit 23fcea8 into master Nov 30, 2025
1 check passed
@Sanielia Sanielia 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.

2 participants