Skip to content

CM-67459: Enrich session context payload#477

Open
RoniCycode wants to merge 5 commits into
mainfrom
CM-67459-enrich-session-context-payload
Open

CM-67459: Enrich session context payload#477
RoniCycode wants to merge 5 commits into
mainfrom
CM-67459-enrich-session-context-payload

Conversation

@RoniCycode

Copy link
Copy Markdown
Collaborator

No description provided.

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@RoniCycode

Copy link
Copy Markdown
Collaborator Author

@claude review once

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

⚠️ Code review skipped — your organization has reached its monthly code review spending cap.

An organization admin can view or raise the cap at claude.ai/admin-settings/claude-code. The cap resets at the start of the next billing period.

Once the cap resets or is raised, comment @claude review on this pull request to trigger a review.

Comment thread cycode/cli/utils/host_info.py Outdated
return _get_macos_serial_number()
if system == 'Windows':
return _run(
['powershell', '-NoProfile', '-Command', '(Get-CimInstance -ClassName Win32_BIOS).SerialNumber']

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

i'm not sure but maybe we should avoid subprocess for this? (powershell takes time to spawn) (we can probably get it through python libraries)

Comment thread tests/utils/test_host_info.py Outdated
# platform_name mapping


def test_get_platform_name_maps_known_systems(mocker: MockerFixture) -> None:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

all of these tests are mocked and meaningless


def get_last_login_user() -> Optional[str]:
try:
return getpass.getuser() or None

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

did you check this is not returning root from hooks?

Ilanlido
Ilanlido previously approved these changes Jun 25, 2026
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.

3 participants