Skip to content

Update docker-publish.yml to fix mnemon ci test + pi-agent failback plugin - #45

Merged
gitricko merged 5 commits into
mainfrom
gitricko-fix-mnemon-ci-test
Sep 3, 2026
Merged

Update docker-publish.yml to fix mnemon ci test + pi-agent failback plugin#45
gitricko merged 5 commits into
mainfrom
gitricko-fix-mnemon-ci-test

Conversation

@gitricko

@gitricko gitricko commented Sep 3, 2026

Copy link
Copy Markdown
Owner

This pull request introduces several updates to the Docker build, configuration, and integration test setup for the project. The main focus is on improving model provider failover, updating dependencies, and refining integration test logic. Below are the most important changes grouped by theme:

Model Provider Failover & Configuration:

  • Enhanced the docker/pi-models.json configuration to fully define both omniroute and modelrelay providers, including detailed model specs, fallback chains, and API keys set to "no-key-needed" for local use. This enables robust failover between providers.
  • Updated docker/pi-settings.json to specify a packages array that installs the pi-failover extension from a GitHub repository, supporting the new failover logic.
  • Modified docker/start-pi.sh to automatically install the pi-failover extension during startup, ensuring the failover mechanism is always available.

Dependency Updates:

  • Upgraded modelrelay to version 1.22.1 in the docker/Dockerfile and switched to direct versioned installation via npm instead of installing from a GitHub fork, ensuring compatibility and stability. [1] [2]

Integration Test Improvements:

  • Improved the GitHub Actions workflow (.github/workflows/docker-publish.yml) by adding a delay (sleep 120) before running the Mnemon integration test to ensure services are ready.
  • Updated the integration test to use the hermes CLI for retrieval checks instead of claude, and commented out the old claude-based logic for clarity and future reference. Output and error messages were updated to reflect this change.This pull request updates the Mnemon integration test step in the .github/workflows/docker-publish.yml workflow. The main changes are to improve test reliability and switch the retrieval test from using the claude command to the hermes command.

Test reliability improvements:

  • Added a sleep 120 command before running the Mnemon integration test to allow services to fully start up, reducing the chance of race conditions.

Test logic and tool changes:

  • Commented out the Claude-based retrieval test and replaced it with a Hermes-based retrieval test, updating command invocations and output checks accordingly.
  • Updated log messages and variable names to reflect the switch from Claude to Hermes in the retrieval step.

Copilot AI lite review requested due to automatic review settings September 3, 2026 10:21

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

Copilot AI 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.

🟡 Changes recommended

The added --new flag appears unsupported for the pinned Hermes version and risks breaking the CI smoke test by causing the command to fail.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Docker publish GitHub Actions workflow’s Mnemon integration smoke test to invoke Hermes chat with a --new flag.

Changes:

  • Modify the workflow’s “Hermes remembers” test command to run hermes chat --new -q ... instead of hermes chat -q ....
File summaries
File Description
.github/workflows/docker-publish.yml Adjusts the Hermes CLI invocation used during the Mnemon integration test in CI.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/docker-publish.yml Outdated
Comment on lines +123 to +124
timeout 60 docker exec -u abc "$CONTAINER_NAME" \
hermes chat -q "my name is $TEST_NAME, remember this in mnemon" \
hermes chat --new -q "my name is $TEST_NAME, remember this in mnemon" \

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@gitricko gitricko changed the title Update docker-publish.yml to use --new flag Update docker-publish.yml to fix mnemon ci test + pi-agent failback plugin Sep 3, 2026
@gitricko
gitricko merged commit a0e77c5 into main Sep 3, 2026
4 checks passed
@gitricko
gitricko deleted the gitricko-fix-mnemon-ci-test branch September 3, 2026 14:31
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.

2 participants