Repository navigation
feat(publishing): set one delivery type bean name - #5275
Merged
Merged
Conversation
PublishingShell Design saves a bean name through the existing delivery-type update. Name and description stay. A blank or overlong bean name does not write, and HTTP 400, 403, and 409 leave the previous bean. Fixes #5268 > Co-Authored by Grok Build 1.0.46 using grok-4.6 with agent night-issue-prs.
> Co-Authored by Grok Build 1.0.46 using grok-4.6 with agent night-issue-prs.
This was referenced Oct 6, 2026
Record the independent mkd-code-review advisory result for setting one delivery type bean name. No in-diff bugs. > Co-Authored by Grok Build 1.0.46 using grok-4.6 with agent night-issue-prs-erlang.
Collaborator
Author
|
LGTM. Independent Erlang review of head Full report is in the PR body under Pre-push local code review and in
|
This was referenced Oct 6, 2026
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 Design can set the bean name on one delivery type. Save bean name calls the existing
PUT …/publishingdesign/deliverytypes/{id}with onlybeanName. The visible name and description stay. The list shows the new bean only after the update succeeds.A blank bean name and a bean name longer than 255 characters (
PSX_DELIVERY_TYPE.BEAN_NAME) are rejected before the request. Cancel does not call the server. HTTP 400, 403, and 409 leave the previous bean name in place.Parent: #4531. Fixes #5268.
Operator: Grok: night-issue-prs (model grok-4.6)
Test plan
spa.jsp?entry=publish§ion=design).Checklist
product-docs/8.2/admin/publishing.md(Set a delivery type bean name)deliveryTypeBeanVitest,DeliveryTypesPanel.beanVitest,PSPublishingDesignRestServiceTestbean-only / blank / overlong / 403modules/perc-qa-automation/frontend/tests/publishing/designDeliveryTypeBean.spec.js(2 passed on H2)projects/sitemanage,WebUI, andmodules/perc-qa-automation(no skipTests on those modules)Build evidence
modules_built: projects/sitemanage, WebUI, modules/perc-qa-automation
cd projects/sitemanage && JAVA_HOME=/usr/lib/jvm/java-21-openjdk rtk mvn clean install— BUILD SUCCESS. Tests run: 3627, Failures: 0, Errors: 0, Skipped: 125.cd WebUI && JAVA_HOME=/usr/lib/jvm/java-21-openjdk rtk mvn clean install— BUILD SUCCESS. Java Tests run: 69, Failures: 0. Vitest: Test Files 701 passed, Tests 6461 passed.rtk mvn -pl modules/perc-qa-automation clean install(repo root, JDK 21) — BUILD SUCCESS. No tests to run (Playwright is not bound to default Surefire).PSPublishingDesignRestServiceTestTests run: 124, Failures: 0. Delivery-type Vitest 47 passed.downstream_checked: C2 not applicable —
updateDeliveryTypesignature is unchanged and no type was made final or sealed. LocalrestSNAPSHOT was reinstalled from this branch (rtk mvn -pl rest -DskipTests install) only to replace a newer unrelated snapshot in~/.m2so sitemanage would compile. QA hot-deploy also copied this worktree'sperc-systemjar with sitemanage.UI proof (C5)
python3 docker/scripts/perc-devctl.py qa-up— RESULT:OK. TEST_CMS_URL=http://127.0.0.1:9993. QA_CMS_HOST_PORT=9993. Container perc-matrix-cms-h2.python3 docker/scripts/perc-devctl.py qa-health— RESULT:OK HTTP:200 HEALTH:healthy.python3 docker/scripts/perc-devctl.py qa-deploy-war-jars --restart-jetty— copied sitemanage, rest, and perc-system into the Rhythmyx WAR and restarted Jetty inside the cell (notdocker restart).python3 docker/scripts/perc-devctl.py qa-health— RESULT:OK after Jetty restart (server.log: ServletContextHandler Started, context AVAILABLE).python3 docker/scripts/perc-devctl.py qa-deploy-webuithenqa-health— RESULT:OK HTTP:200 HEALTH:healthy.cd modules/perc-qa-automation/frontend && TEST_CMS_URL=http://127.0.0.1:9993 ADMIN_USERNAME=Admin TEST_DB_TYPE=h2 TEST_PRODUCT=cms rtk npm run test:surface -- --path tests/publishing/designDeliveryTypeBean.spec.js— 2 passed.Pre-push local code review
Independent Erlang review of head
3219cb6015ec6f72c6ebe1a038fcf3f714014b75. Fullmkd-code-review analyze --format markdownstdout:Summary
Machine analysis found 3 finding(s), 0 bug(s).
Scope
Recommendation
approve
Gate
Issues
Issue 1 -- Severity: bug
complexity.cognitivearborist-metricsDeliveryTypesPanelcognitive=44 (max 15), cyclomatic=45 (max 15)Issue 2 -- Severity: suggestion
complexity.cognitivearborist-metricsupdateDeliveryTypecognitive=20 (max 15), cyclomatic=16 (max 15)Issue 3 -- Severity: suggestion
File: review
Rule:
llm.errorTool:
llmDescription: model
ollama-dev-coderfailed: http: status 500 Internal Server Error body {"error":{"message":"llama-server process has terminated: exit status 1: cudaMalloc failed: out of memory\nalloc_tensor_range: failed to allocate CUDA0 buffer of size 5064192000\nerror loading model: unable to allocate CUDA0 buffer","type":"api_error","param":null,"code":null}}Status: open
Independent read of
updateDeliveryTypeand the bean form. A nullbeanNameis still omitted, so a name-only or description-only update does not clear the stored bean. A blank or overlong bean is rejected before name, bean, or description is written. The panel does not replace the list when client validation fails or the PUT fails. Preexisting cognitive-complexity rows onDeliveryTypesPanelandupdateDeliveryTypeare outside this diff and do not block. Vitest, the service test, Playwright, andproduct-docs/8.2/admin/publishing.mdare present. Ollama failed to load (CUDA out of memory); machine findings were kept.Report:
docs/ai-generated/code-reviews/pr-5275-erlang.md.