If you encounter an issue with any Coder feature, submit a [GitHub issue](https://github.com/coder/coder/issues) or join the [Coder Discord](https://discord.gg/coder).
| [Early Access](#early-access-features) | No | No | GitHub issues | For staging only. Not feature-complete or stable. Disabled by default. |
| [Beta](#beta) | No | Not fully | Docs, Discord, GitHub | Publicly available. In active development with minor bugs. Suitable for staging; optional for production. Not covered by service-level agreement (SLA). |
| [General availability (GA)](#general-availability-ga) | Yes | Yes | License-based | Stable and tested. Enabled by default. Fully documented. Support based on license. |
Coder sometimes releases early access features that are available for use, but are disabled by default.
You shouldn't use early access features in production because they might cause performance or stability issues.
Early access features can be mostly feature-complete, but require further internal testing and remain in the early access stage for at least one month.
| No rule, or `inherit` | Uses the startup `--experiments` default | `coder exp experiment-rules reset <experiment>` |
| `on` | On for every user | `coder exp experiment-rules on <experiment>` |
| `off` | Off for every user, even if the experiment is enabled at startup | `coder exp experiment-rules off <experiment>` |
| `condition` | On for users whose [Common Expression Language (CEL)](https://cel.dev) condition is true, off otherwise | `coder exp experiment-rules set <experiment> <condition>` |
It restores the startup default, which can enable the experiment for every user.
The command prints a warning when that happens.
To turn an experiment off for everyone, use `off`.
Each change increases the rule's revision.
Changing commands accept `--expected-revision` and fail when the stored rule has a different revision.
Without the flag, the command reads the current revision and writes against it, which protects only against a change made between that read and the write.
The command never retries a conflict: it prints the current rule and exits with an error.
If you use [audit logs](../admin/security/audit-logs.md), each change creates an entry with the `experiment_rule` resource type.
The entry records who changed the rule, when, and the old and new condition.
Audit lines in the server log carry the same diff.
#### Condition variables
A condition is a CEL expression that returns a boolean.
It can read one variable, `user`, with these fields:
| `user.roles` | list(string) | The user's explicit site roles, such as `owner`. The implied member role and organization roles are not included. |
| `user.organizations` | list(string) | Names of the organizations the user belongs to |
| `user.groups` | list(string) | Groups the user belongs to, as `<organization>/<group>`, including `<organization>/Everyone` |
A condition can be at most 4,096 characters long, and each evaluation has a CEL cost limit of 10,000.
Coder rejects a condition that fails to compile and returns the error to the person who wrote it.
Log lines about a failed condition record only the experiment, the rule revision, the error category, and the line and column, never the condition text.
#### When a change takes effect
On supporting replicas, a fresh authoritative database read after the update commits observes the new rule.
All serving replicas must run a supporting version before you rely on this control.
Replicas that run an earlier version ignore rules and use their startup `--experiments` list.
Every replica also falls back to its own startup list for experiments without a rule or with `inherit`, so give all replicas the same `--experiments` value.
The dashboard fetches the enabled experiments again when a page loads, when the browser window regains focus, and when the connection is restored, if its copy is more than 60 seconds old.
It doesn't refresh on a timer, so a tab that stays focused can show an out-of-date view.
The server applies the current rule to each request regardless of what the dashboard shows.
#### Failure behavior
If Coder can't read the rules, a stored rule is malformed, or a condition fails to compile or evaluate, the experiment is off for that decision, even if it is enabled at startup.
If you encounter an issue, contact your [Coder account team](https://coder.com/contact), reach out on [Discord](https://discord.gg/coder), or create a [GitHub issues](https://github.com/coder/coder/issues) if there isn't one already.
For support, consult our knowledgeable and growing community on [Discord](https://discord.gg/coder), or create a [GitHub issue](https://github.com/coder/coder/issues) if one doesn't exist already.
Customers with a valid Coder license, can submit a support request or contact your [account team](https://coder.com/contact).
We intend [Coder documentation](https://github.com/coder/coder/blob/main/contributing/documentation.md) to be the [single source of truth](https://en.wikipedia.org/wiki/Single_source_of_truth) and all features should have some form of complete documentation that outlines how to use or implement a feature.
If you discover an error or if you have a suggestion that could improve the documentation, [submit a GitHub issue](https://github.com/coder/internal/issues/new?title=request%28docs%29%3A+request+title+here&labels=["customer-feedback","docs"]&body=please+enter+your+request+here).