Skip to content

chore: sync demo into main (replaces PR #259, main content wins, zero file diff)#260

Closed
Shreyas-Microsoft wants to merge 9 commits into
mainfrom
chore/sync-demo-into-main-pr259
Closed

chore: sync demo into main (replaces PR #259, main content wins, zero file diff)#260
Shreyas-Microsoft wants to merge 9 commits into
mainfrom
chore/sync-demo-into-main-pr259

Conversation

@Shreyas-Microsoft
Copy link
Copy Markdown
Collaborator

@Shreyas-Microsoft Shreyas-Microsoft commented May 26, 2026

Purpose

  • Companion / replacement for chore: Main merge to Demo #259 (main → demo), which has merge conflicts. Because main is protected and cannot be pushed to directly, this PR follows the requested workflow: branch from main, merge demo into it (resolving all conflicts with main winning so no demo content is actually introduced), and open the PR in the reverse direction (branch → main) so the change goes through normal review/CI.
  • After this PR merges to main, PR chore: Main merge to Demo #259 (main → demo) will be conflict-free because main will fully contain demos history (demo is recorded as a second parent of the merge commit).
  • The 8 demo-only commits touch only 3 files: src/processor/Dockerfile (pure CRLF/LF flip) and src/backend-api/uv.lock + src/processor/uv.lock (lockfiles that must stay in sync with the current pyproject.toml). All three were reset to mains versions during the merge per the "main wins" policy, so this PR has 0 file changes — the merge commits tree is identical to main at the time of branching. The only purpose of this PR is to record demo as a merge parent of main so chore: Main merge to Demo #259 stops conflicting.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • Files changed on this PR is empty (no file diff against main).
  • The merge commit (2743196) has both main (2870a21) and demo (082bf29) as parents (git log --merges --pretty='%h %p %s' -1).
  • After merging this PR, PR chore: Main merge to Demo #259 (main → demo) reports MERGEABLE again (or can be closed as superseded).

Other Information

This PR intentionally introduces no code or config changes; it exists purely to merge demo into main so the two branches share history again. If a merge with no file changes is undesirable in the repo policy, an alternative is to close #259 and recreate the demo branch from main instead.

Roopan-Microsoft and others added 9 commits March 27, 2026 18:49
Downmerge main into demo via psl-downmerge-main-to-demo.
Resolved src/processor/uv.lock by regenerating with `uv lock`
(both branches independently regenerated the lockfile after
adding the same azure-cosmos==4.15.0 dependency).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread src/frontend/src/pages/batchView.tsx Outdated

// Show the summary page when summary is selected
if (selectedFile.id === "summary") {
if (selectedFile.id === "summary" && batchSummary) {
@github-actions
Copy link
Copy Markdown

Coverage

Processor Coverage Report •
FileStmtsMissCoverMissing
TOTAL572772087% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
812 0 💤 0 ❌ 0 🔥 20.024s ⏱️

@github-actions
Copy link
Copy Markdown

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL309720893% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
588 0 💤 0 ❌ 0 🔥 22.873s ⏱️

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs demo branch history into main (as a replacement for #259 with conflicts resolved under the “main wins” policy) while also applying a small set of fixes previously raised in Copilot review, spanning infra parameters, CI coverage path rewriting, and minor frontend safety/lint cleanup.

Changes:

  • Fix ARM/Bicep parameter type mismatch by setting tags parameter values to an object ({}) instead of an unresolved string placeholder.
  • Adjust GitHub Actions coverage XML filename rewriting to avoid double-prefixing paths for backend-api and processor coverage reports.
  • Frontend cleanup: remove an unused import and add a guard to avoid accessing summary fields when summary data is not available.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/frontend/src/pages/batchView.tsx Adds an additional guard on the summary render path to avoid null access during render.
src/frontend/src/components/bottomBar.tsx Removes an unused useNavigate import to satisfy linting.
infra/main.parameters.json Sets tags.value to {} to match the Bicep tags object type.
infra/main.waf.parameters.json Sets tags.value to {} to match the Bicep tags object type.
.github/workflows/test.yml Fixes coverage XML filename prefixing logic to prevent duplicated path segments in reports.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Shreyas-Microsoft Shreyas-Microsoft force-pushed the chore/sync-demo-into-main-pr259 branch from d76e4ea to 2743196 Compare May 26, 2026 09:41
@Shreyas-Microsoft Shreyas-Microsoft changed the title chore: sync demo into main (replaces PR #259 with conflicts resolved + Copilot fixes) chore: sync demo into main (replaces PR #259, main content wins, zero file diff) May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants