Skip to content

Conversation

@DamjanBecirovic
Copy link
Collaborator

@DamjanBecirovic DamjanBecirovic commented Nov 21, 2025

📝 Description

  • jobs_logs now always feeds the cursor (including 0) to Loghub, normalizes the returned slice, and consistently shows either the newest maxLogPreviewLines or the requested chunk; StartLine, PreviewTruncated, and nextCursor match the user-visible contract.

  • Added a table-driven regression test exercising initial truncation, short logs, and cursor-driven pagination, ensuring cursors walk backward and previews contain the expected lines.

✅ Checklist

  • I have tested this change
  • This change requires a documentation update

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants