Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
10dd6ec
feat: add workflow to validate hosted agent samples with Docker build
huimiu Mar 6, 2026
538e17f
feat: add README for hosted agent samples and update workflow trigger…
huimiu Mar 6, 2026
4c7bd20
feat: add validation workflow and email notification for hosted agent…
huimiu Mar 6, 2026
8ae0438
test: failure validation
huimiu Mar 6, 2026
451814a
feat: add container smoke test to validate sample agent functionality
huimiu Mar 6, 2026
8da7b62
test: failure test
huimiu Mar 6, 2026
b1d9534
feat: enhance email notification for hosted agent sample validation w…
huimiu Mar 6, 2026
4254e87
fix: remove path restriction for push events in validation workflow
huimiu Mar 6, 2026
497adf4
feat: add GitHub Actions workflow for sample validation with Docker c…
huimiu Mar 6, 2026
942a1a6
fix: update email subject for hosted agent sample validation notifica…
huimiu Mar 6, 2026
e2c02f0
feat: add workflow and script for syncing Agent Framework samples
huimiu Mar 7, 2026
d13ef7a
fix: update script path for syncing tracked sample files
huimiu Mar 7, 2026
395446d
fix: update sync script path to use temporary directory
huimiu Mar 7, 2026
763541e
fix: update REPO_ROOT environment variable handling and enhance sampl…
huimiu Mar 7, 2026
e395c97
fix: update ManagedIdentityCredential options and upgrade target fram…
huimiu Mar 9, 2026
a79e6f0
feat: implement merging of .csproj content to preserve local changes …
huimiu Mar 9, 2026
165f101
feat: add dynamic PR branch name generation for sync workflow
huimiu Mar 9, 2026
3a109e4
fix: update file patterns for sample change detection in sync workflow
huimiu Mar 9, 2026
5d6cc3e
feat: add GITHUB_TOKEN handling for authentication in sync script
huimiu Mar 9, 2026
d786b56
feat: add workflow for syncing dev to main while preserving version-m…
huimiu Apr 3, 2026
c5d6808
feat: add push trigger for sync workflow on hui/sync-sample branch
huimiu Apr 3, 2026
aea7268
fix: remove redundant error handling in PR creation body for sync wor…
huimiu Apr 3, 2026
8907578
fix: update PR body for automated sync to include review reminder
huimiu Apr 3, 2026
160fd6a
feat: enhance sync workflow to check for changes before PR creation a…
huimiu Apr 3, 2026
c094818
fix: simplify closing previous sync PRs by removing branch name from …
huimiu Apr 3, 2026
8cce7cb
feat: add workflow to sync main branch to dev with automated PR creation
huimiu Apr 3, 2026
cdb1664
fix: update PR titles for sync workflows to use 'ci' prefix
huimiu Apr 3, 2026
ba1de57
Merge branch 'main' into hui/sync-sample
huimiu Apr 3, 2026
72e0d37
Merge branch 'main' into hui/sync-sample
huimiu Apr 3, 2026
8197a33
fix: update target framework and configuration package versions to al…
huimiu Apr 3, 2026
2a7310b
Merge branch 'main' into hui/validation-ci
huimiu Apr 3, 2026
fe85572
fix: update CMD in Dockerfile to use main.py instead of main2.py
huimiu Apr 3, 2026
768e82c
feat: add GitHub Actions workflow to validate hosted agent samples
huimiu Apr 3, 2026
0a4dba1
fix: enhance validation job naming and output structure in CI workflow
huimiu Apr 3, 2026
c6036cf
fix: update validation job name format for consistency
huimiu Apr 3, 2026
969696a
fix: enhance email template and CI workflow for hosted agent sample v…
huimiu Apr 3, 2026
ce76397
fix: remove background color from validation failure email template
huimiu Apr 3, 2026
8a17dff
fix: add branch column to validation results table in email template
huimiu Apr 3, 2026
7a60483
Merge branch 'hui/validation-ci' into hui/sync-sample
huimiu Apr 3, 2026
caeb26a
feat: add workflows for syncing samples between branches
huimiu Apr 3, 2026
c223de1
Potential fix for code scanning alert no. 2: Workflow does not contai…
huimiu Apr 7, 2026
197ed07
fix: remove push triggers for sync workflows to streamline execution
huimiu Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
332 changes: 332 additions & 0 deletions .github/email-templates/validate-samples-failure.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,332 @@
<!doctype html>
<html lang="en">
<body
style="
margin: 0;
padding: 0;
font-family:
-apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica,
Arial, sans-serif;
"
>
<!-- Wrapper -->
<table
width="100%"
cellpadding="0"
cellspacing="0"
style="padding: 32px 16px"
>
<tr>
<td align="center">
<!-- Card -->
<table
width="600"
cellpadding="0"
cellspacing="0"
style="
background-color: #ffffff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
"
>
<!-- Status bar -->
<tr>
<td
style="background-color:${EMAIL_HEADER_COLOR};padding:4px 0;font-size:0;"
>
&nbsp;
</td>
</tr>

<!-- Header -->
<tr>
<td style="padding: 28px 32px 20px">
<p
style="
margin: 0 0 8px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #888888;
"
>
GitHub Actions
</p>
<h1
style="
margin: 0 0 12px;
font-size: 22px;
font-weight: 700;
color: #111111;
line-height: 1.3;
"
>
Hosted Agent Sample Validation
</h1>
<!-- Status badge -->
<span
style="display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;letter-spacing:0.04em;background-color:${EMAIL_HEADER_COLOR};color:#ffffff;"
>${EMAIL_OVERALL}</span
>
<span style="margin-left: 12px; font-size: 14px; color: #555555"
>${EMAIL_PASSED}&thinsp;/&thinsp;${EMAIL_TOTAL} samples
passed</span
>
</td>
</tr>

<!-- Divider -->
<tr>
<td style="padding: 0 32px">
<div style="height: 1px; background-color: #f0f0f0"></div>
</td>
</tr>

<!-- Results table -->
<tr>
<td style="padding: 20px 32px 8px">
<p
style="
margin: 0 0 12px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #888888;
"
>
Sample Results
</p>
<table
width="100%"
cellpadding="0"
cellspacing="0"
style="border-collapse: collapse"
>
<thead>
<tr style="background-color: #fafafa">
<th
style="
padding: 8px 12px;
text-align: left;
font-size: 12px;
font-weight: 600;
color: #555555;
border-bottom: 1px solid #eeeeee;
width: 110px;
border-right: 2px solid #eeeeee;
"
>
Branch
</th>
<th
style="
padding: 8px 12px;
text-align: left;
font-size: 12px;
font-weight: 600;
color: #555555;
border-bottom: 1px solid #eeeeee;
"
>
Sample
</th>
<th
style="
padding: 8px 12px;
text-align: left;
font-size: 12px;
font-weight: 600;
color: #555555;
border-bottom: 1px solid #eeeeee;
width: 100px;
"
>
Result
</th>
</tr>
</thead>
<tbody>
${EMAIL_ROWS}
</tbody>
</table>
</td>
</tr>

<!-- Divider -->
<tr>
<td style="padding: 16px 32px 0">
<div style="height: 1px; background-color: #f0f0f0"></div>
</td>
</tr>

<!-- Run details -->
<tr>
<td style="padding: 20px 32px 8px">
<p
style="
margin: 0 0 12px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #888888;
"
>
Run Details
</p>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td
style="
padding: 5px 0;
font-size: 13px;
color: #888888;
width: 120px;
vertical-align: top;
"
>
Workflow
</td>
<td style="padding: 5px 0; font-size: 13px; color: #111111">
${EMAIL_WORKFLOW}
</td>
</tr>
<tr>
<td
style="
padding: 5px 0;
font-size: 13px;
color: #888888;
vertical-align: top;
"
>
Branch
</td>
<td style="padding: 5px 0; font-size: 13px; color: #111111">
<code
style="
background: #f5f5f5;
padding: 1px 6px;
border-radius: 4px;
font-size: 12px;
"
>${EMAIL_BRANCH}</code
>
</td>
</tr>
<tr>
<td
style="
padding: 5px 0;
font-size: 13px;
color: #888888;
vertical-align: top;
"
>
Commit
</td>
<td style="padding: 5px 0; font-size: 13px; color: #111111">
<code
style="
background: #f5f5f5;
padding: 1px 6px;
border-radius: 4px;
font-size: 12px;
"
>${EMAIL_COMMIT}</code
>
</td>
</tr>
<tr>
<td
style="
padding: 5px 0;
font-size: 13px;
color: #888888;
vertical-align: top;
"
>
Triggered by
</td>
<td style="padding: 5px 0; font-size: 13px; color: #111111">
${EMAIL_TRIGGERED_BY} &middot; ${EMAIL_ACTOR}
</td>
</tr>
<tr>
<td
style="
padding: 5px 0;
font-size: 13px;
color: #888888;
vertical-align: top;
"
>
Run
</td>
<td style="padding: 5px 0; font-size: 13px; color: #111111">
#${EMAIL_RUN_NUMBER} &middot;
<code
style="
background: #f5f5f5;
padding: 1px 6px;
border-radius: 4px;
font-size: 12px;
"
>${EMAIL_RUN_ID}</code
>
</td>
</tr>
</table>
</td>
</tr>

<!-- CTA -->
<tr>
<td style="padding: 20px 32px 32px">
<a
href="${EMAIL_RUN_URL}"
style="
display: inline-block;
padding: 10px 20px;
background-color: #0078d4;
color: #ffffff;
text-decoration: none;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
"
>View Run Log &rarr;</a
>
</td>
</tr>

<!-- Footer -->
<tr>
<td
style="
padding: 16px 32px;
background-color: #fafafa;
border-top: 1px solid #f0f0f0;
"
>
<p style="margin: 0; font-size: 11px; color: #aaaaaa">
Sent by GitHub Actions &middot;
<a
href="${EMAIL_SERVER_URL}/${EMAIL_REPOSITORY}"
style="color: #aaaaaa"
>${EMAIL_REPOSITORY}</a
>
</p>
</td>
</tr>
</table>
<!-- /Card -->
</td>
</tr>
</table>
<!-- /Wrapper -->
</body>
</html>
Loading
Loading