feat: Content Processing V2 Release#498
Merged
aniaroramsft merged 66 commits intomainfrom Mar 31, 2026
Merged
Conversation
…dded .git directories from ContentProcessor, ContentProcessorWeb, ContentProcessorWorkflow
Removed 'Sensitive personal data' from the prompt.
fix:Update AI tags in UI
#36633:Update the dark mode on middle panel
…ntentProcessorWeb documentation - Deleted multiple versions of property claim forms (ClaimForm_3.pdf to ClaimForm_7.pdf) and a handwritten claim form (claimform_handwritten_1.pdf). - Removed invoice schema (invoice.py) and property claim schema (propertyclaim.py) as they are no longer needed. - Cleared out the README.md file in ContentProcessorWeb for better clarity and maintenance. - Updated .dockerignore to exclude unnecessary files and directories from the Docker build context.
…mos DB and Blob defaults
… output) and fix table rendering in ConfigureAppAuthentication
update Transparency faq per guidelines
- Add ContentProcessService for direct Azure resource access - Fix queue message race condition: cancel renew task before delete - Fix Cosmos insert ordering: create record before enqueuing - Fix datetime serialization in gap_executor (default=str) - Add interim status propagation via on_status_change callback - Enable parallel document submission with asyncio.to_thread - Add upsert_lock to prevent concurrent Cosmos write races - Fix credential leak: replace config print with safe logger - Fix queue client resource leak in close() - ContentProcessor: write step status before execution for real-time UI - Add unit tests for content_process_models and content_process_service - Code quality: remove banner comments, dead code, debug prints
chore: Merge latest changes
chore: Down merge from cps-v2 dev
fix: Set env for not prompting in codespace
feat: Merge cps-v2-dev in v1-DEV
feat: CPS V2 changes to dev
fix: replace corepack with npm install for pnpm and fix HOME for pnpm in Codespaces
fix: Code space Bug fixes for CPS V2
| import React from "react"; | ||
| import { useNavigate, useLocation } from "react-router-dom"; | ||
| import { Header } from "../../Hooks/useHeaderHooks.tsx"; | ||
| import { useHeaderHooks, Header } from "../../Hooks/useHeaderHooks"; |
| * @file Tests for useFileType — MIME type resolution based on file extension. | ||
| */ | ||
|
|
||
| import { renderHook, act } from '@testing-library/react'; |
| import { bundleIcon, ChevronDoubleLeft20Filled, ChevronDoubleLeft20Regular } from "@fluentui/react-icons"; | ||
| import { Button } from "@fluentui/react-components"; | ||
| import { fetchContentFileData } from '../../store/slices/rightPanelSlice'; | ||
| import { updatePanelCollapse } from "../../store/slices/defaultPageSlice"; |
Comment on lines
+29
to
+38
| import { | ||
| saveContentJson, | ||
| fetchProcessSteps, | ||
| setUpdateComments, | ||
| fetchClaimDetails, | ||
| saveClaimComment, | ||
| fetchContentJsonData, | ||
| setActiveProcessId, | ||
| setModifiedResult, | ||
| } from '../../store/slices/centerPanelSlice'; |
| }); | ||
|
|
||
| it('should set cError and clear contentData on rejected', () => { | ||
| const error = new Error('Server error'); |
| }; | ||
| const isSchemaSelectedOptionEmpty = !store.schemaSelectedOption || Object.keys(store.schemaSelectedOption).length === 0; | ||
| setFileSchemas({}); | ||
| } |
| ): | ||
| logging.getLogger(logger_name).setLevel(azure_level) | ||
|
|
||
| self.initialize() |
| # The @handler decorator in agent_framework validates type annotations at | ||
| # import time, which fails in the test environment. Patch it to a no-op | ||
| # before importing the executor module. | ||
| _orig_handler = sys.modules.get("agent_framework", MagicMock()).handler # type: ignore[union-attr] |
| except Exception as e: | ||
| workflow_error = e | ||
| finally: | ||
| claim_processor = None |
| if callable(close): | ||
| try: | ||
| await close() | ||
| except Exception: |
| if callable(close): | ||
| try: | ||
| await close() | ||
| except Exception: |
| if callable(close): | ||
| try: | ||
| await close() | ||
| except Exception: |
| if callable(close): | ||
| try: | ||
| await close() | ||
| except Exception: |
| ) | ||
| try: | ||
| claim_processor.delete_claim_container(claim_id=claim_id) | ||
| except Exception: |
| container_client.delete_blob(blob_name) | ||
| try: | ||
| container_client.delete_blob(blob_name) | ||
| except Exception: |
| ra = _parse_retry_after_seconds(result.headers) | ||
| if ra is not None: | ||
| return min(max(ra, self._min), self._max) | ||
| except Exception: |
Prajwal-Microsoft
approved these changes
Mar 31, 2026
aniaroramsft
approved these changes
Mar 31, 2026
|
🎉 This PR is included in version 1.12.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Purpose
Releasing a new version of Content Processing
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information