Azure / Azure/azure-functions-core-tools

Publish profile registry to prod CDN

Open
#5,459 0 comments 0 reactions 0 assignees View on GitHub
area: build/release v5
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
4d 20h
Merged PRs (30d)
14

Description

## Task

Publish the profile registry files to the **prod CDN** (`cdn.functions.azure.com`).

### Context

The profile registry is currently only available on **staging CDN**:
- `https://cdn-staging.functions.azure.com/public/cli/v5/profiles/v1/registry.json`
- `https://cdn-staging.functions.azure.com/public/cli/v5/profiles/v1/registry.json.sha256`

The CLI defaults to prod CDN (`cdn.functions.azure.com/public/`) — see PR #5434. Until this task is done, remote profile fetch will fail gracefully and fall back to the bundled `BuiltInProfileSource`.

### Steps

1. Run the upload pipeline targeting the **prod** storage account (use `$(prod-storage-account-name)` / `$(prod-storage-access-key)` variable groups)
2. Verify files are accessible:
- `https://cdn.functions.azure.com/public/cli/v5/profiles/v1/registry.json`
- `https://cdn.functions.azure.com/public/cli/v5/profiles/v1/registry.json.sha256`
3. Validate CDN caching headers (Cache-Control, ETag) are configured correctly per design doc (#5329)

### Acceptance Criteria

- [ ] `registry.json` and `.sha256` are live on prod CDN
- [ ] `func profile list` fetches from prod CDN without needing the env var override

Contributor guide

Open the contributing guide

Research direction

Start by locating the upload pipeline referenced in the task and review PR #5434 for the prod CDN path and profile-fetch behavior. Use the prod storage variable groups, then verify both registry URLs, their Cache-Control and ETag headers against design doc #5329, and confirm `func profile list` works without the environment-variable override.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cli, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.