jcoffey-dev is traveling from Thursday 1 October through Sunday 4 October. Issues and pull requests are welcome, and will get an answer after that. Thanks for your patience.
The registry knows, for every expression field, the constants it may evaluate to and the variables its conditions may read, and enforces both. The schema served to INBUXA Admin described every one as a bare x:Expression, so the console could offer nothing better than a free-text box.
tools/fork/expr-schema.py reads those contexts from the generated registry code and writes them onto each field's type:
All 124 expression fields are covered. The script fails if a context has no matching schema field.
Nothing else in the schema changes: it round-trips byte for byte apart from the new key.
CI runs expr-schema.py --check, so the schema can't drift from the registry. Re-run it after an upstream import (README updated).
The server reads the schema as untyped JSON (Explain, audit log), so the extra key is inert there. No Rust source changed.
First half of the expression simple mode in the console (settings-reorg spec); the admin PR follows.
Checked: name-check, notice-check, context-check, privacy-check, expr-schema --check and the fork unit tests pass.
The registry knows, for every expression field, the constants it may evaluate to and the variables its conditions may read, and enforces both. The schema served to INBUXA Admin described every one as a bare `x:Expression`, so the console could offer nothing better than a free-text box.
`tools/fork/expr-schema.py` reads those contexts from the generated registry code and writes them onto each field's type:
```json
{"type":"object","objectName":"x:Expression",
"expression":{"constants":["relaxed","strict","disable"],
"variables":["sender","sender_domain","rcpt","local_port",...]}}
```
- All 124 expression fields are covered. The script fails if a context has no matching schema field.
- Nothing else in the schema changes: it round-trips byte for byte apart from the new key.
- CI runs `expr-schema.py --check`, so the schema can't drift from the registry. Re-run it after an upstream import (README updated).
- The server reads the schema as untyped JSON (Explain, audit log), so the extra key is inert there. No Rust source changed.
First half of the expression simple mode in the console (settings-reorg spec); the admin PR follows.
Checked: name-check, notice-check, context-check, privacy-check, expr-schema --check and the fork unit tests pass.
The registry knows, for every expression field, the constants it may
evaluate to and the variables its conditions may read, and enforces both.
The schema served to INBUXA Admin described every one as a bare
x:Expression, so the console could offer nothing better than free text.
tools/fork/expr-schema.py reads those contexts from the generated registry
code and writes them onto each field's type as
expression: {constants, variables}. All 124 expression fields are covered.
CI runs it with --check so the schema can't drift from the registry.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The registry knows, for every expression field, the constants it may evaluate to and the variables its conditions may read, and enforces both. The schema served to INBUXA Admin described every one as a bare
x:Expression, so the console could offer nothing better than a free-text box.tools/fork/expr-schema.pyreads those contexts from the generated registry code and writes them onto each field's type:expr-schema.py --check, so the schema can't drift from the registry. Re-run it after an upstream import (README updated).First half of the expression simple mode in the console (settings-reorg spec); the admin PR follows.
Checked: name-check, notice-check, context-check, privacy-check, expr-schema --check and the fork unit tests pass.
The registry knows, for every expression field, the constants it may evaluate to and the variables its conditions may read, and enforces both. The schema served to INBUXA Admin described every one as a bare x:Expression, so the console could offer nothing better than free text. tools/fork/expr-schema.py reads those contexts from the generated registry code and writes them onto each field's type as expression: {constants, variables}. All 124 expression fields are covered. CI runs it with --check so the schema can't drift from the registry.820ef5df2ctoe61a475859