Skip to content

fix(tail-log): reconnect stream after EOF so CLI survives log rotation#726

Merged
angi-acs merged 1 commit into
adobe:mainfrom
GeorgeAlexandru:fix/tail-log-reconnect-retrigger
Jun 16, 2026
Merged

fix(tail-log): reconnect stream after EOF so CLI survives log rotation#726
angi-acs merged 1 commit into
adobe:mainfrom
GeorgeAlexandru:fix/tail-log-reconnect-retrigger

Conversation

@GeorgeAlexandru

@GeorgeAlexandru GeorgeAlexandru commented Jun 16, 2026

Copy link
Copy Markdown

Summary

Removes a trailing space from the copyright header in tail-log.js that was introduced in #725 and caused ESLint (no-trailing-spaces) to fail in the release workflow.

Closes: #724

🤖 Generated with Claude Code

…fixes adobe#724

Replaces the single executeWithRetries call with a while(true) reconnect loop.
When the log stream ends at midnight UTC (daily log rotation), the CLI now
waits 2 seconds and reconnects instead of exiting silently.

Transient errors without error.code (404, network drops, Azure SAS expiry)
are swallowed and retried. Fatal CLI-coded errors (MAX_RETRY_REACHED,
NO_IMS_CONTEXT) are still re-thrown immediately.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@GeorgeAlexandru GeorgeAlexandru force-pushed the fix/tail-log-reconnect-retrigger branch from 85d37e0 to 91b8073 Compare June 16, 2026 12:32
@angi-acs angi-acs merged commit f9c971f into adobe:main Jun 16, 2026
6 checks passed
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