gabriel / musehub public
BREAKING dev #32 / 100
AI Agent gabriel · 1 day ago · Nov 15, 2026 · Diff

merge: #276 public URLs + muse#181 docs onto dev (#313 present)

Element-level conflicts in ui_proposals.py proposal_detail_page and docs_muse_api.html (main, known-issues) resolved with the line-level three-way result (no overlapping lines; approved by gabriel). Focused suite 873 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

sha256:c2ee54efa85fcbdeea4ffc84a2dd1b8fcd4623463b22e35765df3013a26834aa sha
+52 ~41 −10 symbols
sha256:b312524fb59ba8de645bb28a083f01a9c1a78d56ead054ec0312387caea29c73 snapshot
+52
symbols added
~41
symbols modified
−10
symbols removed
0
dead code introduced
Semantic Changes 103 symbols
~ musehub/core/public_urls.py .py 6 symbols added
+ HTTPConnection import import HTTPConnection L16–16
+ annotations import import annotations L14–14
+ settings import import settings L18–18
+ public_base_url function function public_base_url L21–27
+ public_request_url function function public_request_url L37–40
+ public_url_for function function public_url_for L30–34
~ tests/test_public_urls.py .py 20 symbols added
+ ROOT variable variable ROOT L21–21
+ _ALLOWED variable variable _ALLOWED L74–76
+ _REQUEST_DERIVED variable variable _REQUEST_DERIVED L71–71
+ _request function function _request L24–30
+ _settings function function _settings L34–38
+ Path import import Path L11–11
+ Request import import Request L15–15
+ annotations import import annotations L8–8
+ patch import import patch L12–12
+ public_base_url import import public_base_url L17–17
+ public_request_url import import public_request_url L17–17
+ public_url_for import import public_url_for L17–17
+ pytest import import pytest L14–14
+ re import import re L10–10
+ pytestmark variable variable pytestmark L19–19
+ test_pub01_allow_listed_host_seen_as_http_is_https function function test_pub01_allow_listed_host_seen_as_http_is_https L41–45
+ test_pub02_unknown_or_spoofed_host_is_never_reflected function function test_pub02_unknown_or_spoofed_host_is_never_reflected L48–51
+ test_pub03_no_request_is_the_public_url function function test_pub03_no_request_is_the_public_url L54–55
+ test_pub04_slashes_are_neither_doubled_nor_dropped function function test_pub04_slashes_are_neither_doubled_nor_dropped L58–66
+ test_pub30_no_request_derived_absolute_urls_outside_the_helper function function test_pub30_no_request_derived_absolute_urls_outside_the_helper L79–88
~ musehub/api/routes/musehub/_templates.py .py 3 symbols added, 1 symbol modified
+ _public_request_url function function _public_request_url L77–80
+ public_base_url import import public_base_url L29–29
+ public_request_url import import public_request_url L29–29
~ musehub/api/routes/musehub/install.py .py 1 symbol added, 1 symbol removed, 1 symbol modified
− _base_url function function _base_url L373–384
+ public_base_url import import public_base_url L37–37
~ musehub/api/routes/musehub/issues.py .py 1 symbol added, 3 symbols modified
+ public_url_for import import public_url_for L48–48
~ musehub/api/routes/musehub/json_alternate.py .py 1 symbol added, 1 symbol modified
+ public_request_url import import public_request_url L22–22
~ musehub/api/routes/musehub/mists.py .py 1 symbol added, 1 symbol removed, 8 symbols modified
− _base_url function function _base_url L63–65
+ public_base_url import import public_base_url L57–57
~ musehub/api/routes/musehub/proposals.py .py 1 symbol added, 3 symbols modified
+ public_url_for import import public_url_for L63–63
~ musehub/api/routes/musehub/sitemap.py .py 2 symbols added, 2 symbols modified
+ public_base_url import import public_base_url L45–45
+ public_url_for import import public_url_for L45–45
~ musehub/api/routes/musehub/ui_docs.py .py 2 symbols added, 1 symbol modified
+ public_base_url import import public_base_url L31–31
+ urlsplit import import urlsplit L12–12
~ musehub/api/routes/musehub/ui_domains.py .py 1 symbol added, 2 symbols modified
+ public_request_url import import public_request_url L25–25
~ musehub/api/routes/musehub/ui_proposals.py .py 1 symbol added, 1 symbol modified
+ public_base_url import import public_base_url L41–41
~ musehub/api/routes/musehub/ui_releases.py .py 1 symbol added, 1 symbol modified
+ public_request_url import import public_request_url L29–29
~ musehub/api/routes/musehub/ui_repo.py .py 3 symbols added, 1 symbol removed, 1 symbol modified
− _settings import import _settings L22–22
+ public_base_url import import public_base_url L35–35
+ public_request_url import import public_request_url L35–35
+ public_url_for import import public_url_for L35–35
~ musehub/services/opengraph_cards.py .py 1 symbol added, 1 symbol removed
− build_opengraph_image_url_from_request function function build_opengraph_image_url_from_request L97–113
+ build_opengraph_image_url function function build_opengraph_image_url L97–99
~ tests/docs_contract/test_doc_db_isolation.py .py 1 symbol added, 2 symbols removed, 2 symbols modified
− _SCHEME variable variable _SCHEME L32–32
− scheme import import scheme L25–25
+ _XFAIL_SOURCES variable variable _XFAIL_SOURCES L32–32
~ tests/docs_contract/test_doc_gs.py .py 2 symbols added, 2 symbols modified
+ patch import import patch L15–15
+ settings import import settings L22–22
~ tests/docs_contract/test_doc_inf_scheme.py .py 1 symbol removed, 1 symbol modified
− _HTTP_ON_HTTPS variable variable _HTTP_ON_HTTPS L51–55
~ tests/docs_contract/test_intelligence.py .py 1 symbol added, 1 symbol removed, 1 symbol modified
− test_find_symbol_name_is_documented_as_broken function function test_find_symbol_name_is_documented_as_broken L133–139
+ test_find_symbol_name_matches_and_the_page_says_so function function test_find_symbol_name_matches_and_the_page_says_so L133–138
~ tests/test_musehub_sitemap.py .py 2 symbols added, 1 symbol removed, 1 symbol modified
− test_sitemap_loc_uses_request_host function async_function test_sitemap_loc_uses_request_host L205–214
+ re import import re L24–24
+ test_sitemap_loc_uses_the_public_https_base function async_function test_sitemap_loc_uses_the_public_https_base L207–219
~ tests/test_musehub_ui_repo_home_ssr.py .py 1 symbol added, 1 symbol removed
− test_repo_home_clone_url_uses_request_host function async_function test_repo_home_clone_url_uses_request_host L92–111
+ test_repo_home_clone_url_uses_the_public_https_base function async_function test_repo_home_clone_url_uses_the_public_https_base L92–110

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:c2ee54efa85fcbdeea4ffc84a2dd1b8fcd4623463b22e35765df3013a26834aa --body "your comment"