Skip to content

Simplify process-content to use async iteration - #612

Merged
RyanZim merged 2 commits into
masterfrom
ryan/process-content
Aug 13, 2026
Merged

Simplify process-content to use async iteration#612
RyanZim merged 2 commits into
masterfrom
ryan/process-content

Conversation

@RyanZim

@RyanZim RyanZim commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

async/await can make this much cleaner than what we currently have.

@RyanZim
RyanZim requested review from romainmenke and a balanced review from Copilot August 12, 2026 19:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Simplifies parser fallback handling with async/await.

Changes:

  • Replaces recursive promise handling with sequential iteration.
  • Preserves the final parser error when all parsers fail.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@romainmenke romainmenke 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.

Thank you. LGTM 👍

Comment thread lib/process-content.js Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@romainmenke romainmenke 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.

Thank you. LGTM 👍

@RyanZim
RyanZim merged commit 12c722d into master Aug 13, 2026
4 checks passed
@RyanZim
RyanZim deleted the ryan/process-content branch August 13, 2026 15:17
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.

3 participants