Skip to content

Add fake backend for deterministic testing#19

Merged
logbasem merged 9 commits intoSooner-Rover-Team:mainfrom
onkoe:feat/fake_backend
Feb 25, 2026
Merged

Add fake backend for deterministic testing#19
logbasem merged 9 commits intoSooner-Rover-Team:mainfrom
onkoe:feat/fake_backend

Conversation

@onkoe
Copy link
Member

@onkoe onkoe commented Feb 19, 2026

We can now test both the frontend and backend together, all without needing a Linux machine!

very zoomed in screenshot of home page

Changes

  • Make Video4Linux 2 Rust library (v4l crate) required only on Linux
  • Make actual backend compile to an error message if ran on macOS/Windows/etc.
  • Create a fake backend
  • Fix vite configuration bug disallowing /stream endpoints
  • Fix the frontend not showing the video player
  • Fix README formatting (headings of random levels were literally everywhere bruh)
  • Add fake backend running instructions to README

Checklist

  • Add fake backend run instructions to README

@onkoe onkoe force-pushed the feat/fake_backend branch from b33f43c to e7fcc3b Compare February 19, 2026 17:18
@onkoe onkoe force-pushed the feat/fake_backend branch from e7fcc3b to 153494f Compare February 19, 2026 17:20
@onkoe onkoe requested a review from logbasem February 19, 2026 17:23
@onkoe
Copy link
Member Author

onkoe commented Feb 19, 2026

uhhh. github isn't showing the newest commit. but i fixed an incomplete sentence in the README that i left accidentally, then i force-pushed:

image

anyway, please leave a note if you still find mistakes ;D

Copy link

@logbasem logbasem left a comment

Choose a reason for hiding this comment

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

Looks great overall, I did ask a couple questions and also I think you should add videoDivRef to the css file but other than that this is good to go 👍

@logbasem logbasem merged commit 70e5d60 into Sooner-Rover-Team:main Feb 25, 2026
2 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