Skip to content

[Bug]: hermes profile use command fails to switch profiles #19299

@myugan

Description

@myugan

Bug Description

After upgrading the Hermes agent from version 0.11.0 to 0.12.0 (Docker image-based), the hermes profile use command no longer switches the active profile. The command appears to run without error, but the profile remains unchanged.

Steps to Reproduce

  1. Pull the latest Hermes agent image and re-run the container
  2. Inside the container — create dummy profiles (from 0.11.0-style setup)
    hermes profile create dev
    hermes profile create staging
    hermes profile create prod
    
  3. Check current active profile using hermes profile list
  4. Try switching to a different profile hermes profile use dev
  5. Verify that the profile switched to dev

Expected Behavior

After running hermes profile use dev, the active profile should switch to dev.

Actual Behavior

After running hermes profile use dev, the active profile does not switch to dev. The profile remains unchanged

Affected Component

Other

Messaging Platform (if gateway-related)

Discord

Debug Report

Report       https://paste.rs/DjefM
agent.log    https://paste.rs/zlOnV
gateway.log  https://paste.rs/RYKcz

Operating System

Debian GNU/Linux 13 (trixie)

Python Version

3.13.5

Hermes Version

0.12.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/configConfig system, migrations, profilescomp/cliCLI entry point, hermes_cli/, setup wizardsweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions