Add Android APK fleet nodes with Crucible UI integration and tests.
APK wrapper registers platform=android via AETHERFORGE_PLATFORM; fleet UI shows robot icons, Android Access Depth probes, and a shortened mining onion timeline.
This commit is contained in:
@@ -43,3 +43,20 @@ describe('buildLotlTimelineModel atlas skips', () => {
|
||||
expect(ps?.state).toBe('skipped_by_atlas');
|
||||
});
|
||||
});
|
||||
|
||||
describe('buildLotlTimelineModel android', () => {
|
||||
it('shows shortened android chain instead of 14 spread tiers', () => {
|
||||
const model = buildLotlTimelineModel(
|
||||
agent({ platform: 'android', status: 'online', lotl_tier: 'foreground_service' }),
|
||||
['docker', 'powershell', 'dotnet'],
|
||||
[{ tier: 'foreground_service', ok: false }],
|
||||
);
|
||||
expect(model.total).toBe(3);
|
||||
expect(model.tiers.map((t) => t.tier)).toEqual([
|
||||
'foreground_service',
|
||||
'cpu_inprocess',
|
||||
'desktop_tiers_skipped',
|
||||
]);
|
||||
expect(model.tiers.find((t) => t.tier === 'desktop_tiers_skipped')?.state).toBe('skipped');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user