Skip to content

Commit 3f10cd6

Browse files
committed
chore: point schemas back at main
Reverts the temporary pointers added while the schema was in review. Flagsmith/flagsmith#8396 is merged, so `EvaluationContext.flags` is on `main` and the test cases no longer need to reference an in-flight branch to validate. `schema.json` goes back to the context schema on `refs/heads/main`, and the flag dependency cases to the `refs/tags/v2.0.0` schema every other case in the corpus uses.
1 parent 805b353 commit 3f10cd6

21 files changed

Lines changed: 21 additions & 21 deletions

schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "object",
44
"properties": {
55
"context": {
6-
"$ref": "https://raw.githubusercontent.com/Flagsmith/flagsmith/refs/heads/feat/dependent-flags-evaluation-context/sdk/evaluation-context.json"
6+
"$ref": "https://raw.githubusercontent.com/Flagsmith/flagsmith/refs/heads/main/sdk/evaluation-context.json"
77
},
88
"result": {
99
"$ref": "https://raw.githubusercontent.com/Flagsmith/flagsmith/refs/heads/main/sdk/evaluation-result.json"

test_cases/test_flag_dependency__absent_prerequisite__should_not_override.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//
66
// NOTE: A dependency on an absent feature resolves to no value, as an
77
// unset property would. It is not an error.
8-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
8+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
99
"context": {
1010
"environment": {
1111
"key": "key",

test_cases/test_flag_dependency__bracket_rooted_property__should_not_override.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// This is deliberate, and pinned here so that an implementation
1111
// using a full JSONPath parser for the prefix test does not start
1212
// honouring it and diverge.
13-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
13+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1414
"context": {
1515
"environment": {
1616
"key": "key",

test_cases/test_flag_dependency__bracketed_field__should_override.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// `$.flags.prerequisite.enabled`. An implementation that matches the
99
// property as text, rather than parsing it, is liable to miss this
1010
// spelling and leave the dependency unresolved.
11-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
11+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1212
"context": {
1313
"environment": {
1414
"key": "key",

test_cases/test_flag_dependency__competing_overrides__lowest_priority_wins.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// NOTE: Resolving dependencies must not disturb override precedence, and
88
// in particular must not make it depend on resolution order.
9-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
9+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1010
"context": {
1111
"environment": {
1212
"key": "key",

test_cases/test_flag_dependency__context_supplied_flags__should_be_ignored.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// by the engine as evaluation progresses. In remote and edge evaluation
1010
// the context comes from the client, so an implementation that trusts a
1111
// supplied `$.flags` would let a client satisfy its own dependencies.
12-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
12+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1313
"context": {
1414
"environment": {
1515
"key": "key",

test_cases/test_flag_dependency__cyclic__should_not_override.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// distinguishable from one that was never gated. Only flags in the
1414
// cycle are reported this way; a flag merely depending on one is not.
1515
// The result does not depend on which flag is resolved first.
16-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
16+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1717
"context": {
1818
"environment": {
1919
"key": "key",

test_cases/test_flag_dependency__cyclic_enabled_default__should_not_match.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// belonging to a segment whose override was never applied. A flag
1212
// resolved only by cutting a cycle must not be readable by another
1313
// condition.
14-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
14+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1515
"context": {
1616
"environment": {
1717
"key": "key",

test_cases/test_flag_dependency__multiple_overrides__each_feature_gets_its_own.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// NOTE: Resolving one feature has to select the override naming that
88
// feature, not merely the first the segment carries.
9-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
9+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1010
"context": {
1111
"environment": {
1212
"key": "key",

test_cases/test_flag_dependency__nested_rule__should_override.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// NOTE: Dependencies have to be found in nested rules, not just top-level
88
// conditions, or the flag is read before it has been resolved.
9-
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/heads/test/flag-dependencies/schema.json",
9+
"$schema": "https://raw.githubusercontent.com/Flagsmith/engine-test-data/refs/tags/v2.0.0/schema.json",
1010
"context": {
1111
"environment": {
1212
"key": "key",

0 commit comments

Comments
 (0)