fix(confluence): populate metadata for page children - #1605
Merged
sooperset merged 2 commits intoAug 19, 2026
Conversation
Reported-by: joschneid Github-Issue: sooperset#1602
Contributor
|
Merged, @Cchena1. The paired regression tests for history-backed metadata and the version-only fallback made this fix easy to verify. |
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
confluence_get_page_childrencurrently requests onlyversionby default, sothe Confluence API response does not include the history fields used to populate
created,updated, andauthor.Request
historyalongsideversionby default and keepversion.whenas thefallback update timestamp when history is unavailable.
This follows the metadata expansion pattern previously addressed in #1117 and
#1480.
Fixes: #1602
Changes
version,historyby default when retrieving child pages.version.whenas the update timestamp fallback even whenhistoryis absent.Testing
created,updated, andauthor; the shared Cloud hierarchy path also passed E2E.Commands run:
uv run pytest tests/unit/models/test_confluence_page_model.py tests/unit/confluence/test_pages.py tests/unit/servers/test_confluence_server.py -xq226 passeduv run pytest tests/integration/test_real_api.py::TestRealConfluenceAPI::test_page_hierarchy --integration --use-real-data -xv -ra1 passeduv run pytest tests/e2e/test_confluence_dc_operations.py::TestConfluenceDCPageHierarchy::test_create_child_page --dc-e2e -xv -ra1 passeduv run pytest tests/e2e/cloud/test_confluence_cloud_operations.py::TestConfluenceCloudPageHierarchy::test_create_child_page --cloud-e2e -xv -ra1 passedcreated,updated, andauthorpopulateduv run python scripts/generate_tool_docs.py --checkgit diff --check origin/main...HEADMaintainer verification (2026-08-20)
3839 passed; the five skips are opt-in real-data model tests, and the targeted regression suite ran without skips (226 passed).1 passedwith no skips.1 passedeach with no skips.created,updated, andauthorwere populated.main; all required CI checks are green.Checklist