Skip to content

refactor: split media inspector parsers - #53

Merged
edhor1608 merged 1 commit into
mainfrom
repo-refresh-media-inspector-split
May 2, 2026
Merged

edhor1608 merged 1 commit into
mainfrom
repo-refresh-media-inspector-split

Conversation

@edhor1608

@edhor1608 edhor1608 commented May 1, 2026 •

Copy link
Copy Markdown
Owner

Split media inspector image and video parsing into separate modules

  • Extracts image parsing (PPM, PNG, JPEG) into media_image_inspector.ts with a public readImageMetadata function
  • Extracts video parsing (ffprobe invocation, stream selection, fps/duration/bitrate) into media_video_inspector.ts with a public readVideoMetadata function
  • media_inspector.ts retains inspectMedia as the public entry point, delegating to the new modules and assembling the final MediaInspection object

Macroscope summarized 118e8fd.

@coderabbitai

coderabbitai Bot commented May 1, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@edhor1608 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d2915e8e-f0d6-49dc-b876-d175d00cb056

📥 Commits

Reviewing files that changed from the base of the PR and between 010954a and 118e8fd.

📒 Files selected for processing (4)
  • docs/repo_refresh_audit.md
  • src/domain/media_image_inspector.ts
  • src/domain/media_inspector.ts
  • src/domain/media_video_inspector.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch repo-refresh-media-inspector-split
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch repo-refresh-media-inspector-split

Review rate limit: 0/5 reviews remaining, refill in 20 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@edhor1608
edhor1608 force-pushed the repo-refresh-media-inspector-split branch from 898fb2d to d9253d3 Compare May 2, 2026 19:03
@edhor1608
edhor1608 force-pushed the repo-refresh-pixel-visual-invariants branch from 26652cc to c48db8e Compare May 2, 2026 19:03
@edhor1608
edhor1608 marked this pull request as ready for review May 2, 2026 19:03
@edhor1608
edhor1608 force-pushed the repo-refresh-media-inspector-split branch from d9253d3 to f452909 Compare May 2, 2026 19:09
@edhor1608
edhor1608 force-pushed the repo-refresh-pixel-visual-invariants branch from c48db8e to 82a8c1b Compare May 2, 2026 19:09
@edhor1608
edhor1608 force-pushed the repo-refresh-media-inspector-split branch from f452909 to a8ab6cc Compare May 2, 2026 21:25
@edhor1608
edhor1608 force-pushed the repo-refresh-pixel-visual-invariants branch 2 times, most recently from a2171ae to fd4eb18 Compare May 2, 2026 21:27
@edhor1608
edhor1608 force-pushed the repo-refresh-media-inspector-split branch from a8ab6cc to feee0e0 Compare May 2, 2026 21:27
@edhor1608
edhor1608 force-pushed the repo-refresh-pixel-visual-invariants branch from fd4eb18 to a2171ae Compare May 2, 2026 21:29
@edhor1608
edhor1608 force-pushed the repo-refresh-media-inspector-split branch 2 times, most recently from a8ab6cc to dc8204d Compare May 2, 2026 21:32
@edhor1608
edhor1608 force-pushed the repo-refresh-pixel-visual-invariants branch from a2171ae to 4f8d0a6 Compare May 2, 2026 21:32
@edhor1608
edhor1608 changed the base branch from repo-refresh-pixel-visual-invariants to graphite-base/53 May 2, 2026 21:43
@edhor1608
edhor1608 force-pushed the graphite-base/53 branch from 4f8d0a6 to 010954a Compare May 2, 2026 21:45
@edhor1608
edhor1608 force-pushed the repo-refresh-media-inspector-split branch from dc8204d to 118e8fd Compare May 2, 2026 21:45
@edhor1608
edhor1608 changed the base branch from graphite-base/53 to main May 2, 2026 21:45
@edhor1608
edhor1608 merged commit 613b8f7 into main May 2, 2026
4 checks passed
@edhor1608
edhor1608 deleted the repo-refresh-media-inspector-split branch May 15, 2026 18:54
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.

1 participant