Features / Sandbox App & Deploy
Sandbox App & Deploy
Feature flags no longer have a Test and a Live side. The key decides. Every App that has users has a Sandbox App: its own App, with its own flags, users and keys. Your development builds use the Sandbox App's onelo_pk_test_* key and read its flags; production uses the App's onelo_pk_live_* key and reads the App's flags. The flags' former Test values moved to the Sandbox App; their Live values stayed on the App.
Which flags a build reads
The Features section shows the flags of whichever App is open in the top bar — the App or its sandbox. There is open the Sandbox App to change what development builds see, or the App to change production values.
| Key | environment sent by the SDK | Result |
|---|---|---|
| App key | — | The App's flags |
| App key | test (transition only) | The Sandbox App's flags, with an Onelo-Warning header |
| Sandbox App key | — | The Sandbox App's flags |
| Sandbox App key | live | Refused (400): the key decides |
environment=test still reads the Sandbox App and shows a warning; switch that build to the Sandbox App's key. This compatibility path is removed in the next major SDK: it will refuse environment=test instead of selecting the Sandbox App.New flags are discovered only in the Sandbox App. A production build registers nothing.
Deploy — staging, then publishing
Nothing you edit is live immediately. Edits stage as pending; the SDK keeps serving the last deployed snapshot until you press Deploy for the open App.
Edit anything
unsaved changes).Click 🚀 Deploy
The snapshot is promoted and broadcast
Connected instances — who's online, on which version
The deploy panel shows your live fleet — N apps online, a per-platform breakdown, and version bars (how many instances run each config version, and the % on the latest). Expand Show N connected instances for the detail; rows are grouped by (platform, app version, SDK version, config):
| Column | What it shows |
|---|---|
| Platform | The SDK platform — swift, python, electron, js, react-native, android, flutter. |
| App ver | Your app's version (— if the SDK doesn't send one). |
| SDK ver | The Onelo SDK version (e.g. 0.5.0a20). |
| Config | Which deployed version (e.g. v196) that instance is currently on — so you can see who is still behind right after a deploy. |
| Instances | How many running copies are in that group — shown as N when all are online, or online/total. |
| Last seen | "online" if live now, otherwise the time it last connected. |
Two filters: Platform (all, or a single platform) and Online only (on by default — uncheck to also list instances that are offline now, with their last-seen time and the last config version they held).
Moving sandbox changes to production
Changes made in the Sandbox App reach the App through Promote to production, one screen for every module, approved by a person in the panel. An AI agent prepares it with application.prepare_promotion; a person then reviews and approves the selectable diff in the panel.
Clear all features
🗑 Clear all features (Registry header) is the nuclear option. It permanently deletes every feature of the open App — both active and archived — together with:
- All targeting rules and plan mappings
- All feature packs and pack items
- All per-user feature overrides
- All monitor events, aggregates, and history
hidden on the next batch-ping; production builds register nothing, so in the App the slugs stay gone until you re-add them.