Skip to content

Fix mise initialization and remove stale build trigger#3

Merged
Syati merged 3 commits into
mainfrom
agent/fix-mise-volume-permissions
Jul 8, 2026
Merged

Fix mise initialization and remove stale build trigger#3
Syati merged 3 commits into
mainfrom
agent/fix-mise-volume-permissions

Conversation

@Syati

@Syati Syati commented Jul 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

Syati added 3 commits July 8, 2026 05:01
Entire-Checkpoint: 6f6c8c10f88d
Entire-Checkpoint: 01973fe0b3e5
Entire-Checkpoint: d2d092b18909
@Syati Syati changed the title Fix mise shell setup and stale workflow trigger Fix mise initialization and remove stale build trigger Jul 8, 2026
@Syati Syati marked this pull request as ready for review July 8, 2026 23:11
Copilot AI review requested due to automatic review settings July 8, 2026 23:11

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.

Pull request overview

This PR improves the container’s runtime environment initialization by ensuring mise is properly activated in interactive shells, fixing potential permission issues with mise’s data directories during entrypoint execution, and removing an outdated GitHub Actions build trigger path.

Changes:

  • Activate mise during shell initialization when available.
  • Ensure /home/agent/.local/share/mise exists (and is owned by agent) before dropping root privileges in the entrypoint.
  • Remove a stale workflow path trigger (compose.yml) from the image build workflow.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
docker/profile.sh Adds conditional mise activate during shell startup.
docker/bin/agent-entrypoint Adds a startup step to create/chown mise directories before gosu drops to agent.
.github/workflows/build-push.yml Removes a stale compose.yml path trigger from the build workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Syati Syati merged commit e78a20c into main Jul 8, 2026
1 check passed
@Syati Syati deleted the agent/fix-mise-volume-permissions branch July 8, 2026 23:22
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