test(opus48): agentic review @beta.15 — us.anthropic.claude-opus-4-8#22
Closed
wezell wants to merge 1 commit into
Closed
test(opus48): agentic review @beta.15 — us.anthropic.claude-opus-4-8#22wezell wants to merge 1 commit into
wezell wants to merge 1 commit into
Conversation
dotCMS#36279) Content Drive's upload dialog lets users pick Asset vs File, which are semantically base types. Previously only DOTASSET could be resolved from a base type on the backend, so firing the NEW workflow action with baseType: FILEASSET failed with "content type or base type is not set or is invalid". This adds the missing FILEASSET resolution and switches the frontend to send the base type. Backend: - Extract the dotAsset mime-matching algorithm into a reusable BaseTypeMimeTypeMatcher (parameterized by base type + binary field var); DotAssetAPIImpl.tryMatch now delegates to it (DOTASSET behavior unchanged). - Move DotAssetBaseTypeToContentTypeStrategyImpl out of the resolver into its own class and add FileAssetBaseTypeToContentTypeStrategyImpl, which mime-matches FILEASSET content types and falls back to the default FileAsset. - Register both strategies; fix BaseTypeToContentTypeStrategyResolver.subscribe which ignored its baseContentType arg and always registered under DOTASSET. Frontend: - Revert uploadDotAsset to its original 2-arg form; add uploadFileByBaseType (DotUploadFileService) and newContentletByBaseType (DotWorkflowActionsFireService) which send baseType instead of contentType. - Content Drive now emits DOTASSET/FILEASSET and routes uploads through the new method; root-level uploads carry the current site identifier so they land on the browsed site, not the default host. Tests: resolver unit test (subscribe regression + FILEASSET registration), FileAsset strategy integration test, and frontend specs for the new methods, base-type selection, and current-site root upload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🤖 dotBot Review (Bedrock)Reviewed 18 file(s); 12 candidate(s) → 0 confirmed, 4 uncertain (unverified, kept for review).
🔎 Uncertain (could not confirm or disprove — review manually)
us.anthropic.claude-opus-4-8 · Run: #28255178592 · tokens: in: 255388 · out: 10563 · total: 265951 · calls: 66 · est. ~$4.623 |
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.
Clean single-model e2e at @v3.3.0-beta.15. Model:
us.anthropic.claude-opus-4-8— bedrock-harness (direct). Reviewed diff = only the dotCMS#36317 change. Throwaway.