By default, each device gets its own schema review and device-scoped mirror table (Documentation Index
Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt
Use this file to discover all available pages before exploring further.
edge_mirror_{device8}_{table}). Registry coalescing lets many devices sharing the same table shape reuse one schema decision and one coalesced mirror.
When to use coalescing
| Scenario | Coalescing mode |
|---|---|
| Heterogeneous devices, different schemas per device | none (default) |
Fleet of identical gateways syncing device_state | fleet |
| Project-wide standard table layout | project |
schema_hash.
How it works
- First device announces hash
Hfor tabletelemetry_readings→ registry review created. - Operator approves with column actions at registry scope.
- Second device sends same hash
H→ device schema auto-approved, rows materialize to shared mirror. - Physical table name pattern:
- Project scope:
edge_mirror_p{project8}_{table} - Fleet scope:
edge_mirror_f{fleet8}_{table}
- Project scope:
Policy configuration
Set coalescing mode at project level:schema_coalescing_mode: none | project | fleet.
Requires Idempotency-Key and manage-devices permission.
Registry HTTP routes (project scope)
| Method | Path | Purpose |
|---|---|---|
| GET | /edge/registry | List schema registry entries |
| GET | /edge/registry/{registry_id} | Registry entry detail |
| GET | /edge/registry-reviews | List registry-level reviews |
| GET | /edge/registry-reviews/{review_id} | Review detail |
| POST | /edge/registry-reviews/{review_id}/claim | Claim review |
| POST | /edge/registry-reviews/{review_id}/approve | Approve with column actions |
| POST | /edge/registry-reviews/{review_id}/reject | Reject |
| POST | /edge/registry-reviews/{review_id}/abandon | Abandon |
| GET | /edge/coalesced-mirrors | List coalesced mirrors |
| GET | /edge/coalesced-mirrors/{mirror_id} | Mirror detail |
| POST | /edge/coalesced-mirrors/{source_table}/consolidate | Phase-2 consolidation |
Consolidation
consolidate merges device-scoped mirrors into a coalesced mirror when migrating from none → project/fleet mode. Use during fleet standardization projects — coordinate with Golain support for large fleets.
platform-tui gap
Registry reviews and coalesced mirror management are HTTP API only today. The TUI covers per-device lineages and device-scoped schema reviews. Usecurl, OpenAPI client, or automation against registry routes until TUI support lands.
Operator checklist (coalesced fleet)
- Set
schema_coalescing_mode=fleeton project policy. - Enroll first device → complete registry review (not just device review).
- Roll out identical schema to additional devices.
- Verify rows in coalesced mirror via
GET .../coalesced-mirrors/{id}. - Query with fleet-scoped filters (device_id column in mirror rows).