Skip to content

Adds shared Repo Mind Light workflow#29326

Closed
szabta89 wants to merge 1 commit intomainfrom
szabta89/repo-mind-light-shared-workflow-20260430
Closed

Adds shared Repo Mind Light workflow#29326
szabta89 wants to merge 1 commit intomainfrom
szabta89/repo-mind-light-shared-workflow-20260430

Conversation

@szabta89
Copy link
Copy Markdown
Contributor

Adds a shared repo-mind-light workflow that packages the reusable Repo Mind Light integration for gh-aw workflows.

This shared workflow handles:

  • index preparation and cache/artifact handoff
  • Repo Mind Light MCP startup, readiness checks, and cleanup
  • prompt guidance that tells the agent to use Repo Mind Light first
  • shared Repo Mind Light tool timeout settings

It is parameterized so consuming workflows can provide repo-specific Repo Mind Light config via import inputs, which makes the integration reusable across repositories and workflows.

Copilot AI review requested due to automatic review settings April 30, 2026 13:57
@pelikhan
Copy link
Copy Markdown
Collaborator

githubnext/agentics is the preferred location to surface reusable imports

@github-actions
Copy link
Copy Markdown
Contributor

✅ smoke-ci: safeoutputs CLI comment + comment-memory run (25169524717)

Generated by Smoke CI for issue #29326 ·

@github-actions
Copy link
Copy Markdown
Contributor

Comment Memory

CI lights the path
Green checks bloom at dawn
Quiet bots still sing

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Generated by Smoke CI for issue #29326 ·

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a reusable shared repo-mind-light workflow import for gh-aw workflows, encapsulating index prep/caching, artifact handoff, MCP server lifecycle (start/readiness/cleanup), and agent prompt guidance.

Changes:

  • Introduces a shared import with configurable inputs for Repo Mind Light image/config and cache/artifact naming.
  • Adds an index preparation job with cache restore/save and artifact upload for handoff to the agent job.
  • Adds pre/post agent steps to start Repo Mind Light MCP, wait for readiness, and capture logs/cleanup.
Show a summary per file
File Description
.github/workflows/shared/repo-mind-light.md New shared gh-aw import that packages Repo Mind Light indexing + MCP lifecycle + usage guidance.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment on lines +68 to +71
repo-mind-light-prep:
name: Prepare Repo Mind Light index
runs-on: ubuntu-latest
needs: [activation]
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

This shared import is coupled to a job named activation (and later uses its outputs.artifact_prefix). The header/Usage docs should explicitly call out this requirement (job name + required output) so consumers know what must exist in the importing workflow.

Copilot uses AI. Check for mistakes.
@github-actions github-actions Bot mentioned this pull request Apr 30, 2026
-p 8000:8000 \
-v "$PWD/.index-store:/var/lib/repo-mind-light/index" \
-v "$PWD/.repo-mind-light.config.yml:/tmp/repo-mind-light.config.yml:ro" \
-e COPILOT_TOKEN \
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.

This time does not exist.


- name: Start Repo Mind Light MCP server
env:
COPILOT_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
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.

This will not work if the user is using Claude,...

@szabta89 szabta89 closed this Apr 30, 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