Skip to content

Register nat-lab log collector before client start steps - #1971

Merged
gytsto merged 1 commit into
mainfrom
natlab-register-log-collector-early
Aug 28, 2026
Merged

Register nat-lab log collector before client start steps#1971
gytsto merged 1 commit into
mainfrom
natlab-register-log-collector-early

Conversation

@gytsto

@gytsto gytsto commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Problem

A client that fails during startup leaves no telio, system event, or setupapi logs in the test artifacts — LogCollector is registered only after the adapter is up, so exactly the failures that need device-side logs collect none.

Solution

Register the collector right after the remote process is ready, before the start steps. Log fetching already tolerates a missing log file, and LOG_COLLECTORS is cleared per test, so nothing double-collects.

☑️ Definition of Done checklist

  • Commit history is clean (requirements)
  • README.md is updated
  • Functionality is covered by unit or integration tests

@gytsto
gytsto requested a review from a team as a code owner August 26, 2026 11:52
@gytsto
gytsto deployed to Internal August 26, 2026 11:56 — with GitHub Actions Active
A client that fails in start_named left no telio, system, or setupapi
logs - registration happened only after the adapter came up, so the
failures that most need device-side logs collected none.

Signed-off-by: Gytis Stoškevičius <gytisstoskevicius@gmail.com>
@gytsto
gytsto force-pushed the natlab-register-log-collector-early branch from 8865cb5 to 52c0464 Compare August 26, 2026 11:59
@gytsto
gytsto deployed to Internal August 26, 2026 12:00 — with GitHub Actions Active

@matislovas matislovas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

@gytsto
gytsto added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit 1d2ea36 Aug 28, 2026
62 of 64 checks passed
@gytsto
gytsto deleted the natlab-register-log-collector-early branch August 28, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants