Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

ci: tighten workflow token permissions - #587

Draft
Dmitriy Vasyura (dmitrivMS) wants to merge 2 commits into
mainfrom
agents/workflow-permissions-audit-and-fix
Draft

Dmitriy Vasyura (dmitrivMS) wants to merge 2 commits into
mainfrom
agents/workflow-permissions-audit-and-fix

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor
  • Limit build and CI tokens to repository read access and remove unused Actions scopes from coverage and performance reporting.
  • Avoid persisting checkout credentials and add regression checks for workflow token permissions.

Limit checkout tokens to repository read access, remove unused Actions scopes, and avoid persisting checkout credentials across build steps.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added the github_actions Pull requests that update GitHub Actions code label Nov 26, 2026
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Test Coverage Report (Linux)

❌ Invalid snapshot: Coverage runner, tool, or fixture versions differ; inspect both measurement contexts

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Performance Report (Linux)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 1ms 1ms +0ms +0.0% >5ms and >100% ➖
Server startup P95 1ms 1ms +0ms +0.0% >50ms and >200% ➖
Discovery duration P50 56ms 57ms -1ms -1.8% >25ms and >30% ✅
Discovery duration P95 60ms 61ms -1ms -1.6% >50ms and >50% ✅
Startup-to-first environment P50 12ms 12ms +0ms +0.0% >20ms and >100% ➖
Startup-to-first environment P95 14ms 14ms +0ms +0.0% >25ms and >100% ➖
Cold discovery duration P50 140ms 144ms -4ms -2.8% >100ms and >50% ✅
Refresh round-trip P50 56ms 57ms -1ms -1.8% >25ms and >30% ✅
Refresh round-trip P95 60ms 61ms -1ms -1.6% >50ms and >50% ✅
Request-to-first environment P50 11ms 11ms +0ms +0.0% >20ms and >100% ➖
Request-to-first environment P95 13ms 13ms +0ms +0.0% >25ms and >100% ➖
Cold refresh round-trip P50 140ms 144ms -4ms -2.8% >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 Nov 26, 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 58ms +0ms +0.0% >100ms and >50% ➖
Server startup P95 88ms 85ms +3ms +3.5% >750ms and >100% 🔺
Discovery duration P50 74ms 72ms +2ms +2.8% >100ms and >50% 🔺
Discovery duration P95 98ms 85ms +13ms +15.3% >300ms and >100% 🔺
Startup-to-first environment P50 81ms 86ms -5ms -5.8% >150ms and >50% ✅
Startup-to-first environment P95 106ms 113ms -7ms -6.2% >250ms and >100% ✅
Cold discovery duration P50 136ms 129ms +7ms +5.4% >250ms and >50% 🔺
Refresh round-trip P50 75ms 73ms +2ms +2.7% >250ms and >50% 🔺
Refresh round-trip P95 99ms 86ms +13ms +15.1% >300ms and >100% 🔺
Request-to-first environment P50 28ms 36ms -8ms -22.2% >50ms and >50% ✅
Request-to-first environment P95 44ms 45ms -1ms -2.2% >100ms and >100% ✅
Cold refresh round-trip P50 137ms 129ms +8ms +6.2% >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 Nov 26, 2026 •

Copy link
Copy Markdown

Performance Report (Windows)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 6ms 6ms +0ms +0.0% >10ms and >50% ➖
Server startup P95 9ms 8ms +1ms +12.5% >50ms and >100% 🔺
Discovery duration P50 72ms 73ms -1ms -1.4% >150ms and >50% ✅
Discovery duration P95 76ms 88ms -12ms -13.6% >250ms and >100% ✅
Startup-to-first environment P50 13ms 14ms -1ms -7.1% >25ms and >50% ✅
Startup-to-first environment P95 14ms 16ms -2ms -12.5% >100ms and >100% ✅
Cold discovery duration P50 73ms 74ms -1ms -1.4% >150ms and >50% ✅
Refresh round-trip P50 73ms 73ms +0ms +0.0% >150ms and >50% ➖
Refresh round-trip P95 76ms 88ms -12ms -13.6% >250ms and >100% ✅
Request-to-first environment P50 7ms 7ms +0ms +0.0% >25ms and >50% ➖
Request-to-first environment P95 7ms 9ms -2ms -22.2% >100ms and >100% ✅
Cold refresh round-trip P50 74ms 75ms -1ms -1.3% >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 Nov 26, 2026 •

Copy link
Copy Markdown

Performance Report (macOS)

Result: ✅ Within regression budgets

Metric PR Baseline Delta Change Blocking budget Status
Server startup P50 42ms 41ms +1ms +2.4% >100ms and >50% 🔺
Server startup P95 47ms 50ms -3ms -6.0% >750ms and >100% ✅
Discovery duration P50 70ms 65ms +5ms +7.7% >100ms and >50% 🔺
Discovery duration P95 98ms 72ms +26ms +36.1% >300ms and >100% 🔺
Startup-to-first environment P50 74ms 72ms +2ms +2.8% >150ms and >50% 🔺
Startup-to-first environment P95 82ms 76ms +6ms +7.9% >250ms and >100% 🔺
Cold discovery duration P50 103ms 103ms +0ms +0.0% >250ms and >50% ➖
Refresh round-trip P50 71ms 65ms +6ms +9.2% >250ms and >50% 🔺
Refresh round-trip P95 98ms 73ms +25ms +34.2% >300ms and >100% 🔺
Request-to-first environment P50 33ms 32ms +1ms +3.1% >50ms and >50% 🔺
Request-to-first environment P95 39ms 36ms +3ms +8.3% >100ms and >100% 🔺
Cold refresh round-trip P50 103ms 104ms -1ms -1.0% >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 Nov 26, 2026 •

Copy link
Copy Markdown

Test Coverage Report (Windows)

Result: ✅ Within regression budget

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

Allowed numerical tolerance: 0.01 percentage points.

@dmitrivMS Dmitriy Vasyura (dmitrivMS) added this to the 1.149.0 milestone Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant