Repository navigation
docs(lint): os explain flow-condition-option-label covers filters and edge conditions - #37843
Merged
Merged
Conversation
… edge conditions (#37504) The explanation said the rule reads a record-change start condition only. Since #37491 it also reads edge and decision conditions and the query filters of get_record / update_record / delete_record and a time-relative sweep; the text now says so, with each position's matching rules and the CEL value envelope escape for a deliberate label filter. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgT5oFVDnxy3bMa3NBi
Contributor
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 1 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 4 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
Contributor
Author
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head ed3a9a8 · card #37504 · area s2-ai · 2026-11-27T09:11ZL1 checklist
Tier: S. Landing: ready and queued. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Requested by Sales · project thread
Fixes #37504 (item 2; item 1 landed in #37551).
What changes
os explain flow-condition-option-labelsaid the rule reads a record-change start condition only (covers: 'why a start condition compares option values'). Since #37491 the same rule id also fires on edge conditions,decisionbranch expressions, and thefilterofget_record/update_record/delete_recordand of a time-relative sweep. An author whose filter was refused read an explanation of a narrower rule than the one that fired.packages/lint/src/rule-explanations.tsFLOW_CONDITION_OPTION_LABEL_EXPLANATIONnow:covers:why flow conditions and filters use option values(49 chars, the test's ≤60 bar).record.F/previous.F/ bareF, and a single-rowget_recordoutputVariablerow (deal.F); a variable bound elsewhere too is not judged;$eq/$ne,$in/$ninmembers, under$and/$or/$not; not judged: related-object fields, ordering / text operators, braced strings (templates,{current_user_id});{ dialect: 'cel', source }, which is not judged;Every sentence is read off
validate-flow-trigger-readiness.ts(FLOW_CONDITION_OPTION_LABELdoc,optionLabelsBeyondStart) andflow-select-options.ts(optionLabelOperands) on main 1028438. No rule behaviour changes.Gates run
vitest run src/rule-explanations.test.ts src/flow-publish-checks-second-batch.test.ts(packages/lint): 2 files, 58 tests passed.tsc --noEmit -p packages/lint: clean.@objectstack/lintpatch (explanation text only).Clause-②: no
Metadata-protocol: none
Small calls this thread made
os explaintakes the rule id, and one id has one entry.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgT5oFVDnxy3bMa3NBi