Skip to content

Backport(v1.19): in_tail: extract periodic file discovery into DirWatcher (#5554) - #5559

Open
github-actions[bot] wants to merge 1 commit into
v1.19from
backport-to-v1.19/pr5554
Open

github-actions[bot] wants to merge 1 commit into
v1.19from
backport-to-v1.19/pr5554

Conversation

@github-actions

Copy link
Copy Markdown

Which issue(s) this PR fixes:
Backport #5554
None.

What this PR does / why we need it:

Move existing path expansion and watcher reconciliation into an included
DirWatcher module without changing behavior. Keep lifecycle ordering and
per-file watcher operations in TailInput.

A follow-up PR will add event-based directory watching. This refactoring
prepares for that feature by grouping the existing discovery logic, without
adding directory events or new settings.

Docs Changes:
None.

Release Note:
This is an internal refactoring with no intended behavior change.

Assisted-by: LLM GPT-6.1 Sol (OpenAI)

**Which issue(s) this PR fixes**:
None.

**What this PR does / why we need it**:

Move existing path expansion and watcher reconciliation into an included
DirWatcher module without changing behavior. Keep lifecycle ordering and
per-file watcher operations in TailInput.

A follow-up PR will add event-based directory watching. This refactoring
prepares for that feature by grouping the existing discovery logic,
without
adding directory events or new settings.

**Docs Changes**:
None.

**Release Note**:
This is an internal refactoring with no intended behavior change.

Assisted-by: LLM GPT-6.1 Sol (OpenAI)

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Watson1978 Watson1978 added this to the v1.19.5 milestone Oct 18, 2026
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