Skip to content

Conversation

@jayhack
Copy link
Contributor

@jayhack jayhack commented Aug 15, 2025

Motivation

Content

Testing

Please check the following before marking your PR as ready for review

  • I have added tests for my changes
  • I have updated the documentation or added new documentation as needed

@jayhack jayhack requested review from a team and codegen-team as code owners August 15, 2025 03:38
@codecov
Copy link

codecov bot commented Aug 15, 2025

Codecov Report

❌ Patch coverage is 9.43396% with 48 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/codegen/cli/commands/agent/main.py 9.80% 46 Missing ⚠️
src/codegen/cli/commands/agents/main.py 0.00% 1 Missing ⚠️
src/codegen/cli/tui/app.py 0.00% 1 Missing ⚠️

@jayhack jayhack merged commit bb6343b into develop Aug 15, 2025
18 checks passed
@jayhack jayhack deleted the jay/added-agent-run-endpoint branch August 15, 2025 03:39
from codegen.cli.auth.token_manager import get_current_token
from codegen.cli.auth.token_manager import get_current_org_name, get_current_token
from codegen.cli.rich.spinners import create_spinner
from codegen.cli.utils.org import resolve_org_id
Copy link
Contributor

Choose a reason for hiding this comment

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

Import error: get_current_org_name does not exist in token_manager
This import will raise ImportError at runtime.

Suggested change
from codegen.cli.utils.org import resolve_org_id
from codegen.cli.auth.token_manager import get_current_token # get_current_org_name removed (implement separately if required)

from codegen.cli.auth.token_manager import get_current_org_name, get_current_token
from codegen.cli.rich.spinners import create_spinner
from codegen.cli.utils.org import resolve_org_id

Copy link
Contributor

Choose a reason for hiding this comment

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

Import error: codegen.cli.utils.org module and resolve_org_id function are missing
This import will raise ImportError during CLI startup.

Suggested change
# TODO: implement `resolve_org_id` or import from correct module

@codegen-sh
Copy link
Contributor

codegen-sh bot commented Aug 15, 2025

Found 2 issues. Please review my inline comments above.

🔍 View my analysis

@github-actions
Copy link
Contributor

🎉 This PR is included in version 0.56.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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