Repository navigation
feat: PublishingShell edits the open site protocol (#5001) - #5011
Merged
Merged
Conversation
Save http or https on the open site with the existing site PUT, keep cancel and 400/403/409 on the form, and show the stored protocol after reload. > Co-Authored by Grok Build 1.0.41 using unspecified with agent night-issue-prs.
Collaborator
Author
|
Erlang sub-agent LGTM; GitHub cannot record APPROVE on the author login; squash-merging as overnight Erlang. mkd-code-review 0.1.18 (Persona erlang 0.1.1): 0 bugs, 9 files, base origin/main, head HEAD. Checks snapshot: 5 passed, 3 skipped, 0 failed. No unresolved review threads. PublishingShell site-protocol edit is the existing site PUT (
|
6 tasks
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.
Summary
PublishingShell can edit the open site's protocol (
httporhttps) and save it with the existing site update contract (PUT /services/sites/{nameOrId},siteProtocolonly). After reload the workspace shows the saved protocol. Cancel and an unchanged value do not write. HTTP 400, 403, and 409 stay on the form and do not claim success.Parent: #4531. Slice: #5001. No new REST resource.
Operator: Grok: night-issue-prs (model unspecified)
Test plan
SiteProtocolPanelsave, cancel, unchanged, 400/403/409npm run test:surface -- --path tests/publishing/siteProtocol.spec.js— 1 passedproduct-docs/8.2/admin/publishing.mdProduct documentation
product-docs/8.2/admin/publishing.md(Edit the open site protocol)Maven (C3)
cd WebUI && TMPDIR=<worktree>/tmp/mvn MAVEN_OPTS=-Djava.io.tmpdir=... rtk mvn installmvn clean installfailed packaging with/tmpdisk quota before tests finished a later retry; the successful install above included test-compile and the full Vitest/Surefire run. A middleclean installhit an unrelated flakyEditorHostfocus assertion that passed on the successful retry.UI proof (C5)
python3 docker/scripts/perc-devctl.py qa-up→ TEST_CMS_URL=http://127.0.0.1:9993qa-healthRESULT:OK HTTP:200 HEALTH:healthypython3 docker/scripts/perc-devctl.py qa-deploy-webuithenqa-healthagain RESULT:OKnpm run test:surface -- --path tests/publishing/siteProtocol.spec.js— 1 passed (3.1s)qa-downremoved perc-matrix-cms-h2Pre-push local code review
Summary
Machine analysis found 0 finding(s), 0 bug(s).
Scope
Recommendation
approve
Gate
Issues
No issues.
Intent: existing site PUT (
name+siteProtocolonly).SitesAdaptor.applyWritableFieldsleaves omitted description and base URL unchanged. Vitest covers save/reload, cancel, unchanged, and HTTP 400/403/409. Surface Playwright covers cancel, 409, save, and reload. Product docs:product-docs/8.2/admin/publishing.md. No path I/O. No rule-file diffs.Checks snapshot: 5 passed, 3 skipped, 0 failed. No unresolved review threads.
Fixes #5001