Skip to content

Merge pull request #10 from Huynhthuongg/codex/review-code-and-propose-fixes-at7thi Unify CI checks behind ./scripts/check.sh, add codespell and dependency validation#13

Open
Huynhthuongg wants to merge 35 commits into
codex/review-code-and-propose-fixesfrom
main
Open

Merge pull request #10 from Huynhthuongg/codex/review-code-and-propose-fixes-at7thi Unify CI checks behind ./scripts/check.sh, add codespell and dependency validation#13
Huynhthuongg wants to merge 35 commits into
codex/review-code-and-propose-fixesfrom
main

Conversation

@Huynhthuongg

@Huynhthuongg Huynhthuongg commented Jun 3, 2026

Copy link
Copy Markdown
Member

Summary by cubic

Adds a new weather_dashboard app with a responsive UI, OpenWeatherMap integration, and saved cities. Also unifies CI/local checks behind ./scripts/check.sh, adding codespell and dependency presence checks, and removes httpx2 to fix setup/CI errors.

  • New Features

    • ./scripts/check.sh verifies ruff, codespell, pytest, and httpx, then runs ruff, codespell (README.md/docs/app/tests/pyproject.toml/scripts/config), and pytest; CI uses this script.
    • weather_dashboard: FastAPI + aiohttp service with UI (/), health (/health), weather/search/favorites APIs (/api/weather, /api/search, /api/saved-cities), SQLite-backed saved cities, security headers, and docs (README_WEATHER.md, config/weather.env.example).
  • Dependencies

    • Added codespell[toml]>=2.3,<3.0 with [tool.codespell] skip and ignore-words-list = "thi".
    • Bumped httpx to >=0.28,<1.0 and removed httpx2.

Written for commit ef7f687. Summary will update on new commits.

Review in cubic

…e-fixes-at7thi

Unify CI checks behind `./scripts/check.sh`, add codespell and dependency validation
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agents-md Error Error Jun 3, 2026 7:56am

@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b8e93caf-dc08-4241-a405-84f9896cf5de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch main
  • 🛠️ Aethon

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.

@kilo-code-bot

kilo-code-bot Bot commented Jun 3, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

Merge pull request #10 from Huynhthuongg/codex/review-code-and-propose-fixes-at7thi

Unify CI checks behind `./scripts/check.sh`, add codespell and dependency validation
…alytics-w-ufsgkw

Merge pull request #14 from Huynhthuongg/main

Merge pull request #10 from Huynhthuongg/codex/review-code-and-propose-fixes-at7thi

Unify CI checks behind `./scripts/check.sh`, add codespell and dependency validation

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

Re-trigger cubic

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Huynhthuongg and others added 2 commits June 3, 2026 18:33
Update README.md

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Merge pull request #25 from Huynhthuongg/main
- Remove httpx2>=2.3,<3.0 from pyproject.toml (line 24)
- Remove httpx2 from check.sh module validation (line 11)
- Keep httpx>=0.28,<1.0 which is the correct package

Fixes dependency resolution errors in CI/CD and local setup.
fix: remove non-existent httpx2 dependency

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 154aaeb3f1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/check.sh
Comment thread pyproject.toml Outdated
- Add Weather Dashboard with real-time weather fetching
- Integrate OpenWeatherMap API for global weather data
- Implement responsive HTML5 UI with modern design
- Add city search functionality with autocomplete
- Add save/favorite cities with SQLite database
- Include comprehensive weather details (temperature, humidity, wind, pressure, sunrise/sunset)
- Add security headers and error handling
- Responsive design for mobile, tablet, and desktop
- FastAPI with async/await pattern
- Complete API documentation

Files added:
- weather_dashboard/config.py - Configuration management
- weather_dashboard/models.py - Data models (WeatherData, SavedCity, etc.)
- weather_dashboard/weather_service.py - OpenWeatherMap API integration
- weather_dashboard/database.py - SQLite database operations
- weather_dashboard/app.py - FastAPI application and routes
- weather_dashboard/templates.py - Beautiful HTML dashboard
- weather_dashboard/__init__.py - Package initialization
- config/weather.env.example - Environment configuration example
- README_WEATHER.md - Complete documentation
feat: add weather dashboard application
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> (#39) (#47) (#72) (#73) (#74)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> (#39) (#47) (#72) (#73) (#74) (#76)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> (#39) (#47) (#72) (#73) (#74) (#76) (#77)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> (#39) (#47) (#72) (#73) (#74) (#76) (#77) (#83)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> (#39) (#47) (#72) (#73) (#74) (#76) (#77) (#83) (#84)
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

1 participant