-
Notifications
You must be signed in to change notification settings - Fork 0
runbook SSOT + doc/link integrity + allgemeine hygiene #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e1a4fca
docs: align runbook and doc checks
github-actions[bot] 33e0027
chore: reduce qodana findings and upgrade test tooling
github-actions[bot] 0d7ce91
ci: enforce qodana dead-code gate
github-actions[bot] a3dfe23
chore: update version to 4.1.0 and improve versioning logic
github-actions[bot] fb2e78e
ci: implement minimal-core ssot contract pipeline
github-actions[bot] 50cb92a
ci: fix summary artifact download paths
github-actions[bot] d41046b
Address PR review comments
github-actions[bot] 47e2dec
Add explicit CodeQL workflow for PR and main
github-actions[bot] 1fb1eba
Remove advanced CodeQL workflow while default setup is enabled
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,12 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <!-- Central, deterministic project versioning (SemVer baseline). --> | ||
| <Version>4.0.0</Version> | ||
| <AssemblyVersion>4.0.0.0</AssemblyVersion> | ||
| <FileVersion>4.0.0.0</FileVersion> | ||
| <InformationalVersion>4.0.0</InformationalVersion> | ||
| <Version>4.1.0</Version> | ||
| <AssemblyVersion>4.1.0.0</AssemblyVersion> | ||
| <FileVersion>4.1.0.0</FileVersion> | ||
| <InformationalVersion>4.1.0</InformationalVersion> | ||
| <Deterministic>true</Deterministic> | ||
| <ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild> | ||
| <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> | ||
| </PropertyGroup> | ||
| </Project> |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # CI Pipeline (SSOT) | ||
|
|
||
| ## Purpose | ||
| Deterministic and auditable CI with contract-first artifacts and strict fail-closed execution. | ||
|
|
||
| ## Required Jobs | ||
| - `preflight` | ||
| - `build` | ||
| - `security-nuget` | ||
| - `tests-bdd-coverage` | ||
| - `summary` | ||
| - `qodana` (separate workflow) | ||
|
|
||
| ## Artifact Root (single SSOT) | ||
| - `artifacts/ci/<check_id>/raw.log` | ||
| - `artifacts/ci/<check_id>/summary.md` | ||
| - `artifacts/ci/<check_id>/result.json` | ||
| - `artifacts/ci/qodana/*.sarif` | ||
|
|
||
| No alternative artifact roots are allowed. | ||
|
|
||
| ## Stage Order | ||
| 1. Preflight: governance-safe checks and policy guards. | ||
| 2. Build: restore + build with warnings as errors. | ||
| 3. Security: NuGet vulnerability/deprecation scan. | ||
| 4. Tests: BDD + coverage gate. | ||
| 5. Summary: aggregate and enforce artifact contract + schema validation. | ||
| 6. Qodana workflow: token/sarif contract and dead-code gate. | ||
|
|
||
| ## Workflow Constraints | ||
| - Workflow YAML contains entry-calls only. | ||
| - Check logic is implemented in `.NET` validators under `tools/ci/checks/`. | ||
| - Shell scripts in `tools/ci/` handle orchestration and artifact handling only. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # CI Policy (SSOT) | ||
|
|
||
| ## Scope | ||
| This document is the single source of truth for CI rule IDs, severity handling, and exit code policy. | ||
|
|
||
| ## Global Rules | ||
| - Fail-closed: no silent bypass paths. | ||
| - No `continue-on-error: true` in workflow files. | ||
| - No `|| true` on critical workflow paths. | ||
| - No `set +e` without explicit allow-list entry. | ||
| - Workflow YAML only calls entry scripts under `tools/ci/bin/`. | ||
|
|
||
| ## Result Contract | ||
| All required checks MUST write: | ||
| - `artifacts/ci/<check_id>/raw.log` | ||
| - `artifacts/ci/<check_id>/summary.md` | ||
| - `artifacts/ci/<check_id>/result.json` | ||
|
|
||
| `result.json` must comply with `tools/ci/schema/result.schema.json`. | ||
|
|
||
| ## Rule Catalog | ||
| - `CI-ARTIFACT-001` fail: required artifact missing. | ||
| - `CI-SCHEMA-001` fail: `result.json` schema validation failed. | ||
| - `CI-SHELL-001` fail: found `continue-on-error: true`. | ||
| - `CI-SHELL-002` fail: found `|| true` in critical workflow path. | ||
| - `CI-SHELL-003` fail: found `set +e` outside allow-list. | ||
| - `CI-SHELL-004` fail: workflow `run: |` block exceeds configured max lines. | ||
| - `CI-GRAPH-001` fail: required CI graph edge or job constraint violated. | ||
| - `CI-QODANA-001` fail: `QODANA_TOKEN` missing. | ||
| - `CI-QODANA-002` fail: expected SARIF missing. | ||
| - `CI-QODANA-003` fail: SARIF invalid JSON. | ||
|
|
||
| ## Severity Rules | ||
| - `warn`: visible, non-blocking. | ||
| - `fail`: blocking, exit code non-zero. | ||
|
|
||
| ## Exit Code Matrix | ||
| - `0`: success (`pass` or `warn`) | ||
| - `1`: policy/contract/check failure (`fail`) | ||
| - `2`: invalid invocation or missing prerequisites | ||
|
|
||
| ## set +e Allow-list | ||
| No allow-list entries in Phase 1. |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "10.0.102", | ||
| "rollForward": "latestPatch" | ||
| } | ||
| } |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| { | ||
| "version": 2, | ||
| "dependencies": { | ||
| "net10.0": { | ||
| "MimeTypesMap": { | ||
| "type": "Transitive", | ||
| "resolved": "1.0.9", | ||
| "contentHash": "M0TuSCwL1a8QV0VKw8ysY4AIs6v/Aor3N7GXQeqgNlAvqjx9Kj9KxNd09Pg5RzpY1tCOU8mkrfYBi1Lxwj8quQ==" | ||
| }, | ||
| "ZstdSharp.Port": { | ||
| "type": "Transitive", | ||
| "resolved": "0.8.4", | ||
| "contentHash": "eieSXq3kakCUXbgdxkKaRqWS6hF0KBJcqok9LlDCs60GOyrynLvPOcQ0pRw7shdPF7lh/VepJ9cP9n9HHc759g==" | ||
| }, | ||
| "filetypedetectionlib": { | ||
| "type": "Project", | ||
| "dependencies": { | ||
| "Microsoft.IO.RecyclableMemoryStream": "[3.0.1, )", | ||
| "Mime": "[3.8.0, )", | ||
| "SharpCompress": "[0.39.0, )", | ||
| "System.IO.Hashing": "[10.0.2, )" | ||
| } | ||
| }, | ||
| "Microsoft.IO.RecyclableMemoryStream": { | ||
| "type": "CentralTransitive", | ||
| "requested": "[3.0.1, )", | ||
| "resolved": "3.0.1", | ||
| "contentHash": "s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g==" | ||
| }, | ||
| "Mime": { | ||
| "type": "CentralTransitive", | ||
| "requested": "[3.8.0, )", | ||
| "resolved": "3.8.0", | ||
| "contentHash": "SG8QHXjnyLoVeIOSw4ym7orS5LIRPBpzFQYfkgSqyAkeog+eZNMj32UOEO1SxLNBASxNPgVBIacxOOZsenBImg==", | ||
| "dependencies": { | ||
| "MimeTypesMap": "1.0.9" | ||
| } | ||
| }, | ||
| "SharpCompress": { | ||
| "type": "CentralTransitive", | ||
| "requested": "[0.39.0, )", | ||
| "resolved": "0.39.0", | ||
| "contentHash": "0esqIUDlg68Z7+Weuge4QzEvNtawUO4obTJFL7xuf4DBHMxVRr+wbNgiX9arMrj3kGXQSvLe0zbZG3oxpkwJOA==", | ||
| "dependencies": { | ||
| "ZstdSharp.Port": "0.8.4" | ||
| } | ||
| }, | ||
| "System.IO.Hashing": { | ||
| "type": "CentralTransitive", | ||
| "requested": "[10.0.2, )", | ||
| "resolved": "10.0.2", | ||
| "contentHash": "AKJknIFi9O3+rGExxTry188JPvUoZAPcCtS2qdqyFhIzsxQ1Ap94BeGDG0VzVEHakhmRxmJtVih6TsHoghIt/g==" | ||
| } | ||
| } | ||
| } | ||
| } |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.