Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/267-mcp-write-payload-reduction #279 +/- ##
===========================================================================
+ Coverage 98.18% 98.22% +0.04%
===========================================================================
Files 12 12
Lines 1540 1576 +36
Branches 146 151 +5
===========================================================================
+ Hits 1512 1548 +36
Misses 19 19
Partials 9 9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
yakky
changed the base branch from
issue/mcp-write-payload-reduction
to
feature/267-mcp-write-payload-reduction
October 4, 2026 13:55
yakky
added this pull request to stack #281
October 4, 2026 13:55
yakky
force-pushed
the
bugfix/278-mcp-epic-link-and-version-fixes
branch
from
October 4, 2026 13:59
7a95757 to
4dc5999
Compare
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Custom-attribute writes can still use stale cached versions and fail after another client edits the resource.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Addresses #278 by correcting epic linking and adding automatic version defaults for Taiga MCP writes.
Changes:
- Includes the epic ID in link requests and exposes underlying errors.
- Defaults omitted write versions while preserving explicit values.
- Adds regression tests, documentation, and release notes.
| File | Description |
|---|---|
| tests/test_mcp_server.py | Tests version defaults and link errors. |
| tests/test_epics.py | Checks the required epic ID payload. |
| tests/test_custom_attributes.py | Tests default and explicit versions. |
| taiga/models/models.py | Updates epic payloads and custom-attribute version defaults. |
| taiga/mcp_server/server.py | Adds version handling and link error reporting. |
| docs/mcp.rst | Documents optional write versions. |
| changes/278.bugfix.2 | Records automatic version handling. |
| changes/278.bugfix.1 | Records improved link error reporting. |
| changes/278.bugfix | Records the epic-link payload correction. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
yakky
force-pushed
the
bugfix/278-mcp-epic-link-and-version-fixes
branch
from
October 4, 2026 14:32
973b63e to
1afb978
Compare
Epic.add_related_user_story now sends `epic`, which Taiga requires, so link_epic_user_story actually links; both link tools raise ToolError with the real message. Single-item update_* tools and update_work_items use the fetched item's version when the caller omits it, and set_custom_attribute_value takes an optional version defaulting to the current custom-attributes-values version. Refs #278 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… batch project fetch - keep nested media keys in compact/minimal collapse when strip_media=False - page through project memberships when resolving assigned users - resolve the project once per update_work_items batch Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ibute version Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…narrow read-reduction scope Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
yakky
force-pushed
the
bugfix/278-mcp-epic-link-and-version-fixes
branch
from
October 4, 2026 14:34
1afb978 to
345a59f
Compare
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Fixes the Taiga MCP server in two ways:
Epic.add_related_user_storynow sendsepic, which Taiga requires onrelated_userstories;link_epic_user_story/link_epic_user_story_by_idnever linked anything before and hid the real error. Both tools now raise
ToolErrorwith the real message.versionis omitted: single-itemupdate_*toolsand
update_work_itemsuse the fetched item's version (an explicitversionwins);
set_custom_attribute_value/_by_idtake an optionalversiondefaulting to the current custom-attributes-values version
(
CustomAttributeResource.set_attributefollows the same default instead of 1).Verified against a real Taiga board (epic link, update without version, custom
attribute without version), test data removed.
References
Fix #278
Checklist
inv lintchangesfile included (see docs)docs/mcp.rstupdated)Use of AI
Model: Claude Sonnet 5.5, via Claude Code. Scope: root-cause analysis, implementation and tests.
🤖 Generated with Claude Code