Add delivery metadata support, preferred channels, and enhanced agent validation

This commit introduces delivery metadata tracking for gateway commands, updates, and shells. Adds preferred delivery channel handling, refined validation for edge agents, improved relay management logic, and broker presence reporting. Includes schema changes, enhanced shell handling, and test coverage.
This commit is contained in:
Jeppe Bundgaard
2026-04-16 13:44:28 +02:00
parent d4d162d38a
commit d30a006457
16 changed files with 2188 additions and 160 deletions
@@ -27,4 +27,6 @@ it('stores edge gateway heartbeats, bindings, shell transcripts, and shell polli
expect($bootstrapContent)->toContain('payload_json JSON NULL');
expect($bootstrapContent)->toContain('event_type VARCHAR(32) NOT NULL');
expect($bootstrapContent)->toContain('context_json JSON NULL');
expect(substr_count($bootstrapContent, 'delivery_json JSON NULL'))->toBeGreaterThanOrEqual(3);
expect($bootstrapContent)->toContain('ADD COLUMN delivery_json JSON NULL');
});