Skip to content

Conversation

@itousouta15
Copy link
Member

@itousouta15 itousouta15 commented Oct 22, 2025

Summary by CodeRabbit

  • New Features

    • Added a version information command to the Discord bot providing system details.
  • Chores

    • Updated project version to 0.1.10.
    • Upgraded multiple dependencies including database connectors, environment utilities, testing frameworks, and code quality tools for improved stability and performance.

winstonsung and others added 15 commits October 6, 2025 13:08
Change-Id: I65c93364e74a3473de3d2fb5f074ec82a31a8ef9
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.1 to 8.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.4.1...8.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 8.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.8.3 to 2025.10.5.
- [Commits](certifi/python-certifi@2025.08.03...2025.10.05)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.10.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Change-Id: Ib2a7b075c3462b3136ee5410969b36aeeb5099f8
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.8 to 3.3.9.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.3.8...v3.3.9)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 3.3.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [propcache](https://github.com/aio-libs/propcache) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/aio-libs/propcache/releases)
- [Changelog](https://github.com/aio-libs/propcache/blob/master/CHANGES.rst)
- [Commits](aio-libs/propcache@v0.3.2...v0.4.0)

---
updated-dependencies:
- dependency-name: propcache
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
updated-dependencies:
- dependency-name: yarl
  dependency-version: 1.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [frozenlist](https://github.com/aio-libs/frozenlist) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/aio-libs/frozenlist/releases)
- [Changelog](https://github.com/aio-libs/frozenlist/blob/master/CHANGES.rst)
- [Commits](aio-libs/frozenlist@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: frozenlist
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [multidict](https://github.com/aio-libs/multidict) from 6.6.4 to 6.7.0.
- [Release notes](https://github.com/aio-libs/multidict/releases)
- [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst)
- [Commits](aio-libs/multidict@v6.6.4...v6.7.0)

---
updated-dependencies:
- dependency-name: multidict
  dependency-version: 6.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [attrs](https://github.com/sponsors/hynek) from 25.3.0 to 25.4.0.
- [Commits](https://github.com/sponsors/hynek/commits)

---
updated-dependencies:
- dependency-name: attrs
  dependency-version: 25.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst)
- [Commits](aio-libs/yarl@v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: yarl
  dependency-version: 1.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [platformdirs](https://github.com/tox-dev/platformdirs) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/tox-dev/platformdirs/releases)
- [Changelog](https://github.com/tox-dev/platformdirs/blob/main/CHANGES.rst)
- [Commits](tox-dev/platformdirs@4.4.0...4.5.0)

---
updated-dependencies:
- dependency-name: platformdirs
  dependency-version: 4.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [propcache](https://github.com/aio-libs/propcache) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/aio-libs/propcache/releases)
- [Changelog](https://github.com/aio-libs/propcache/blob/master/CHANGES.rst)
- [Commits](aio-libs/propcache@v0.4.0...v0.4.1)

---
updated-dependencies:
- dependency-name: propcache
  dependency-version: 0.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.11.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](kjd/idna@v3.10...v3.11)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.11'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@coderabbitai
Copy link

coderabbitai bot commented Oct 22, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Project version incremented to 0.1.10 with selective dependency upgrades across development and runtime environments. Configuration tweak to pylintrc removes suggestion-mode setting. New VersionInfo Discord Cog added exposing slash command for version metadata. Test module refactored with variable rename and debug output.

Changes

Cohort / File(s) Summary
Configuration & Linting
\.pylintrc
Removed suggestion-mode=yes setting and preceding comment lines from MAIN section
Version & Dependency Management
pyproject.toml
Version bumped 0.1.9 → 0.1.10; mysql-connector-python 9.4.0 → 9.5.0; python-dotenv 1.1.1 → 1.2.1; dev pylint 3.3.8 → 4.0.2; dev pytest 8.4.1 → 8.4.2
Runtime Dependencies
requirements.txt
Upgraded 11 packages: aiohttp, attrs, certifi, charset-normalizer, frozenlist, idna, multidict, mysql-connector-python, propcache, python-dotenv, yarl
Dev Dependencies
requirements_dev.txt
Upgraded 6 packages: astroid 3.3.11 → 4.0.1; iniconfig 2.1.0 → 2.3.0; isort 6.1.0 → 7.0.0; platformdirs 4.4.0 → 4.5.0; pylint 3.3.8 → 4.0.2; pytest 8.4.1 → 8.4.2
Test Refactoring
cog/tests/test_user_record.py
Renamed module-level flag SKIPskip; added print(data) statement in test method
New Feature: Version Info Cog
cog/version_info.py
New file introducing VersionInfo Cog class with slash command /version_info providing version metadata via Discord embeds; includes methods for title, installed software, and footer embeds

Sequence Diagram

sequenceDiagram
    participant User as Discord User
    participant Bot as Discord Bot
    participant VersionInfo as VersionInfo Cog
    
    User->>Bot: /version_info
    Bot->>VersionInfo: version_info(interaction)
    
    rect rgb(255, 250, 200)
    Note over VersionInfo: Validation check
    VersionInfo->>VersionInfo: embeds_version_info()
    VersionInfo->>VersionInfo: embed_version_info_title()
    VersionInfo->>VersionInfo: embed_installed_software()
    VersionInfo->>VersionInfo: embed_version_info_footer()
    end
    
    rect rgb(200, 220, 255)
    Note over VersionInfo: ⚠️ Code calls embed_version_info()<br/>but method is embeds_version_info()
    VersionInfo--xBot: Method resolution error
    end
    
    Bot-->>User: (Error response expected)
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Areas requiring attention:

  • cog/version_info.py — The version_info() slash command handler calls embed_version_info() (line noted in summary), but the actual method is named embeds_version_info(). This will cause a runtime AttributeError and must be corrected.
  • Dependency versions — While version bumps are generally safe, pylint upgrading from 3.3.8 to 4.0.2 and astroid from 3.3.11 to 4.0.1 represent major version changes that may introduce breaking changes; verify compatibility.

Poem

A cat surveys the changes made with eyes so keen and bright,
Dependencies cascade like yarn—each version updated right,
A new VersionInfo Cog arrives to show bot's vital signs,
Yet whiskers twitch—a method name forgot between the lines! 🐱✨
Through 0.1.10 we pounce ahead, though one small bug's in sight.

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly focuses on the Discord navigation link fix (changing from relative to absolute URL), which is indeed present in templates/home.html. However, the changeset includes substantial additions (a new VersionInfo cog module), dependency updates across multiple files, and other modifications (.pylintrc changes, test file updates) that are not mentioned in the title. While the title accurately describes one significant change, it doesn't reflect the broader scope of the pull request.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d256012 and 83c3fef.

📒 Files selected for processing (2)
  • cog/version_info.py (1 hunks)
  • pyproject.toml (2 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@itousouta15 itousouta15 changed the title Update home.html fix(nav): use absolute URL for Discord link to prevent redirect to /dc.scaict.org Oct 22, 2025
@itousouta15 itousouta15 changed the base branch from main to deployed October 23, 2025 01:03
@itousouta15 itousouta15 changed the base branch from deployed to main October 23, 2025 01:04
@winstonsung winstonsung changed the base branch from main to dev October 23, 2025 05:42
@winstonsung winstonsung changed the base branch from dev to main October 23, 2025 05:43
@winstonsung winstonsung changed the title fix(nav): use absolute URL for Discord link to prevent redirect to /dc.scaict.org fix(nav): Use absolute URL for Discord link to prevent redirect to /dc.scaict.org Oct 23, 2025
dependabot bot added 5 commits October 23, 2025 13:49
Bumps [iniconfig](https://github.com/pytest-dev/iniconfig) from 2.1.0 to 2.3.0.
- [Release notes](https://github.com/pytest-dev/iniconfig/releases)
- [Changelog](https://github.com/pytest-dev/iniconfig/blob/main/CHANGELOG)
- [Commits](pytest-dev/iniconfig@v2.1.0...v2.3.0)

---
updated-dependencies:
- dependency-name: iniconfig
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.3 to 3.4.4.
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](jawah/charset_normalizer@3.4.3...3.4.4)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-version: 3.4.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mysql-connector-python](https://github.com/mysql/mysql-connector-python) from 9.4.0 to 9.5.0.
- [Changelog](https://github.com/mysql/mysql-connector-python/blob/trunk/CHANGES.txt)
- [Commits](mysql/mysql-connector-python@9.4.0...9.5.0)

---
updated-dependencies:
- dependency-name: mysql-connector-python
  dependency-version: 9.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
… to 4.0.1

Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.9 to 4.0.2.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.3.9...v4.0.2)

Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.3.11 to 4.0.1.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](pylint-dev/astroid@v3.3.11...v4.0.1)

Change-Id: Ic810e9b69c2446d8074c397f1d6c78b42b494118

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: astroid
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [isort](https://github.com/PyCQA/isort) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/PyCQA/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](PyCQA/isort@6.1.0...7.0.0)

---
updated-dependencies:
- dependency-name: isort
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
winstonsung pushed a commit that referenced this pull request Oct 23, 2025
…c.scaict.org

Bug: #330
Change-Id: Ie704cb765ab1ac1fb6ad25c9198a0c0a1b593278
@winstonsung winstonsung added the bug Something isn't working label Oct 23, 2025
@winstonsung winstonsung added this to the 0.1.10 milestone Oct 23, 2025
dependabot bot added 2 commits October 31, 2025 11:31
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
- [Commits](theskumar/python-dotenv@v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-version: 1.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
winstonsung pushed a commit that referenced this pull request Oct 31, 2025
…c.scaict.org

Bug: #330
Change-Id: Ie704cb765ab1ac1fb6ad25c9198a0c0a1b593278
Bug: #88
Change-Id: I54ea5e3a557fc88ca0ea9da832e15cc4ce3e613c
Change-Id: I6256bd018477bebcf998cb871e753ae80ed70a06
@winstonsung winstonsung merged commit 83c3fef into main Nov 3, 2025
9 checks passed
@winstonsung winstonsung deleted the itousouta15-patch-1 branch November 3, 2025 14:38
winstonsung pushed a commit that referenced this pull request Nov 3, 2025
…c.scaict.org

Bug: #330
Change-Id: Ie704cb765ab1ac1fb6ad25c9198a0c0a1b593278
winstonsung pushed a commit that referenced this pull request Nov 3, 2025
…c.scaict.org

Bug: #330
Change-Id: Ie704cb765ab1ac1fb6ad25c9198a0c0a1b593278
@YuevUwU YuevUwU mentioned this pull request Nov 3, 2025
@winstonsung winstonsung linked an issue Nov 10, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add version info as part of bot description and command

3 participants