Repository navigation
Add fallback pricing for the Copilot AOAI API-key smoke workflow - #69746
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add AI credits pricing for model o4-mini-aw
Add fallback pricing for the Copilot AOAI API-key smoke workflow
Oct 17, 2026
pelikhan
marked this pull request as ready for review
October 17, 2026 16:33
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Pricing remains incomplete across inference jobs, and the fallback can exhaust the preserved spending cap.
2 open issues
What changed in this PR
Adds fallback pricing to the Copilot Azure API-key smoke workflow to address #69739.
Changes:
- Imports shared $5/M input and $25/M output pricing.
- Regenerates the lock while preserving Azure settings and the 60-credit cap.
- Adds source and compiled-pricing regression assertions.
| File | Description |
|---|---|
pkg/cli/smoke_copilot_aoai_workflow_contract_test.go |
Adds pricing contract checks. |
.github/workflows/smoke-copilot-aoai-apikey.md |
Imports shared fallback pricing. |
.github/workflows/smoke-copilot-aoai-apikey.lock.yml |
Updates generated proxy and prompt configuration. |
Review effort: Max
| - uses: shared/session-artifact-check.md | ||
| with: | ||
| session-artifact: copilot-events | ||
| - shared/default-ai-credits-pricing.md |
| - uses: shared/session-artifact-check.md | ||
| with: | ||
| session-artifact: copilot-events | ||
| - shared/default-ai-credits-pricing.md |
pelikhan
added a commit
that referenced
this pull request
Oct 17, 2026
* feat(workflow): port Actions pipeline AST from ado-aw Add typed jobs, steps, expressions, and output declarations with graph-derived needs and job-output bindings. Resolve and lower typed compiler contributions while preserving opaque legacy YAML, and migrate call-workflow conditions to the AST. Include graph and emission regression coverage and refresh the affected smoke workflow lockfile. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * refactor(workflow): replace pipeline AST with native Actions model Model native workflow and job properties, reusable workflow inputs and secrets, and Actions-only steps and expressions. Remove the pipeline package and all compatibility APIs. Build and validate dependency graphs for every repository workflow YAML, including generated lockfiles. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * docs(adr): add draft ADR-69755 for typed Actions workflow AST * feat(workflow): add AW Markdown source AST and Actions lowering Preserve complete authored frontmatter, prompt bytes, and source locations in aw.Document. Reuse the compiler for document lowering, complete in-memory configuration population, and parse native Actions YAML through a validated graph. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * feat(workflow): preserve YAML comments and round-trip native ASTs Retain byte-exact native workflow sources and reconcile AST edits against their comment-bearing YAML syntax. Preserve action annotations, comment ownership across reordered steps and dependencies, and independent alias values. Verify unmodified round trips and edited comment retention for all 385 repository workflow YAML files. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Add fallback pricing for the Copilot AOAI API-key smoke workflow (#69746) Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com> * Address Actions AST review feedback Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
pelikhan
added a commit
that referenced
this pull request
Oct 17, 2026
) * Fix ESLint queue worker access and delivery health reporting Restore native Claude work-queue MCP access and agent-visible Refiner history. Fail unverified Claim delivery after independently valid sibling reconciliation, and cover preparation, permission, and settlement regressions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Require branch notification before live workflow testing Tell users which published branch and exact reviewed commit will run. Keep live-effect authorization independent and clarify that a draft PR and merge are not prerequisites. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Publish reviewed staged Refiner lock for one live startup test Temporarily use the strict dry-run lock: safe outputs are staged and queue operations are disabled. Restore the production lock after the bounded hosted diagnostic. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Restore normal Refiner workflow after bounded live diagnostic Restore the exact previously reviewed normal lock after run 39051960708. Hosted history restoration and Claude startup passed; the diagnostic correctly stopped without queue assignment, so end-to-end Claim delivery remains unverified. Existing telemetry references are restored unchanged from the reviewed pre-test lock. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Specify and model Claim delivery health independently of capacity Require unsettled delivery to fail aggregate reporting after valid sibling reconciliation. Model staged isolation, false-green and early-stop controls, independent terminal release and pending-delivery witnesses. Document worker readiness and the limited coverage of hosted staged startup tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve structured Claude work queue tool allowlists Reuse generic MCP permission scoping for structured work-queue configs without changing the native queue schema or Claim authorization. Cover scoped, wildcard, empty, and malformed allowlists while preserving native enablement and explicit disabling. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Verify native queue creation delivery and preparation failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Add fallback pricing for the Copilot AOAI API-key smoke workflow (#69746) Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

AWF rejected inference requests for Azure deployment
o4-mini-awwith HTTP 400 because it has no catalog pricing and the workflow configured no fallback.