Skip to content

Tag official PET stable release runs - #593

Merged
Eduardo Villalpando Mello (edvilme) merged 1 commit into
mainfrom
mark-pet-stable-releases
Dec 4, 2026
Merged

Eduardo Villalpando Mello (edvilme) merged 1 commit into
mainfrom
mark-pet-stable-releases

Conversation

@edvilme

Copy link
Copy Markdown
Contributor

Tag PET pipeline runs only when the shared stable template accepts a real release tag. The vscode-python stable consumer can then select the latest successful run with this Azure DevOps build tag, excluding the temporary branch dry run.

Related: microsoft/vscode-python#26329

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6

Tag PET pipeline runs only when the shared stable template accepts a real release tag. The vscode-python stable consumer can then select the latest successful run with this Azure DevOps build tag, excluding the temporary branch dry run.

Related: microsoft/vscode-python#26329

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Performance Report (macOS ARM64)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 58ms 43ms +15ms +34.9% >100ms and >50% 🔺
Server startup P95 70ms 84ms -14ms -16.7% >750ms and >100% ✅
Discovery duration P50 83ms 91ms -8ms -8.8% >100ms and >50% ✅
Discovery duration P95 113ms 110ms +3ms +2.7% >300ms and >100% 🔺
Startup-to-first environment P50 59ms 64ms -5ms -7.8% >150ms and >50% ✅
Startup-to-first environment P95 74ms 110ms -36ms -32.7% >250ms and >100% ✅
Cold discovery duration P50 109ms 121ms -12ms -9.9% >250ms and >50% ✅
Refresh round-trip P50 83ms 92ms -9ms -9.8% >250ms and >50% ✅
Refresh round-trip P95 114ms 110ms +4ms +3.6% >300ms and >100% 🔺
Request-to-first environment P50 22ms 28ms -6ms -21.4% >50ms and >50% ✅
Request-to-first environment P95 31ms 49ms -18ms -36.7% >100ms and >100% ✅
Cold refresh round-trip P50 110ms 121ms -11ms -9.1% >600ms and >50% ✅
Workload PR Baseline
Environments 12 12
Managers 1 1

A regression must exceed both the documented absolute and relative budget. Environment and manager inventories must match exactly within the same inventory schema.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Performance Report (macOS)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 54ms 51ms +3ms +5.9% >100ms and >50% 🔺
Server startup P95 64ms 72ms -8ms -11.1% >750ms and >100% ✅
Discovery duration P50 95ms 95ms +0ms +0.0% >100ms and >50% ➖
Discovery duration P95 104ms 110ms -6ms -5.5% >300ms and >100% ✅
Startup-to-first environment P50 98ms 100ms -2ms -2.0% >150ms and >50% ✅
Startup-to-first environment P95 110ms 115ms -5ms -4.3% >250ms and >100% ✅
Cold discovery duration P50 169ms 137ms +32ms +23.4% >250ms and >50% 🔺
Refresh round-trip P50 96ms 95ms +1ms +1.1% >250ms and >50% 🔺
Refresh round-trip P95 104ms 111ms -7ms -6.3% >300ms and >100% ✅
Request-to-first environment P50 44ms 46ms -2ms -4.3% >50ms and >50% ✅
Request-to-first environment P95 54ms 60ms -6ms -10.0% >100ms and >100% ✅
Cold refresh round-trip P50 169ms 137ms +32ms +23.4% >600ms and >50% 🔺
Workload PR Baseline
Environments 10 10
Managers 1 1

A regression must exceed both the documented absolute and relative budget. Environment and manager inventories must match exactly within the same inventory schema.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Test Coverage Report (Linux)

Result: ✅ Within regression budget

Metric PR Baseline Delta
Lines 85.506% 85.506% +0.000pp
Functions 88.038% 88.038% +0.000pp

Allowed numerical tolerance: 0.01 percentage points.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Performance Report (Linux)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 0ms 0ms +0ms +0.0% >5ms and >100% ➖
Server startup P95 1ms 1ms +0ms +0.0% >50ms and >200% ➖
Discovery duration P50 47ms 47ms +0ms +0.0% >25ms and >30% ➖
Discovery duration P95 48ms 52ms -4ms -7.7% >50ms and >50% ✅
Startup-to-first environment P50 8ms 9ms -1ms -11.1% >20ms and >100% ✅
Startup-to-first environment P95 9ms 11ms -2ms -18.2% >25ms and >100% ✅
Cold discovery duration P50 90ms 93ms -3ms -3.2% >100ms and >50% ✅
Refresh round-trip P50 47ms 47ms +0ms +0.0% >25ms and >30% ➖
Refresh round-trip P95 48ms 52ms -4ms -7.7% >50ms and >50% ✅
Request-to-first environment P50 7ms 8ms -1ms -12.5% >20ms and >100% ✅
Request-to-first environment P95 8ms 10ms -2ms -20.0% >25ms and >100% ✅
Cold refresh round-trip P50 90ms 93ms -3ms -3.2% >100ms and >50% ✅
Workload PR Baseline
Environments 5 5
Managers 1 1

A regression must exceed both the documented absolute and relative budget. Environment and manager inventories must match exactly within the same inventory schema.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Performance Report (Windows)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 7ms 8ms -1ms -12.5% >10ms and >50% ✅
Server startup P95 10ms 11ms -1ms -9.1% >50ms and >100% ✅
Discovery duration P50 101ms 119ms -18ms -15.1% >150ms and >50% ✅
Discovery duration P95 112ms 143ms -31ms -21.7% >250ms and >100% ✅
Startup-to-first environment P50 16ms 24ms -8ms -33.3% >25ms and >50% ✅
Startup-to-first environment P95 21ms 31ms -10ms -32.3% >100ms and >100% ✅
Cold discovery duration P50 103ms 120ms -17ms -14.2% >150ms and >50% ✅
Refresh round-trip P50 102ms 120ms -18ms -15.0% >150ms and >50% ✅
Refresh round-trip P95 112ms 144ms -32ms -22.2% >250ms and >100% ✅
Request-to-first environment P50 8ms 15ms -7ms -46.7% >25ms and >50% ✅
Request-to-first environment P95 13ms 22ms -9ms -40.9% >100ms and >100% ✅
Cold refresh round-trip P50 103ms 120ms -17ms -14.2% >150ms and >50% ✅
Workload PR Baseline
Environments 8 8
Managers 1 1

A regression must exceed both the documented absolute and relative budget. Environment and manager inventories must match exactly within the same inventory schema.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Test Coverage Report (Windows)

Result: ✅ Within regression budget

Metric PR Baseline Delta
Lines 83.033% 83.028% +0.004pp
Functions 85.379% 85.379% +0.000pp

Allowed numerical tolerance: 0.01 percentage points.

@rchiodo

Rich Chiodo (rchiodo) commented Dec 4, 2026 •

Copy link
Copy Markdown

🔒 Automated review in progress — Rich Chiodo (@rchiodo) is auto-reviewing this PR.

@rchiodo

Copy link
Copy Markdown

Reviewed commit: 7ca289ecba62232e53172f0ed91f85da41ea7684

Result: ⚠️ partially-verified

Verification details

Verification: Automated verification is best effort. The PR author remains responsible for testing.

Summary: Six existing pipeline tests passed, although they cover the pre-release caller rather than the changed stable caller. Additional static assertions passed for YAML parsing, the exact build-tag command and condition, and preservation of the following Cargo configuration step. The PR adds no tests. Git-based discovery was unavailable because the container snapshot lacked usable Git metadata; Azure DevOps execution and shared-template validation ordering remain unverified.

Test runs: 2 passed, 1 failed

  • ❌ Failed | unrelated to this PR | Dependency and test discovery | printf 'Sandbox profile: %s\n' "${AUTOMATION_SANDBOX_PROFILE:-unset}"; git diff --check HEAD1 HEAD; git diff --stat HEAD1 HEAD; printf '\nRelevant test files:\n'; git ls-files scripts/tests azure-pipelines .github/workflows; printf '\nAvailable validators:\n'; command -v python; command -v pwsh || true; command -v yamllint || true; python -c "import importlib.util,sys; print('interpreter:', sys.executable); print('PyYAML available:', importlib.util.find_spec('yaml') is not None)"
  • ✅ Passed | Existing pipeline configuration tests | python -m unittest discover -s scripts/tests -p 'test_azure_pipeline.py' -v
  • ✅ Passed | Stable release tagging static assertions | python - <<'PY'
    from pathlib import Path
    import yaml

path = Path('azure-pipelines/devdiv-stable.yml')
doc = yaml.safe_load(path.read_text(encoding='utf-8'))
assert doc['extends']['template'] == '/azure-pipelines/rust-binary/stable.yml@templates'
steps = doc['extends']['parameters']['preBuildSteps']
assert len(steps) == 2, steps
assert steps[0] == {
'pwsh': 'Write-Host "##vso[build.addbuildtag]pet-stable-release"',
'condition': "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/release/'))",
'displayName': 'Tag PET stable release run',
}, steps[0]
assert steps[1] == {
'pwsh': 'Rename-Item -Path "./.cargo/config.toml.disabled" -NewName "config.toml"',
'displayName': 'Enable Azure Build config for Rust',
}, steps[1]
assert doc['trigger'] == {'branches': {'exclude': ['']}, 'tags': {'include': ['release/']}}
assert doc['pr'] == 'none'
for other in ('devdiv-pre-release.yml', 'pre-release.yml', 'stable.yml', 'playground.yml'):
assert 'build.addbuildtag]pet-stable-release' not in (path.parent / other).read_text(encoding='utf-8'), other
print('PASS: YAML parses; stable shared-template reference and tag-only trigger retained.')
print('PASS: exact build tag command, success/ref guard, and subsequent Cargo configuration step.')
print('PASS: official stable build tag is absent from other pipeline callers.')
print('LIMITATION: static configuration assertions only; Azure expression evaluation, shared-template validation ordering, PowerShell execution, and build-tag persistence are not exercised.')
PY

❌ Dependency and test discovery diagnostic output
[container exit=0]
Sandbox profile: generic
error: Could not access 'HEAD~1'
error: Could not access 'HEAD~1'
fatal: not a git repository (or any parent up to mount point /)
Available validators:
/usr/local/bin/python
interpreter: /usr/local/bin/python
PyYAML available: True
Git discovery subcommands failed despite the wrapper returning zero. PowerShell and yamllint were not found. Repository files and tests were subsequently inspected through read-only navigation tools.

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved via Review Center.

@rchiodo Rich Chiodo (rchiodo) added the review-auto:approved Automated review: no blocking findings (approval posted). label Dec 4, 2026
@edvilme
Eduardo Villalpando Mello (edvilme) merged commit 341aaec into main Dec 4, 2026
44 checks passed
@edvilme
Eduardo Villalpando Mello (edvilme) deleted the mark-pet-stable-releases branch December 4, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-auto:approved Automated review: no blocking findings (approval posted).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants