Skip to content

Commit 2405fad

Browse files
Merge remote-tracking branch 'origin/dev' into dependabotchanges
2 parents bf1c46d + 78e5d92 commit 2405fad

508 files changed

Lines changed: 79983 additions & 3044 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM mcr.microsoft.com/devcontainers/python:3.11-bullseye
2+
3+
# Remove Yarn repository to avoid GPG key expiration issue
4+
RUN rm -f /etc/apt/sources.list.d/yarn.list

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"name": "azd-template",
3-
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
4-
"forwardPorts": [50505],
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"forwardPorts": [3000, 5000],
57
"features": {
68
"ghcr.io/devcontainers/features/node:1": {
79
"nodeGypDependencies": true,

.devcontainer/setup_env.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22

33
git fetch
44
git pull
5-
6-
# provide execute permission to quotacheck script
7-
sudo chmod +x ./scripts/quota_check_params.sh

.flake8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[flake8]
22
max-line-length = 88
33
extend-ignore = E501
4-
exclude = venv, frontend
5-
ignore = E203, W503
4+
exclude = .venv, frontend
5+
ignore = E203, W503, G004, G200

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,39 @@ assignees: ''
77

88
---
99

10-
**Describe the bug**
10+
# Describe the bug
1111
A clear and concise description of what the bug is.
1212

13-
**To Reproduce**
13+
# Expected behavior
14+
A clear and concise description of what you expected to happen.
15+
16+
# How does this bug make you feel?
17+
_Share a gif from [giphy](https://giphy.com/) to tells us how you'd feel_
18+
19+
---
20+
21+
# Debugging information
22+
23+
## Steps to reproduce
1424
Steps to reproduce the behavior:
1525
1. Go to '...'
1626
2. Click on '....'
1727
3. Scroll down to '....'
1828
4. See error
1929

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
22-
23-
**Screenshots**
30+
## Screenshots
2431
If applicable, add screenshots to help explain your problem.
2532

26-
**Configuration: Please provide the following**
27-
- Azure OpenAI model name and version (e.g. 'gpt-35-turbo-16k, version 0613')
28-
- Is chat history enabled?
29-
- Are you using data? If so, what data source? (e.g. Azure AI Search, Azure CosmosDB Mongo vCore, etc)
33+
## Logs
34+
35+
If applicable, add logs to help the engineer debug the problem.
36+
37+
---
38+
39+
# Tasks
40+
41+
_To be filled in by the engineer picking up the issue_
3042

31-
**Additional context**
32-
Add any other context about the problem here.
43+
- [ ] Task 1
44+
- [ ] Task 2
45+
- [ ] ...

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,26 @@ assignees: ''
77

88
---
99

10-
**Is your feature request related to this sample app, or to an Azure service, such as Azure OpenAI or Azure AI Search?**
11-
Describe the scope of your request. This forum is focused on features relating to this sample app and its functionality, not the functionality of underlying Azure services.
10+
# Motivation
1211

13-
**Is your feature request related to a problem? Please describe.**
14-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
A clear and concise description of why this feature would be useful and the value it would bring.
13+
Explain any alternatives considered and why they are not sufficient.
1514

16-
**Describe the solution you'd like**
17-
A clear and concise description of what you want to happen.
15+
# How would you feel if this feature request was implemented?
1816

19-
**Is this feature specific to your use case or your organization, or would it apply broadly across other uses of this app?**
20-
Describe how you and others might leverage this feature.
17+
_Share a gif from [giphy](https://giphy.com/) to tells us how you'd feel. Format: ![alt_text](https://media.giphy.com/media/xxx/giphy.gif)_
2118

22-
**Describe alternatives you've considered**
23-
A clear and concise description of any alternative solutions or features you've considered.
19+
# Requirements
2420

25-
**Additional context**
26-
Add any other context or screenshots about the feature request here.
21+
A list of requirements to consider this feature delivered
22+
- Requirement 1
23+
- Requirement 2
24+
- ...
25+
26+
# Tasks
27+
28+
_To be filled in by the engineer picking up the issue_
29+
30+
- [ ] Task 1
31+
- [ ] Task 2
32+
- [ ] ...

.github/ISSUE_TEMPLATE/subtask.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ _To be filled in by the engineer picking up the subtask
1919

2020
- [ ] Task 1
2121
- [ ] Task 2
22-
- [ ] ...
22+
- [ ] ...

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## Purpose
2+
<!-- Describe the intention of the changes being proposed. What problem does it solve or functionality does it add? -->
3+
* ...
4+
5+
## Does this introduce a breaking change?
6+
<!-- Mark one with an "x". -->
7+
8+
- [ ] Yes
9+
- [ ] No
10+
11+
<!-- Please prefix your PR title with one of the following:
12+
* `feat`: A new feature
13+
* `fix`: A bug fix
14+
* `docs`: Documentation only changes
15+
* `style`: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
16+
* `refactor`: A code change that neither fixes a bug nor adds a feature
17+
* `perf`: A code change that improves performance
18+
* `test`: Adding missing tests or correcting existing tests
19+
* `build`: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
20+
* `ci`: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
21+
* `chore`: Other changes that don't modify src or test files
22+
* `revert`: Reverts a previous commit
23+
* !: A breaking change is indicated with a `!` after the listed prefixes above, e.g. `feat!`, `fix!`, `refactor!`, etc.
24+
-->
25+
26+
## Golden Path Validation
27+
- [ ] I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.
28+
29+
## Deployment Validation
30+
- [ ] I have validated the deployment process successfully and all services are running as expected with this change.
31+
32+
## What to Check
33+
Verify that the following are valid
34+
* ...
35+
36+
## Other Information
37+
38+
<!-- Add any other helpful information that may be needed here. -->

.github/dependabot.yml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,49 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
7-
2+
83
updates:
9-
# 1) All frontend (npm) deps in ONE PR
10-
- package-ecosystem: "npm"
11-
directory: "/src/frontend"
4+
# GitHub Actions - grouped
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
127
schedule:
13-
interval: "monthly"
8+
interval: "monthly"
149
target-branch: "dependabotchanges"
15-
open-pull-requests-limit: 10
1610
commit-message:
17-
prefix: "build(deps)"
18-
11+
prefix: "build"
12+
open-pull-requests-limit: 10
1913
groups:
20-
all-frontend-deps:
14+
github-actions:
2115
patterns:
22-
- "*"
23-
24-
25-
# 2) All backend (pip) deps in ONE PR
16+
- "*"
17+
18+
# Python (pip) dependencies - grouped
2619
- package-ecosystem: "pip"
27-
directory: "/src"
20+
directories:
21+
- "/content-gen/src/backend"
22+
- "/content-gen/infra/vscode_web"
23+
- "/content-gen/scripts"
2824
schedule:
2925
interval: "monthly"
3026
target-branch: "dependabotchanges"
31-
open-pull-requests-limit: 10
3227
commit-message:
33-
prefix: "build(deps)"
28+
prefix: "build"
29+
open-pull-requests-limit: 10
3430
groups:
35-
all-backend-deps:
31+
python-deps:
3632
patterns:
37-
- "*"
38-
39-
# 3) All GitHub Actions in ONE PR
40-
- package-ecosystem: "github-actions"
41-
directory: "/"
33+
- "*"
34+
35+
# npm dependencies - grouped
36+
- package-ecosystem: "npm"
37+
directories:
38+
- "/content-gen/src/app/frontend"
39+
- "/content-gen/src/app/frontend-server"
4240
schedule:
4341
interval: "monthly"
4442
target-branch: "dependabotchanges"
45-
open-pull-requests-limit: 10
4643
commit-message:
47-
prefix: "build(deps)"
44+
prefix: "build"
45+
open-pull-requests-limit: 10
4846
groups:
49-
all-actions:
47+
npm-deps:
5048
patterns:
51-
- "*"
52-
49+
- "*"

.github/workflows/azure-dev.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Azure Template Validation
22
on:
3-
workflow_dispatch:
3+
workflow_dispatch:
44

55
permissions:
66
contents: read
@@ -15,20 +15,21 @@ jobs:
1515
steps:
1616
# Step 1: Checkout the code from your repository
1717
- name: Checkout code
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@v4
1919

2020
# Step 2: Validate the Azure template using microsoft/template-validation-action
2121
- name: Validate Azure Template
22-
uses: microsoft/template-validation-action@v0.4.4
22+
uses: microsoft/template-validation-action@v0.4.3
2323
id: validation
24+
with:
25+
workingDirectory: ./content-gen
2426
env:
2527
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
2628
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
2729
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
2830
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
2931
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
3032
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
AZURE_DEV_COLLECT_TELEMETRY: ${{ vars.AZURE_DEV_COLLECT_TELEMETRY }}
3233

3334
# Step 3: Print the result of the validation
3435
- name: Print result

0 commit comments

Comments
 (0)