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
A condition referencing a non-existent feature name does not break indexing.
Decided to reject referencing unknown features, as that would lead to a stale index if the prerequisite feature is created at a later moment. Therefore, a feature needs to exist prior to being made a prerequisite.
-- Evandro
Indexing adds no measurable latency to segment writes on a project with a realistic segment count.
Attempting to persist a condition that would close a cycle against live versions any of the project's environment via any amount of nodes raises a validation error that would translate to a user-facing 400 with code: circular_dependency and a path naming each feature + segment.
Add a dependency index model:
Acceptance criteria
$.flagsconditions creates one index row per referenced feature.rule_paththat points to the originating condition.$.flagscondition updates the index to match.Publishing a new segment version updates the index row.A condition referencing a non-existent feature name does not break indexing.code: circular_dependencyand apathnaming each feature + segment.