Skip to content

Refresh FinOps hub upgrade procedure for multi-version FOCUS adoption#2123

Draft
flanakin wants to merge 3 commits intoflanakin/focus14from
flanakin/focus14-phase0-docs
Draft

Refresh FinOps hub upgrade procedure for multi-version FOCUS adoption#2123
flanakin wants to merge 3 commits intoflanakin/focus14from
flanakin/focus14-phase0-docs

Conversation

@flanakin
Copy link
Copy Markdown
Collaborator

@flanakin flanakin commented May 6, 2026

Summary

Phase 0 of FOCUS 1.4 work (parent: #2120). Refreshes the canonical "add a new FOCUS version" procedure before any 1.3/1.4 schema work begins, so subsequent phases follow a consistent, version-agnostic playbook.

Changes

src/templates/finops-hub/docs/README.md

  • New step 0: confirm Cost Management has shipped a matching FOCUS export schema; if not, ship hub support as preview.
  • New steps 5-8: open-data metadata, conformance regen via Build-FocusConformance.ps1, plugin skill file updates (5 listed paths), changelog entry.
  • New "Handling multiple FOCUS versions in one cycle" subsection covering GA + preview naming and unversioned-function aliasing.

docs-mslearn/toolkit/hubs/data-model.md

  • Clarifies that the hub schema version mirrors the FOCUS spec version it natively ingests, with up-conversion handled by the unversioned functions.
  • Documents the preview convention: hub support that ships ahead of spec ratification or Cost Management export availability is labeled preview; unversioned aliases stay pinned to the latest GA schema.

No FOCUS 1.3/1.4-specific content lands here — that's tracked in later phases.

Closes #2121

Test plan

  • Render README.md and confirm new steps and subsection display correctly.
  • Render data-model.md and confirm new paragraphs display correctly.
  • Spot-check all relative links resolve.

…#2121)

Update the canonical "add a new FOCUS version" procedure to reflect the
six additional steps surfaced during FOCUS 1.4 scoping (Cost Management
dependency check, open-data metadata, conformance regen, plugin updates,
changelog) and add guidance for handling two FOCUS versions in one cycle
(GA + preview). Clarify the hub-schema-to-FOCUS-version relationship and
preview convention in data-model.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 6, 2026 09:45
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Needs: Review 👀 PR that is ready to be reviewed label May 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refreshes the FinOps hubs documentation playbook for adding new FOCUS versions, with explicit guidance for preview vs GA handling and a clearer explanation of how hub schema versions relate to FOCUS spec versions.

Changes:

  • Expanded the “add a new FOCUS version” procedure with dependency checks, open-data metadata, conformance regeneration, plugin reference updates, and changelog guidance.
  • Added guidance for handling two FOCUS versions in a single release cycle (GA + preview) and keeping unversioned functions pinned to latest GA.
  • Clarified in user docs that hub schema versions mirror the FOCUS version they natively ingest, and documented the preview convention.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/templates/finops-hub/docs/README.md Updates the canonical upgrade procedure and adds multi-version (GA + preview) guidance.
docs-mslearn/toolkit/hubs/data-model.md Clarifies schema-version-to-FOCUS coupling and documents preview behavior for hub schemas.

Comment thread docs-mslearn/toolkit/hubs/data-model.md Outdated
| 12+ | `v1_2` | 1.2 |
| 0.7-11 | `v1_0` | 1.0 |

When hub support ships ahead of a FOCUS specification ratifying or ahead of Cost Management exporting a version, the hub schema is labeled **preview**. Preview schemas may change without notice between releases. The unversioned functions remain pinned to the latest GA schema until the preview promotes to GA, ensuring production reports stay stable while early adopters validate the new version.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

🤖 [AI][Claude Code] ✅ Implemented

Reworded to "ahead of FOCUS specification ratification" for parallel structure with the next clause.

Conformance reports are generated only against official Microsoft Cost
Management FOCUS releases, not as part of adding a new FOCUS version
to FinOps hubs. Removing the step keeps the procedure scoped to the
hub-specific workstream.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@flanakin flanakin marked this pull request as draft May 6, 2026 23:16
@flanakin
Copy link
Copy Markdown
Collaborator Author

flanakin commented May 7, 2026

🤖 [AI][Claude Code] Additional change beyond Copilot review

While addressing the grammar fix on data-model.md:66, surfaced a broader concern: the original wording conflated two distinct preview triggers — FOCUS spec maturity (legit) and Cost Management export availability (not legit, since hubs has its own lifecycle and shouldn't be permanently gated by another team's roadmap).

Updated both data-model.md and the README's step 0 to decouple them:

  • Preview = FOCUS spec is still working draft (not ratified).
  • Cost Management export availability is now described as a separate operational concern. A hub schema can be GA before Cost Management ships an export — the hub will ingest the new format as soon as the export becomes available.

Phase 4 (IngestionSetup_v1_4.kql) and phase 5 (HubSetup_v1_4.kql) already correctly mark v1_4 as preview because FOCUS 1.4 is working draft, not because of any Cost Management gap, so no downstream PRs need adjusting.

- Reword data-model.md:66 grammar (per Copilot).
- Decouple hub preview status from Cost Management export
  availability. Preview now means the FOCUS spec is still
  working draft. Cost Management lag is a separate operational
  concern that does not gate hub GA.
- Update README step 0 to match.

Co-Authored-By: copilot-pull-request-reviewer <copilot-pull-request-reviewer@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@flanakin
Copy link
Copy Markdown
Collaborator Author

flanakin commented May 7, 2026

🤖 [AI][Claude Code] PR Update Summary

Addressed: 1 review thread + scope expansion

  • ✅ Implemented: 1 (Copilot grammar fix on data-model.md:66)
  • 💬 Scope change: Decoupled hub preview status from Cost Management export availability. Hubs preview = FOCUS spec is working draft; Cost Management lag is a separate operational concern documented in changelog, not a GA gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Review 👀 PR that is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants