From 6e6f0628f9830bce122590e6933b4e61e2c8a325 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 15:35:19 +0000 Subject: [PATCH 1/5] Bump the pip group across 1 directory with 2 updates Bumps the pip group with 2 updates in the /src directory: [python-multipart](https://github.com/Kludex/python-multipart) and [orjson](https://github.com/ijl/orjson). Updates `python-multipart` from 0.0.12 to 0.0.22 - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.12...0.0.22) Updates `orjson` from 3.10.7 to 3.11.6 - [Release notes](https://github.com/ijl/orjson/releases) - [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md) - [Commits](https://github.com/ijl/orjson/compare/3.10.7...3.11.6) --- updated-dependencies: - dependency-name: python-multipart dependency-version: 0.0.22 dependency-type: direct:production dependency-group: pip - dependency-name: orjson dependency-version: 3.11.6 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] --- src/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/requirements.txt b/src/requirements.txt index e6c378e..f34ee22 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -13,7 +13,7 @@ fastapi==0.115.0 uvicorn[standard]==0.32.0 websockets==13.1 jinja2==3.1.6 -python-multipart==0.0.12 -orjson==3.10.7 +python-multipart==0.0.22 +orjson==3.11.6 pydantic==2.9.2 Pillow>=10.4.0 From 18ce2089ebabf613383285fb656c8e7e8087d01e Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Fri, 13 Mar 2026 16:52:54 -0600 Subject: [PATCH 2/5] Fix formatting issues in README disclaimer section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f52565..96e6ffa 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Last updated: 2026-02-02 ---------- > [!IMPORTANT] -> Disclaimer: This repository contains a demo of `Zava AI Shopping Assistant`, a multi-agent system implementing Agent-to-Agent (A2A) protocol for e-commerce. It features a fully automated `"Zero-Touch" deployment` pipeline orchestrated by Terraform, which `provisions infrastructure, ingests data, creates specialized AI agents with delegation patterns in MSFT Foundry, and deploys the complete A2A application stack.` Feel free to modify this as needed, it's just a reference. Please refer [TechWorkshop L300: AI Apps and Agents](https://microsoft.github.io/TechWorkshop-L300-AI-Apps-and-agents/), and if needed contact Microsoft directly: [Microsoft Sales and Support](https://support.microsoft.com/contactus?ContactUsExperienceEntryPointAssetId=S.HP.SMC-HOME) for more guidance. There are tons of free resources out there, all eager to support! +> Disclaimer: This repository contains a demo of `Zava AI Shopping Assistant`, a multi-agent system implementing Agent-to-Agent (A2A) protocol for e-commerce. It features a fully automated `"Zero-Touch" deployment` pipeline orchestrated by Terraform, which `provisions infrastructure, ingests data, creates specialized AI agents with delegation patterns in MSFT Foundry, and deploys the complete A2A application stack.` Feel free to modify this as needed, it's just a reference. Please refer [TechWorkshop L300: AI Apps and Agents](https://microsoft.github.io/TechWorkshop-L300-AI-Apps-and-agents/), and if needed contact Microsoft directly: [Microsoft Sales and Support](https://support.microsoft.com/contactus?ContactUsExperienceEntryPointAssetId=S.HP.SMC-HOME) for more guidance. There are tons of free resources out there, all eager to support!
List of References (Click to expand) From 7b740055945ca6e9dc5db73a1a467bb26e6dd200 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Mar 2026 22:53:08 +0000 Subject: [PATCH 3/5] Update last modified date in Markdown files --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96e6ffa..94ea9f2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Costa Rica [![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) [brown9804](https://github.com/brown9804) -Last updated: 2026-02-02 +Last updated: 2026-03-13 ---------- From f05464db8b2ecfc29652c22cb4470e73271af8fa Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Fri, 13 Mar 2026 16:59:14 -0600 Subject: [PATCH 4/5] Refactor visitor counter GitHub Actions workflow Refactor GitHub Actions workflow for visitor counter. Improved checkout process, added concurrency control, and streamlined commit logic. --- .github/workflows/use-visitor-counter.yml | 75 +++++++++++------------ 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/.github/workflows/use-visitor-counter.yml b/.github/workflows/use-visitor-counter.yml index e7f7ca2..7c8d61d 100644 --- a/.github/workflows/use-visitor-counter.yml +++ b/.github/workflows/use-visitor-counter.yml @@ -2,25 +2,47 @@ name: Use Visitor Counter Logic on: pull_request: - branches: - - main - workflow_dispatch: # Allows manual triggering + branches: [main] + workflow_dispatch: # schedule: # - cron: '0 0 * * *' # Runs daily at midnight - + permissions: contents: write pull-requests: write +# Prevent parallel runs from racing on the same branch +concurrency: + group: visitor-counter-${{ github.repository }}-${{ github.event.pull_request.head.ref || github.ref_name }} + cancel-in-progress: true + jobs: update-visitor-count: runs-on: ubuntu-latest steps: - - name: Checkout current repository + # Checkout the *actual branch* we intend to push to + # (avoids being on refs/pull//merge and needing a later checkout) + - name: Checkout target branch uses: actions/checkout@v4 with: fetch-depth: 0 + clean: true + persist-credentials: false + ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref_name }} + + - name: Configure Git author + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + # Optional but recommended: sync before generating changes (no checkout later) + - name: Sync branch with origin + env: + TARGET_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref_name }} + run: | + git fetch origin "$TARGET_REF" + git pull --no-rebase --no-edit origin "$TARGET_REF" || true - name: Shallow clone visitor counter logic run: git clone --depth=1 https://github.com/brown9804/github-visitor-counter.git @@ -28,7 +50,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: "20" - name: Install dependencies for github-visitor-counter run: | @@ -44,43 +66,20 @@ jobs: - name: Move generated metrics.json to root run: mv github-visitor-counter/metrics.json . - - name: List files for debugging - run: | - ls -l - ls -l github-visitor-counter - - name: Clean up visitor counter logic run: rm -rf github-visitor-counter - - name: Configure Git author - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" - - # Commit and push logic for PR events (merge, not rebase) - - name: Commit and push changes (PR) - if: github.event_name == 'pull_request' + - name: Commit and push (only if changed) env: TOKEN: ${{ secrets.GITHUB_TOKEN }} + TARGET_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref_name }} run: | - git fetch origin - git checkout ${{ github.head_ref }} - git pull origin ${{ github.head_ref }} || echo "No merge needed" - git add -A - git commit -m "Update visitor count" || echo "No changes to commit" - git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }} - git push origin HEAD:${{ github.head_ref }} + if [ -z "$(git status --porcelain)" ]; then + echo "No changes to commit" + exit 0 + fi - # Commit and push logic for non-PR events (merge, not rebase) - - name: Commit and push changes (non-PR) - if: github.event_name != 'pull_request' - env: - TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git fetch origin - git checkout ${{ github.ref_name }} || git checkout -b ${{ github.ref_name }} origin/${{ github.ref_name }} - git pull origin ${{ github.ref_name }} || echo "No merge needed" git add -A - git commit -m "Update visitor count" || echo "No changes to commit" - git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }} - git push origin HEAD:${{ github.ref_name }} + git commit -m "Update visitor count" + + git push "https://x-access-token:${TOKEN}@github.com/${{ github.repository }}" "HEAD:${TARGET_REF}" From 9d777866e06271326bd5f660536c4ecdab5e13f2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Mar 2026 22:59:28 +0000 Subject: [PATCH 5/5] Update visitor count --- README.md | 4 ++-- TROUBLESHOOTING.md | 4 ++-- terraform-infrastructure/README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 94ea9f2..bb14071 100644 --- a/README.md +++ b/README.md @@ -229,7 +229,7 @@ graph TD
- Total views -

Refresh Date: 2026-02-02

+ Total views +

Refresh Date: 2026-03-13

diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 4f09a20..011cb6c 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -353,7 +353,7 @@ terraform apply
- Total views -

Refresh Date: 2026-02-02

+ Total views +

Refresh Date: 2026-03-13

diff --git a/terraform-infrastructure/README.md b/terraform-infrastructure/README.md index 91d6cc4..fca9bc0 100644 --- a/terraform-infrastructure/README.md +++ b/terraform-infrastructure/README.md @@ -127,7 +127,7 @@ graph TD;
- Total views -

Refresh Date: 2026-02-02

+ Total views +

Refresh Date: 2026-03-13