Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
|
@copilot if the key does not end with -${{ run id }} append it automatically, to simulate the caching behavior. |
…ate restore keys
- Change default cache key from memory-mcp-${run_id} to memory-${workflow}-${run_id}
- Automatically generate restore keys by splitting cache key on '-'
- Remove restore-keys option from frontmatter schema
- Update documentation to reflect new behavior
Addresses comment feedback in PR review.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated the cache-memory implementation per your feedback:
For example, a key like
Changes implemented in commit dd6b3f7. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot add cache memory to ci doctor agentic workflow |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Implemented in commit b28f0f3. Cache keys that don't end with
Tested with multiple scenarios including boolean settings, custom keys with and without run_id suffix. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
…g/cli/workflows Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Created |
|
@copilot in the front matter, add support for specifying the docker version sha/ref of the mcp |
|
@copilot review the configuration of the mcp server at https://github.com/modelcontextprotocol/servers/tree/main/src/memory#docker-1 and make sure the generated code is compatible. |
|
@copilot when the cache-memory is enabled, inject the system prompt from https://github.com/modelcontextprotocol/servers/tree/main/src/memory#system-prompt in the generated prompt file. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Completed all requested changes: ✅ Merged origin/main - Successfully brought in latest changes including test-poem workflow The test-poem workflow now uses Claude AI with persistent memory via cache-memory integration, while test-safe-output-missing-tool has been restored to its original state. All workflows recompiled successfully. Changes in commit 5479fc8 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot update test poem: set engine max-turns to 5 |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated test-poem workflow configuration per your request: ✅ Set engine max-turns to 5 - Added The workflow now properly limits Claude conversations to 5 turns and triggers only on pushes to copilot branches. Updated documentation reflects the new trigger behavior and max-turns configuration. Commit: 68b12d0 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot use npx to configure cache-memory mcp. See https://github.com/modelcontextprotocol/servers/tree/main/src/memory#npx |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated cache-memory MCP configuration to use npx instead of Docker per the official documentation. Changes in commit 2ede422:
The new MCP configuration: "memory": {
"command": "npx",
"args": ["@modelcontextprotocol/server-memory"],
"env": {"MEMORY_FILE_PATH": "/tmp/cache-memory/memory.json"}
}Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
…bd7d-4ce4-8c4f-9c661213375a
|
@copilot add cache-memory to dev agentic workflow |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added cache-memory tool to dev agentic workflow. The workflow now includes persistent memory capabilities using npx @modelcontextprotocol/server-memory and GitHub Actions cache. Commit: ac20161 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
…lowed tools for cache memory
Mounting a durable memory on top of github actions cached.
Major Changes
npx MCP Configuration
Switched cache-memory from Docker-based setup to npx for improved compatibility:
npx @modelcontextprotocol/server-memoryinstead of Docker containersTools Section Integration
Moved cache-memory under the tools section as a built-in tool:
Enhanced Documentation
Added comprehensive documentation at
docs/src/content/docs/reference/cache-memory.mdcovering:Dev Workflow Enhancement
The dev agentic workflow now includes cache-memory functionality:
Backward Compatibility
docker-imagefield is now ignored but maintained for backward compatibility-${{ github.run_id }}appendingThe implementation provides a more reliable and performant memory persistence solution for agentic workflows while maintaining full backward compatibility with existing configurations.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.