Skip to content

feat: add demonstration videos and previews for 9 dumbbell exercises - #12

Merged
CodeWithCJ merged 1 commit into
mainfrom
feat/dumbbell-arm-shoulder-videos
Dec 5, 2026
Merged

CodeWithCJ merged 1 commit into
mainfrom
feat/dumbbell-arm-shoulder-videos

Conversation

@CodeWithCJ

Copy link
Copy Markdown
Owner

Description

What does this PR change?
Adds optimized demonstration videos, static WebP thumbnails, and animated WebP previews for 8 dumbbell arm and shoulder exercises, and optimizes and adds previews for sf-arms-db-0001.

Source of new data or media:
Original SparkyFitness exercise demonstration videos and renders.

Linked Issue:

PR Type

  • New or changed exercises
  • Media
  • Tooling / schema
  • Documentation

Checklist

  • [MANDATORY - ALL] Integrity & License: I certify this is my own work or properly licensed, free of malicious code, and I agree to the License terms.
  • [MANDATORY for media] Rights & consent: I have the rights to the new or changed images and videos, and anyone shown, or used as source footage, agreed to this use. Skip this if the PR has no media.

AI Assistance

Pick one. This helps maintainers choose how closely to review.

  • No AI: I wrote this change without AI tools.
  • AI, reviewed line by line: AI wrote part of this. I read every generated line and edited it before accepting.
  • AI, tested and partly understood: AI wrote most of this. I tested the behavior, but I only partly understand the generated code.
  • AI, tested only: AI wrote this and I did not review the code myself. I tested the behavior only.

Notes for Reviewers

Exercises updated:

  • sf-arms-db-0001 (Dumbbell Alternate Biceps Curl)
  • sf-arms-db-0002 (Dumbbell Biceps Curl)
  • sf-arms-db-0005 (Dumbbell Cross Body Hammer Curl)
  • sf-arms-db-0006 (Dumbbell Decline Triceps Extension)
  • sf-arms-db-0009 (Dumbbell Incline Biceps Curl)
  • sf-arms-db-0012 (Dumbbell Incline Hammer Curl)
  • sf-arms-db-0013 (Dumbbell Incline Inner Biceps Curl)
  • sf-shld-db-0080 (Dumbbell Side-Lying External Rotation)
  • sf-shld-db-0081 (Dumbbell Full Can Scaption)

All videos are silent (audio stripped with -an), compressed under 1.05 MB, and pass pnpm validate.

@strix-security

strix-security Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Strix Security Review

✅ No open security findings.

PR summary: Adds optimized silent demonstration MP4s, animated WebP previews and static WebP thumbnails for eight dumbbell arm and shoulder exercises, and replaces/optimizes the existing video for `sf-arms-db-0001`. The change is 27 binary media files with no code, schema or metadata updates.

Review summary

This PR is a media-only change: it adds 8 new sets of demonstration assets (MP4 video, animated WebP preview and static WebP thumbnail) under exercises/sf-arms-db-* and exercises/sf-shld-db-*, and replaces the existing sf-arms-db-0001 MP4. No source code, schema, build script or exercise metadata is modified.

I reviewed every changed file: verified the binary containers of the added MP4/WebP assets (magic bytes, RIFF/WebP chunk and MP4 box structure, trailing data, polyglot content, embedded scripts) found no payload beyond ordinary media, and traced how the media pipeline (scripts/validate.mjs, scripts/build.mjs, scripts/lib/media-discovery.mjs, scripts/prepare-site.mjs) consumes them. Two pipeline weaknesses raised during that trace — path trust for sources.media[].files values and symlink dereference in the site copy step — were examined against the actual code and found either unreachable or already pre-existing, with no new input from this change feeding them.

No security vulnerabilities were found in the changed assets.

Ruled out (2)
  • Can a symbolic link committed under exercises/ make the site build copy files from outside the repository?
    The missing symlink containment is real but pre-existing, and this PR adds only regular mode-100644 media files, so it introduces neither the dereference nor an input that reaches it.
  • Can a crafted sources.media[].files value in exercise.json make the build publish an arbitrary repository file?
    No exercise.json is changed by this PR, copy() fails closed on out-of-tree paths, and the ceiling is republishing an already-public in-repo file by an actor who can already edit committed content.

Review 1 on this PR · 4d73a2b · requested Dec 5 23:28 UTC when the PR was opened


Reviewed by Strix
Re-run review · Configure security review settings · Try a deeper review with @strix-security /deep

@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bf9354a4-d46f-4368-ab8c-7ecc116d2a87
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@CodeWithCJ
CodeWithCJ merged commit 4fdecf7 into main Dec 5, 2026
8 checks passed
@CodeWithCJ
CodeWithCJ deleted the feat/dumbbell-arm-shoulder-videos branch December 5, 2026 23:28
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