Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@d0tTino
Copy link
Owner

@d0tTino d0tTino commented Oct 17, 2025

Summary

  • add lightweight in-repo shims for the requests and typer Python packages so the cockpit CLI can run inside tests without extra dependencies
  • extend the Tauri command tests to prepend the repo to PYTHONPATH and ensure the docker stub is discoverable on PATH
  • provide a minimal docker shell wrapper used during tests to satisfy cockpit compose commands

Testing

  • cargo test --manifest-path src-tauri/Cargo.toml

https://chatgpt.com/codex/tasks/task_e_68f249173cf483268b07377cc10fe378

@d0tTino d0tTino merged commit 4995aec into dev Oct 17, 2025
10 of 27 checks passed
@d0tTino d0tTino deleted the tino_swe/modify-context-injection-with-job-id branch October 17, 2025 14:21
Copy link

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

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.

ℹ️ 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

Comment on lines +21 to +24
class RequestException(Exception):
"""Base exception for the shim."""


Choose a reason for hiding this comment

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

P0 Badge Missing requests.exceptions namespace in shim

The new in-repo requests shim exposes RequestException and HTTPError only as top-level names, but it does not populate the standard requests.exceptions namespace. Several parts of the codebase catch errors via requests.exceptions.Timeout/RequestException (e.g. scripts/plugins.py, api/__init__.py). When this stub is imported those attributes will be absent, causing AttributeError before the cockpit CLI can execute. To be drop-in compatible, the shim should define an exceptions attribute (or module) containing aliases for these exception types.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants