You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add project-level contract policy support and related documentation
Introduce a new contract policy feature allowing project-level contract pinning and deprecation controls. Update README.md to include usage examples and details on the contract policy schema. Enhance CI workflows to verify contract policy examples and add new configuration files for contract policies. Update analysis and report schemas to incorporate contract policy decisions, ensuring better handling of deprecated contracts. Adjust documentation to reflect these changes and improve clarity on contract management processes.
Copy file name to clipboardExpand all lines: docs/ci-gate.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ This repository validates the CI handoff contract in three layers:
82
82
83
83
-`sh scripts/ci/check-ci-handoff-templates.sh` verifies that the example templates and docs keep the agreed handoff paths, retention windows, artifact publishing steps, and smoke workflow references.
84
84
-`sh scripts/ci/smoke-ci-handoff.sh native` runs the same handoff layout locally via `go run ./cmd/sheaft`.
85
-
-`sh scripts/ci/smoke-ci-handoff.sh docker` exercises the Docker execution path used by the example templates.
85
+
-`sh scripts/ci/smoke-ci-handoff.sh docker` exercises the Docker execution path used by the example templates, including local runs from Windows Git Bash.
86
86
87
87
The GitHub Actions workflow at `.github/workflows/ci-template-smoke.yml` runs both smoke modes on every pull request and on pushes to `main`.
Copy file name to clipboardExpand all lines: docs/configuration.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ Key sections:
22
22
-`endpoint_weights`
23
23
-`baselines`
24
24
-`predicate_contract`
25
+
-`contract_policy`
25
26
-`gate`
26
27
27
28
## Serve Config
@@ -40,6 +41,16 @@ For legacy models that only expose `success_predicate_ref`, supply:
40
41
41
42
The overlay can also carry endpoint weights.
42
43
44
+
## Contract Policy
45
+
46
+
Use project-level contract pinning and deprecation controls when a deployment wants to accept only a subset of the globally supported Bering contracts:
0 commit comments