Skip to content

fix: add missing agent-context extension entries to Cline _expected_files#2797

Merged
mnriem merged 1 commit into
github:mainfrom
mnriem:fix/2796-cline-expected-files
Jun 1, 2026
Merged

fix: add missing agent-context extension entries to Cline _expected_files#2797
mnriem merged 1 commit into
github:mainfrom
mnriem:fix/2796-cline-expected-files

Conversation

@mnriem
Copy link
Copy Markdown
Collaborator

@mnriem mnriem commented Jun 1, 2026

Summary

Fixes #2796

TestClineIntegration._expected_files() overrides the base-class version but was never updated when the bundled agent-context extension files were added to test_integration_base_markdown.py. This caused test_complete_file_inventory_sh and test_complete_file_inventory_ps to fail with 8 "extra" files reported.

Change

Added the 8 missing agent-context extension file entries to TestClineIntegration._expected_files() in tests/integrations/test_integration_cline.py, mirroring what the base class already lists:

  • .specify/extensions.yml
  • .specify/extensions/.registry
  • .specify/extensions/agent-context/README.md
  • .specify/extensions/agent-context/agent-context-config.yml
  • .specify/extensions/agent-context/commands/speckit.agent-context.update.md
  • .specify/extensions/agent-context/extension.yml
  • .specify/extensions/agent-context/scripts/bash/update-agent-context.sh
  • .specify/extensions/agent-context/scripts/powershell/update-agent-context.ps1

Testing

All 3345 tests pass (1 skipped).

…iles

TestClineIntegration._expected_files() overrides the base-class version but
was not updated when the bundled agent-context extension files were added to
test_integration_base_markdown.py, causing test_complete_file_inventory_sh
and test_complete_file_inventory_ps to fail.

Fixes github#2796
Copilot AI review requested due to automatic review settings June 1, 2026 19:16
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

This PR fixes failing Cline integration inventory tests by aligning TestClineIntegration._expected_files() with the base markdown integration test mixin after the bundled agent-context extension files were added.

Changes:

  • Added the 8 missing bundled agent-context extension file paths to TestClineIntegration._expected_files() so the Cline-specific override matches the base expected inventory.
Show a summary per file
File Description
tests/integrations/test_integration_cline.py Updates Cline’s overridden expected file list to include the bundled agent-context extension files, preventing “extra files” inventory failures.

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: 0

@mnriem mnriem merged commit 39925ac into github:main Jun 1, 2026
11 checks passed
@mnriem mnriem deleted the fix/2796-cline-expected-files branch June 1, 2026 19: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.

fix: Cline _expected_files missing bundled agent-context extension entries

2 participants