Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
520 commits
Select commit Hold shift + click to select a range
108db93
build(nixos): platform-mark hardware-only deps so uv sync works on x8…
mrosseel Jul 4, 2026
8a71ef4
fix(nixos): drop full linux-firmware (723MB) — Pi 4 needs only the Br…
mrosseel Jul 5, 2026
740ca3c
ci: sync release.yml (tarball budget guard)
mrosseel Jul 5, 2026
bbbadb5
docs(nixos): ADR 0007 — extlinux and kernels on ext4, FAT is firmware…
mrosseel Jul 5, 2026
042af10
fix(nixos): first-boot resolves from the manifest unconditionally — d…
mrosseel Jul 5, 2026
754e5aa
fix(nixos): bake the first-boot fallback target into the migration im…
mrosseel Jul 5, 2026
a1cd400
fix(nixos): first-boot writes current-build.json — the device identit…
mrosseel Jul 5, 2026
a05ec81
fix(nixos): stable udev name for the GPS UART — kernel ttyAMA numberi…
mrosseel Jul 5, 2026
51b8abf
fix(software): hide the exact running build from the unstable list
mrosseel Jul 5, 2026
6bf94c3
fix(gps): correct UBX NAV-SVINFO field offsets (off by one)
mrosseel Jul 5, 2026
b15b66d
fix(gps): decode NAV-SAT per spec for protVer >= 15 receivers
mrosseel Jul 5, 2026
77aef3b
fix(gps): don't count acquisition candidates as satellites seen
mrosseel Jul 6, 2026
a1107a5
fix(gps): count acquiring satellites as seen, not only code-locked ones
mrosseel Jul 6, 2026
21d2c95
merge: bring nixos up to date with upstream/main
mrosseel Jul 10, 2026
50603c5
fix(nixos): gate manifest availability on real cache presence
mrosseel Jul 10, 2026
336b42c
fix(nixos): override imx462 xclk to 74.25 MHz so the camera streams
mrosseel Jul 11, 2026
240d2dd
style: reformat with ruff 0.4.8 (the version CI pins)
mrosseel Jul 11, 2026
44a3673
ci(nixos): drive lint/type/test checks with uv — this branch retired nox
mrosseel Jul 11, 2026
b6664c4
fix(sys): restart the full pifinder.service unit name so the NixOS su…
mrosseel Jul 11, 2026
6370802
feat(nixos): advertise Samba share over mDNS via avahi (_smb._tcp)
mrosseel Jul 11, 2026
028fbdb
feat(nixos): add on-device dev shell, wire into direnv, CI and docs
mrosseel Jul 12, 2026
7f471d0
fix(nixos): make Samba share guest-accessible like Raspbian (no passw…
mrosseel Jul 12, 2026
c8d7ae2
merge: bring nixos up to date with upstream/main
mrosseel Jul 13, 2026
a651263
feat(nixos): pygame SDL runpath fix + sys_utils dev fallback for loca…
mrosseel Jul 13, 2026
7e81c63
fix(nixos): drop unwired pygame keyboard drain that stole keypresses
mrosseel Jul 13, 2026
7ca7c94
refactor(nixos): gate on-device dev git/rsync behind pifinder.devMode
mrosseel Jul 13, 2026
50a0b2f
fix(imu): bit-banged I2C bus + resilient IMU monitor loop
mrosseel Jul 13, 2026
80a4513
fix(nixos): expose SkySafari and stabilize mDNS
mrosseel Jul 13, 2026
30a6dc1
fix(solver): re-open cedar shmem per solver generation
mrosseel Jul 13, 2026
b0f4136
Make `nix develop` work on MacOS (apple silicon)
jscheidtmann Jun 29, 2026
0ee8f68
fix(update): report the running build, not the pre-reboot label
mrosseel Jul 13, 2026
0d08d00
fix(web): network settings apply live — no restart, honest button
mrosseel Jul 13, 2026
63c8cb1
feat: screen off burn-in protection + debug camera test mode
mrosseel Jun 18, 2026
1cc86e5
style: format camera interface with CI ruff
mrosseel Jul 11, 2026
ed2f7e2
feat: dev mode toggle gating the unstable update channel
mrosseel Jul 13, 2026
84d865a
feat(focus): add raw multi-star focus views
mrosseel Jul 14, 2026
8b33c1d
merge: sync upstream/main into nixos
mrosseel Jul 14, 2026
2f23e8f
feat(sqm): self-calibrating SQM: raw-green photometry, per-frame blac…
mrosseel Jul 14, 2026
f8a76ab
fix(main): require 7x SQUARE dev-mode gesture within a 10s window
mrosseel Jul 14, 2026
edb35a5
fix(focus): center quadrants below title bar
mrosseel Jul 14, 2026
af27c3b
test(focus): cover all display geometries
mrosseel Jul 14, 2026
40877e0
feat(sqm): self-calibrating SQM: raw-green photometry, per-frame blac…
mrosseel Jul 14, 2026
fe331c1
fix(focus): keep preview compatible with Python 3.9
mrosseel Jul 14, 2026
88c1187
refactor(sqm): remove dead noise-floor wiring from the SQM path
mrosseel Jul 14, 2026
21ff721
fix(sqm): robust mzero — median over stars, 70% nonlinearity cut, B-V…
mrosseel Jul 14, 2026
3fd4b0e
fix(sqm): robust mzero — median over stars, 70% nonlinearity cut, B-V…
mrosseel Jul 14, 2026
a2943af
fix: accept -1 (screen off) power state and silence spurious log errors
mrosseel Jul 14, 2026
d4fe46f
feat(sqm): per-sensor sky-passband offset (V-band meter scale)
mrosseel Jul 14, 2026
6e867f5
fix(test-mode): re-apply fake GPS at startup when test mode was persi…
mrosseel Jul 14, 2026
9cefd1c
feat(sqm): per-sensor sky-passband offset (V-band meter scale)
mrosseel Jul 14, 2026
8d98731
fix: make camera test mode follow shared state so it survives restarts
mrosseel Jul 14, 2026
33c0efe
fix(focus): stabilize star centroids and quadrant tracking
mrosseel Jul 14, 2026
ef57317
fix(sqm): compute SQM on imx462/290 and hide default until measured
mrosseel Jul 14, 2026
df332b4
fix(sqm): set imx462/imx290 raw bias_offset to measured 238 ADU
mrosseel Jul 15, 2026
d2e12f0
fix(sqm): stop PedestalEstimator overriding the measured black level
mrosseel Jul 15, 2026
edd23a4
fix(sqm): CAL wizard must send typed ReloadSqmCalibration to the solver
mrosseel Jul 15, 2026
0ee63d6
fix(sqm): set imx462/imx290 raw bias_offset to measured 238 ADU
mrosseel Jul 15, 2026
5b94834
fix(sqm): stop PedestalEstimator overriding the measured black level
mrosseel Jul 15, 2026
6f8ffce
fix(sqm): compute SQM on imx462/290 and hide default until measured
mrosseel Jul 15, 2026
39470c0
feat(sqm): randomize sweep exposure order
mrosseel Jul 15, 2026
4c187c1
fix(sqm): CAL wizard must send typed ReloadSqmCalibration to the solver
mrosseel Jul 15, 2026
2f1f0e9
feat(sqm): randomize sweep exposure order
mrosseel Jul 15, 2026
cc839c9
fix(focus): show single star after quadrant view
mrosseel Jul 15, 2026
14a7a0e
feat(sqm): record effective photometry constants in sweep metadata
mrosseel Jul 15, 2026
8e50e55
feat(sqm): record effective photometry constants in sweep metadata
mrosseel Jul 15, 2026
7f7ab18
feat(focus): stretch full-frame Image view
mrosseel Jul 15, 2026
0507b39
fix(focus): refine readouts, Image contrast, and Single zoom
mrosseel Jul 15, 2026
42c1add
fix(comets): restore vectorized propagation in Nix env
mrosseel Jul 15, 2026
041c92d
docs(sqm): band offset is site-regime dependent, not a pure sensor co…
mrosseel Jul 15, 2026
fa02bec
docs(sqm): band offset is site-regime dependent, not a pure sensor co…
mrosseel Jul 15, 2026
811bfa7
fix(nixos): keep current Skyfield with batched comet support
mrosseel Jul 15, 2026
d72c840
fix(focus): center sparkline gap on readout
mrosseel Jul 15, 2026
107cb7b
fix(focus): space history from rendered number outline
mrosseel Jul 15, 2026
660096d
feat(sqm): session anchor from a reference-meter reading
mrosseel Jul 15, 2026
9a8e173
feat(sqm): session anchor from a reference-meter reading
mrosseel Jul 15, 2026
64eba8c
fix(focus): expire stale history while frames are missing
mrosseel Jul 15, 2026
e88a595
feat(sqm): measured imx296 constants from the 2025-10-31 mono sweep
mrosseel Jul 15, 2026
63030cd
feat(sqm): measured imx296 constants from the 2025-10-31 mono sweep
mrosseel Jul 15, 2026
3ad469a
merge: sqm-fix into nixos
mrosseel Jul 15, 2026
948906c
refactor(sqm): delete the processed-image (PNG) SQM path
mrosseel Jul 15, 2026
d89ff95
merge: sqm-fix into nixos (session anchor, imx296 constants, PNG-path…
mrosseel Jul 15, 2026
1f78ca4
feat(sqm): session anchor from a reference-meter reading
mrosseel Jul 15, 2026
8d4a88e
feat(sqm): measured imx296 constants from the 2025-10-31 mono sweep
mrosseel Jul 15, 2026
7e8a550
refactor(sqm): delete the processed-image (PNG) SQM path
mrosseel Jul 15, 2026
4a3af5e
refactor(sqm): rename Anchor feature to Correct; drop dead correction…
mrosseel Jul 15, 2026
672e727
fix(devshell): add bashInteractive so bash has progcomp/readline
mrosseel Jul 15, 2026
f5955e1
fix(sqm): guard None dark_current in calc; always record sweep SQM me…
mrosseel Jul 15, 2026
85d2524
fix(sqm): create the SQM calculator lazily, on the first solve
mrosseel Jul 16, 2026
730d044
merge: sqm-fix into nixos (lazy SQM calculator creation)
mrosseel Jul 16, 2026
6a9b52b
test(solver): pin cedar shmem reopen-on-restart contract
mrosseel Jul 16, 2026
9d933b5
fix(web): accept comma or period decimal separator in location entry
mrosseel Jul 16, 2026
396bc58
feat(sqm): recalibrate hq sqm_band_offset from 4 referenced sweeps
mrosseel Jul 16, 2026
c3bed19
fix(sqm): reject noise-collapsed wing boundaries; recalibrate band of…
mrosseel Jul 16, 2026
0d2edf0
feat(ui): software update screen polish
mrosseel Jul 16, 2026
552b198
merge: sqm-fix into nixos (wing-boundary floor, band offset recalibra…
mrosseel Jul 16, 2026
6aed601
fix(ui): lift update status line 2px clear of the screen edge
mrosseel Jul 16, 2026
e14251a
chore: retrigger build (built_at manifest stamp)
mrosseel Jul 16, 2026
90ad7c7
fix(software): disable migration unlock on NixOS systems
mrosseel Jul 16, 2026
0e10a6b
refactor(ui): replace 7x-square gestures with Dev Mode menu toggle
mrosseel Jul 16, 2026
a6e8f26
refactor(software): delete the NixOS migration UI flow
mrosseel Jul 16, 2026
812f9b4
chore: retrigger build (built_at manifest stamp)
mrosseel Jul 16, 2026
aac1347
fix(sqm): derotate centroids onto the raw; growth-curve aperture corr…
mrosseel Jul 17, 2026
2d8bbb8
merge: sqm-fix into nixos (SQM rotation fix, growth-curve aperture co…
mrosseel Jul 17, 2026
57b0a9d
feat(sqm): refit imx296 band offset for the growth-curve pipeline
mrosseel Jul 17, 2026
e3cd1cb
merge: sqm-fix into nixos (imx296 band offset refit)
mrosseel Jul 17, 2026
ac9d581
fix(sqm): exposure-invariant zero point; wing-safe annulus; sensor te…
mrosseel Jul 17, 2026
88dd132
merge: sqm-fix into nixos (exposure-invariant zero point, wing-safe a…
mrosseel Jul 17, 2026
7487cee
feat(nixos): boot and display support for CM4-based PiFinder v4
mrosseel Jul 17, 2026
a4d87bc
feat(sqm): radiometer-first architecture with star-maintained calibra…
mrosseel Jul 17, 2026
f16dbde
merge: upstream main into sqm-fix (SCREEN_ROTATE_AMOUNTS x solve_rota…
mrosseel Jul 17, 2026
7e85d48
merge: sqm-fix into nixos (radiometer-first SQM, black-level tracking…
mrosseel Jul 17, 2026
95a4e59
feat(sqm): per-image sweep metadata JSON with radiometry and sensor temp
mrosseel Jul 17, 2026
be8aa92
merge: sqm-fix into nixos (per-image sweep metadata JSON)
mrosseel Jul 17, 2026
f13c527
feat(sqm): dump full rolling-window tracker state into sweep metadata
mrosseel Jul 17, 2026
85e898a
merge: sqm-fix into nixos (tracker window dumps in sweeps)
mrosseel Jul 17, 2026
ce1f5eb
fix(nixos-upgrade): decide camera boot entry against the new build, n…
mrosseel Jul 17, 2026
c09248d
fix(sqm): black-level lease + calibration evidence for imx296 charact…
mrosseel Jul 18, 2026
8829538
merge: sqm-fix into nixos (black-level lease, calibration evidence, s…
mrosseel Jul 18, 2026
b12bf46
fix(sqm): CI green — mypy Optional narrowing in color_index, ruff-for…
mrosseel Jul 18, 2026
72d8fe1
feat(telemetry): record radiometer samples as radio events
mrosseel Jul 18, 2026
1c99851
feat(sqm)!: remove SQM Correct; SWEEP takes the down menu slot
mrosseel Jul 18, 2026
4730924
merge: sqm-fix into nixos (radio telemetry, SQM Correct removal, SWEE…
mrosseel Jul 18, 2026
e9a16a9
chore(sqm): drop editorializing marking-menu comment
mrosseel Jul 18, 2026
6cfdb75
merge: sqm-fix into nixos (comment cleanup)
mrosseel Jul 18, 2026
f711f27
chore(nixos): untrack nix build result symlinks
mrosseel Jul 18, 2026
7a550fd
fix(test): drop stale UIMigration refs from test_ui_modules
mrosseel Jul 18, 2026
0851ca5
fix(test): match test_radec_entry to current radec_entry API
mrosseel Jul 18, 2026
4f195af
feat(sqm): per-frame optical-black pedestal for IMX290/IMX462
mrosseel Jul 18, 2026
6c4db85
docs(sqm): document per-frame optical-black pedestal (IMX290/462)
mrosseel Jul 18, 2026
fa9b1a2
build(nixos): drop dev caches from the runtime source closure
mrosseel Jul 18, 2026
06bcd47
chore(sqm): disable black-level tracker to isolate optical-black pede…
mrosseel Jul 19, 2026
8b7d664
fix(sqm): scale photometry and wing geometry to the photometry image
mrosseel Jul 19, 2026
47f088a
fix(sqm): tracked black level supersedes static bias, wizard or profile
mrosseel Jul 19, 2026
2a9c94d
fix(sqm): wizard captures gate on actual exposure and skip clamp settle
mrosseel Jul 19, 2026
2354693
fix(nixos): content-address the kernel OB patch to stop repo-wide reb…
mrosseel Jul 19, 2026
e8ae101
feat(sqm): correct IMX462 dark-sky spectral excess
mrosseel Jul 19, 2026
53a124d
Merge pull request #30 from mrosseel/sqm-optical-black
mrosseel Jul 21, 2026
2bbdd5c
ci(nixos): ARM-primary testable build (ubuntu-24.04-arm first, pi5 la…
mrosseel Jul 21, 2026
f4a59a3
feat(telemetry): section checklist, size cap, recomputable radio event
mrosseel Jul 22, 2026
1ca2fe5
merge: upstream/main into nixos
mrosseel Jul 24, 2026
e7f7a43
merge: upstream/main into nixos (full-sensor sweeps, PR #544)
mrosseel Jul 29, 2026
4de3901
fix(ci): manifest job checks out the PR base, not the default branch
mrosseel Jul 29, 2026
7165024
chore(nixos): retire the preview label and correct stale channel docs
mrosseel Aug 15, 2026
b485e3b
Pausing 2.6.2 updates until migration for rev4 lensing can be sorted
brickbots Aug 17, 2026
1a4e718
Merge pull request #35 from mrosseel/nixos-retire-preview
mrosseel Aug 17, 2026
b8230c0
fix(nearby): rank against true angular distance, in a bounded window
mrosseel Aug 17, 2026
7567a65
Merge pull request #38 from mrosseel/fix/nearby-ranking
mrosseel Aug 17, 2026
5ebd13f
perf(observations): resolve logged identities once and share the cache
mrosseel Aug 18, 2026
dc7b527
merge: current upstream/main into nixos
mrosseel Aug 18, 2026
b38ba63
merge: upstream/main into nixos (v2.6.3 wave)
mrosseel Aug 22, 2026
efc75c2
Release 2.6.3
brickbots Aug 27, 2026
1b45a32
Merge branch 'main' into release
brickbots Aug 27, 2026
31c900c
Merge branch 'main' into release
brickbots Aug 27, 2026
d774bb1
merge: nixos-cm4 into nixos (CM4 boot and display for v4)
mrosseel Aug 27, 2026
9361d77
fix(nixos): apply the power-off latch to the CM4 device tree only
mrosseel Aug 27, 2026
5dcac25
test(db): point the observed-cache tests at the query that runs
mrosseel Aug 27, 2026
b239836
merge: upstream/main into nixos (2.6.3 release wave)
mrosseel Aug 27, 2026
d0c7d27
Merge branch 'main' into release
brickbots Aug 28, 2026
86d9c2a
docs(bom): warn against the similar but incompatible Adafruit 2472 BN…
brickbots Sep 3, 2026
5d4fbb1
ci(nixos): free GitHub ARM primary, Pi5 self-hosted as last-resort fa…
mrosseel Sep 4, 2026
4d3adee
feat(nixos): delta prefetch for upgrades via pifinder-differ (#42)
mrosseel Sep 4, 2026
6843b0d
feat(web): add Data page to browse the PiFinder data folder (#43)
mrosseel Sep 4, 2026
f1b969a
Merge branch 'main' into release
brickbots Sep 23, 2026
6cb9f76
chore(nixos): bump nixpkgs to the last nixos-25.11 commit (#46)
mrosseel Sep 24, 2026
1fc7127
fix(nixos): root only through sudo, and keep rollback generations
mrosseel Sep 24, 2026
e6ad8e1
fix(web): login for the /api control and camera endpoints
mrosseel Sep 24, 2026
64ae6e7
fix(upgrade): trust only the cache keys in the Nix config
mrosseel Sep 24, 2026
5cd635d
fix(nixos): first boot waits for the clock, then retries
mrosseel Sep 24, 2026
f1aafb0
ci(release): current dev cache key, read-only default permissions
mrosseel Sep 24, 2026
e12bd8d
Merge pull request #47 from mrosseel/fix/nixos-hardening
mrosseel Sep 25, 2026
92791b3
fix(nixos): first boot boots the camera from before the migration (#48)
mrosseel Sep 25, 2026
eda3622
feat(nixos): move nixpkgs to NixOS 26.05 (#49)
mrosseel Sep 25, 2026
fb59bdc
fix(delta): import patched paths only through Nix's signature check (…
mrosseel Sep 25, 2026
45ea5c7
feat(nixos): switch on delta prefetch for upgrades (#51)
mrosseel Sep 25, 2026
693af20
fix(nixos): libcamera 0.7.2 so picamera2 finds the camera on 26.05 (#53)
mrosseel Sep 25, 2026
1731d41
fix(web): Data page lists a folder with a symlink out of the data roo…
mrosseel Sep 25, 2026
147fe3b
fix(delta): build patches on the SD card, not in the 200 MiB /tmp (#54)
mrosseel Sep 25, 2026
56046f2
feat(delta): log one summary line per upgrade (#55)
mrosseel Sep 25, 2026
6df2e5b
fix(nixos): keep mDNS up after the custom hostname is applied (#56)
mrosseel Sep 25, 2026
deced2c
feat(delta): stage patches for nix build, 3 at a time, and show the s…
mrosseel Sep 25, 2026
c14c33a
fix(nixos): drop the kmem group from the pifinder user (#58)
mrosseel Sep 25, 2026
fd3faaf
fix(delta): create the job dir before the space check, and add an e2e…
mrosseel Sep 25, 2026
6277e15
fix(hardware): identify a Compute Module for Blinka when the revision…
mrosseel Sep 25, 2026
f1310e6
fix(hardware): detect rev4 by the board model when no battery is in (…
mrosseel Sep 25, 2026
47a88b4
fix(nixos): boot splash fills the v4 panel with a 176x176 image (#64)
mrosseel Sep 25, 2026
3775008
Merge branch 'main' into release
brickbots Sep 26, 2026
559bbbb
test(optics): load tetra3 from the package, not the old submodule (#65)
mrosseel Sep 26, 2026
f983c4b
perf: cut the PiFinder start time by about half (#66)
mrosseel Sep 26, 2026
2108801
ci: run all integration tests except the web tests (#67)
mrosseel Sep 26, 2026
9abd11c
fix(nixos): give /, /var and the other top-level directories back to …
mrosseel Sep 26, 2026
f8f74f8
fix(delta): wait once per round for patches, and show each patch step…
mrosseel Sep 26, 2026
f434100
fix(upgrade): refuse a build that cannot mount the root file system (…
mrosseel Sep 26, 2026
bdc4977
fix(nixos): mount root from the second partition, ext4 or btrfs (#71)
mrosseel Sep 26, 2026
ff51665
fix(nixos): root is btrfs only (#72)
mrosseel Sep 26, 2026
05d485e
docs(adr): consolidate the NixOS ADRs, and plan btrfs cards and data …
mrosseel Sep 26, 2026
331eb5e
fix(migration): first boot refuses a system that cannot mount the roo…
mrosseel Sep 26, 2026
42fcbb5
feat(migration): btrfs migration system, tarball from the closure, U-…
mrosseel Sep 26, 2026
5280946
feat(migration): carry credentials and AP name, clean up ext2_saved, …
mrosseel Sep 27, 2026
5fc1022
feat(delta): name the running system at update start, get patches for…
mrosseel Sep 27, 2026
a1aa312
fix(migration): keep only password hashes NixOS can check (#79)
mrosseel Sep 27, 2026
87629d7
fix(upgrade): download size without the patched paths (#81)
mrosseel Sep 27, 2026
3607836
refactor(nixos): migration-only services in their own module (#80)
mrosseel Sep 27, 2026
1f0e96d
feat(migration): run the ext2_saved cleanup, balance once, snapshot P…
mrosseel Sep 27, 2026
a99c1d2
feat(boot): U-Boot boot counter falls back to the previous generation…
mrosseel Sep 27, 2026
053c445
feat(nixos): btrfs SD images, lean and full, in the release flow (pla…
mrosseel Sep 27, 2026
8285365
fix(delta): shorter waits, earlier session, plain patch labels (#85)
mrosseel Sep 27, 2026
04a86f2
fix(boot): run the U-Boot install after multi-user.target (#86)
mrosseel Sep 27, 2026
db79ff8
fix(software): no upgrade on battery, no dimming during the upgrade (…
mrosseel Sep 27, 2026
f21219d
fix(software): download size in KB, MB or GB (#87)
mrosseel Sep 27, 2026
a3d7e93
feat(software): larger download amount on the upgrade screen (#88)
mrosseel Sep 27, 2026
34c57e2
test(software): the upgrade screen stand-in fonts have large (#89)
mrosseel Sep 27, 2026
575a214
test(migration-e2e): no SPI display under QEMU (#90)
mrosseel Sep 27, 2026
38681dd
feat(delta): one streamed request for all patches (#91)
mrosseel Sep 27, 2026
1a4aba8
feat(upgrade): installing patches as its own step, patch counts inste…
mrosseel Sep 27, 2026
af9c13d
perf(ui): object list reads the pointing state once per frame (#93)
mrosseel Sep 27, 2026
ca53c28
fix(upgrade): count nix stop events, which carry no type (#95)
mrosseel Sep 27, 2026
7ddc1bc
fix(upgrade): write the status file atomically (#96)
mrosseel Sep 27, 2026
64107f2
perf(ui): menu text drawn once per line, fewer shared-state calls per…
mrosseel Sep 27, 2026
3bcd57b
perf(state): no time zone lookup on each GPS fix, no wait for the Tim…
mrosseel Sep 28, 2026
27af091
feat(software): rollback list shows the build label, not the NixOS ve…
mrosseel Sep 28, 2026
9aa9b6a
fix(software): the version list uses the whole screen height (#100)
mrosseel Sep 28, 2026
d11e3fd
perf(object_list): draw the list text from the text cache (#102)
mrosseel Sep 28, 2026
4933704
feat(upgrade): count the paths while the upgrade checks what is missi…
mrosseel Sep 28, 2026
651aa90
merge: brickbots main into nixos
mrosseel Sep 28, 2026
a6b6d3e
perf(state): load timezonefinder in its build thread, not at start-up…
mrosseel Sep 28, 2026
b1dcf55
ci(nixos): write the manifest from the PR's base, not the default branch
mrosseel Jul 29, 2026
73f172c
ci(nixos): retire the preview label from the testable PR build
mrosseel Aug 15, 2026
183f8f3
fix(state): graceful worker shutdown when shared-state manager dies (…
mrosseel Sep 29, 2026
a09403e
perf(display): pack SSD1333 frames with numpy (#107)
mrosseel Sep 29, 2026
53a6729
feat(ui): Show FPS option in Dev Tools (#108)
mrosseel Sep 29, 2026
d7ab48a
perf(catalogs): filter with numpy, and only the catalogs a list shows…
mrosseel Sep 29, 2026
54eb493
fix(ui): one FPS counter for all screens (#110)
mrosseel Sep 29, 2026
d7ebc87
fix(boot-splash): SSD1333 at the app splash brightness, not full driv…
mrosseel Sep 30, 2026
2454633
perf(ui): keep the UI responsive while a thread in its process is bus…
mrosseel Sep 30, 2026
640eae1
perf: UI reads a shared-memory state snapshot; catalogs as numpy colu…
mrosseel Sep 30, 2026
bd460be
feat(display): demo display for instruction videos (#112)
mrosseel Sep 30, 2026
954a83c
feat(catalogs): add the Perek-Kohoutek planetary nebula catalog (#106)
mrosseel Sep 30, 2026
73c7063
fix(manifest): write the migration tarball under migration_v2 keys (#…
mrosseel Oct 7, 2026
67195d8
Fix back piece by re-adding edge inserts
brickbots Oct 23, 2026
d8d5204
feat(nixos): use the pifinder.io names for the cache and the delta se…
mrosseel Nov 6, 2026
bcfc8ee
fix(rev4): keep U-Boot and the kernel off the GPIO14 kill line (#118)
mrosseel Nov 9, 2026
f6e7720
feat(release): one migration tarball for many releases; release and m…
mrosseel Nov 9, 2026
15235ed
chore(nixos): kernel 6.18.60, update nixpkgs and nixos-hardware (#120)
mrosseel Nov 9, 2026
7d6598a
docs(nixos): kernel update steps and the initrd module fault (#121)
mrosseel Nov 10, 2026
abcdd8a
fix(nixos): SD image firmware with nixos-hardware's populate script (…
mrosseel Nov 11, 2026
865d721
merge: upstream main into nixos
mrosseel Nov 15, 2026
b81f43f
merge: upstream release into nixos
mrosseel Nov 15, 2026
4f4e4c7
chore(catalog): rebuild the object database with the upstream import …
mrosseel Nov 15, 2026
804c1ac
fix(catalog): keep the decimals of Harris, Lynga and Arp magnitudes
mrosseel Nov 18, 2026
ad5ba56
merge: upstream main into nixos
mrosseel Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .claude/skills/pifinder-remote/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ to see the UI; that is how you "look at" PiFinder.
| `logs [-n N]` | Tails the captured PiFinder and cedar startup logs (first place to look if `launch` fails). |
| `ready` | Polls until the API answers; useful after a manual launch. |

`/api/key`, `/api/stop` and `/api/camera/*` need the Web UI login. `key` and `stop` log in on the first 401 with `PIFINDER_PASSWORD` (default `solveit`); a headless dev run accepts any password.

## Keypad buttons

PiFinder has a small keypad. Pass these names to `key` (case-sensitive), or a
Expand Down
50 changes: 39 additions & 11 deletions .claude/skills/pifinder-remote/scripts/pf_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
import sys
import tempfile
import time
import http.cookiejar
import urllib.error
import urllib.parse
import urllib.request
from pathlib import Path

Expand Down Expand Up @@ -132,25 +134,51 @@ def base_url(args):
return f"http://127.0.0.1:{getattr(args, 'port', DEFAULT_PORT)}"


def http_get(url, timeout=15):
req = urllib.request.Request(url, method="GET")
# One cookie jar for the process, so the Web UI login session is sent with
# every request after login().
_OPENER = urllib.request.build_opener(
urllib.request.HTTPCookieProcessor(http.cookiejar.CookieJar())
)


def _open(req, timeout):
try:
with urllib.request.urlopen(req, timeout=timeout) as r:
with _OPENER.open(req, timeout=timeout) as r:
return r.status, r.read()
except urllib.error.HTTPError as e:
return e.code, e.read()


def http_get(url, timeout=15):
return _open(urllib.request.Request(url, method="GET"), timeout)


def login(base, timeout=15):
"""Log in to the Web UI. The password comes from PIFINDER_PASSWORD
(default "solveit"). A headless dev run accepts any password."""
form = urllib.parse.urlencode(
{"password": os.environ.get("PIFINDER_PASSWORD", "solveit")}
).encode("utf-8")
req = urllib.request.Request(base + "/login", data=form, method="POST")
return _open(req, timeout)


def http_post(url, payload, timeout=15):
"""POST JSON. On a 401, log in once and send the request again."""
data = json.dumps(payload if payload is not None else {}).encode("utf-8")
req = urllib.request.Request(
url, data=data, method="POST", headers={"Content-Type": "application/json"}
)
try:
with urllib.request.urlopen(req, timeout=timeout) as r:
return r.status, r.read()
except urllib.error.HTTPError as e:
return e.code, e.read()

def send():
req = urllib.request.Request(
url, data=data, method="POST", headers={"Content-Type": "application/json"}
)
return _open(req, timeout)

status, body = send()
if status == 401:
parts = urllib.parse.urlsplit(url)
login(f"{parts.scheme}://{parts.netloc}", timeout)
status, body = send()
return status, body


def wait_ready(base, timeout=60.0, interval=1.0):
Expand Down
4 changes: 4 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
use nix
watch_file flake.nix flake.lock shell.nix
watch_file nixos/pkgs/uv-python.nix
watch_file python/pyproject.toml python/uv.lock
34 changes: 21 additions & 13 deletions .github/workflows/nixos-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: Build PiFinder NixOS (testable PRs)
# `pull_request_target` runs in the BASE repo's trusted context, so the job has
# the real ATTIC_TOKEN and a read-write GITHUB_TOKEN even for fork PRs. The
# contributor's code is checked out explicitly (head SHA) and built. This is
# only reached after a maintainer applies the `testable` (or `preview`) label —
# that label is the security boundary: it runs contributor code with the cache
# push token, so review the diff before labeling, and re-review on each new push
# to a labeled PR.
# only reached after a maintainer applies the `testable` label — that label is
# the security boundary: it runs contributor code with the cache push token, so
# review the diff before labeling, and re-review on each new push to a labeled
# PR.
#
# Build strategy: the free GitHub-hosted ubuntu-24.04-arm runner builds first.
# Its cores are faster than the Pi5, and the Attic cache (cache.pifinder.io) is
Expand All @@ -33,9 +33,7 @@ permissions:
jobs:
# Primary: free GitHub-hosted arm64 runner (native aarch64, no QEMU).
build-hosted:
if: |
contains(github.event.pull_request.labels.*.name, 'preview') ||
contains(github.event.pull_request.labels.*.name, 'testable')
if: contains(github.event.pull_request.labels.*.name, 'testable')
runs-on: ubuntu-24.04-arm
# Generous: only a kernel/source change compiles from scratch (~1 h on this
# 4-core runner); everything else substitutes from Attic in minutes.
Expand All @@ -52,8 +50,8 @@ jobs:
persist-credentials: false
# Fork PRs: pull_request_target checkout of the head requires opt-in
# since actions/checkout began refusing it. The head SHA is pinned
# explicitly and only reached after the `testable`/`preview` label,
# which is the review gate for running contributor code.
# explicitly and only reached after the `testable` label, which is the
# review gate for running contributor code.
allow-unsafe-pr-checkout: true

- uses: DeterminateSystems/nix-installer-action@main
Expand Down Expand Up @@ -106,8 +104,7 @@ jobs:
needs: build-hosted
if: |
always() &&
(contains(github.event.pull_request.labels.*.name, 'preview') ||
contains(github.event.pull_request.labels.*.name, 'testable')) &&
contains(github.event.pull_request.labels.*.name, 'testable') &&
needs.build-hosted.result == 'failure'
runs-on: [self-hosted, aarch64]
timeout-minutes: 240
Expand All @@ -121,8 +118,8 @@ jobs:
persist-credentials: false
# Fork PRs: pull_request_target checkout of the head requires opt-in
# since actions/checkout began refusing it. The head SHA is pinned
# explicitly and only reached after the `testable`/`preview` label,
# which is the review gate for running contributor code.
# explicitly and only reached after the `testable` label, which is the
# review gate for running contributor code.
allow-unsafe-pr-checkout: true

- name: Ensure nix is on PATH (self-hosted runner)
Expand Down Expand Up @@ -170,7 +167,18 @@ jobs:
group: manifest-write
cancel-in-progress: false
steps:
# Check out the PR's BASE branch explicitly. A bare checkout under
# pull_request_target lands on the repository's default branch, which
# may carry this workflow (so the event fires) without carrying the
# scripts below -- the job then dies after a successful build, leaving
# an image in Attic that no device can reach because the manifest was
# never written. The base branch is the branch this workflow file itself
# came from, so the scripts are always beside it, and it stays
# maintainer-controlled: never check out the PR head here, which would
# run contributor code with contents:write and the Attic token.
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}

- name: Update generated manifest branch
env:
Expand Down
31 changes: 23 additions & 8 deletions .github/workflows/nox.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: nox
# The nixos branch manages the Python environment with uv (pyproject.toml +
# uv.lock) instead of nox + requirements*.txt, so this runs the same checks
# (ruff, mypy, pytest) through uv. The workflow keeps upstream's "nox" name so
# PR check wiring stays identical across branches.
#
# Run on pushes to the long-lived branches and on pull requests. Restricting
# `push` to main/release means a push to a feature branch with an open PR only
# triggers the `pull_request` run (not also a `push` run), so a PR gets a single
Expand All @@ -20,12 +25,22 @@ jobs:
working-directory: ./python
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
submodules: true
# python/tetra3 -> PiFinder/tetra3/tetra3 is untracked (see ADR 0035),
# and `import tetra3` resolves the package through it.
- run: ln -sfn PiFinder/tetra3/tetra3 tetra3
- uses: wntrblm/nox@2024.04.15
with:
python-versions: "3.9"
- run: nox -s lint format type_hints smoke_tests unit_tests ui_tests
enable-cache: true
# Same ruff pin as upstream main's noxfile, so shared files keep one style.
- name: Lint
run: uvx ruff@0.4.8 check --config "builtins=['_']" .
- name: Format check
run: uvx ruff@0.4.8 format --check .
- name: Sync environment
run: uv sync --frozen
- name: Type check
run: uv run mypy PiFinder
- name: Smoke tests
run: uv run pytest -m smoke
- name: Unit tests
run: uv run pytest -m unit
# The web tests need a Selenium grid, which CI does not have.
- name: Integration tests
run: uv run pytest -m integration --ignore-glob='tests/test_web_*'
5 changes: 2 additions & 3 deletions .github/workflows/web-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
run: |
git submodule sync
git submodule update --init --recursive
# The python/tetra3 -> PiFinder/tetra3/tetra3 symlink is untracked
# (see ADR 0035), so CI creates it here.
ln -sfn PiFinder/tetra3/tetra3 tetra3
# The python/tetra3 -> PiFinder/tetra3/tetra3 symlink is tracked in
# the repo, so it no longer needs to be created here.

- name: Use cache of hip_main.dat star catalog

Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,16 @@ case/my_printer
.direnv/
**/.claude/*
!**/.claude/skills/
.agents/
.codex/
.serena/
astro_data/comets.txt

# users GPS data
test_ubx
test_ubx/*
python/telemetry_analysis/

# nix build result symlinks
result
result-*
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

38 changes: 25 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/saltstack/mirrors-nox
rev: 'v2022.11.21' # Use the sha / tag you want to point at
- repo: local
hooks:
- id: nox
files: ^.*\.py$
args:
- -f
- python/noxfile.py
- -s
- type_hints
- smoke_tests
- --
- id: ruff-lint
name: ruff lint
entry: bash -c 'cd python && ruff check'
language: system
files: ^python/.*\.py$
pass_filenames: false
- id: ruff-format
name: ruff format check
entry: bash -c 'cd python && ruff format --check'
language: system
files: ^python/.*\.py$
pass_filenames: false
- id: mypy
name: mypy type check
entry: bash -c 'cd python && mypy .'
language: system
files: ^python/.*\.py$
pass_filenames: false
- id: smoke-tests
name: smoke tests
entry: bash -c 'cd python && pytest -m smoke'
language: system
files: ^python/.*\.py$
pass_filenames: false
Loading
Loading