Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
791 commits
Select commit Hold shift + click to select a range
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
1966dcc
merge: current nixos into deepchart
mrosseel Sep 27, 2026
381d40f
merge: current deepchart into observable-asteroids
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
1139a2d
merge: current nixos into observable-asteroids
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
6dc044f
merge: current nixos into observable-asteroids
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
8f87ff2
merge: current nixos into observable-asteroids
mrosseel Sep 27, 2026
f21219d
fix(software): download size in KB, MB or GB (#87)
mrosseel Sep 27, 2026
ea29202
merge: current nixos into observable-asteroids
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
7d115bd
merge: current nixos into observable-asteroids
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
e231b77
merge: current nixos into observable-asteroids
mrosseel Sep 27, 2026
1a4aba8
feat(upgrade): installing patches as its own step, patch counts inste…
mrosseel Sep 27, 2026
9170e57
merge: current nixos into observable-asteroids
mrosseel Sep 27, 2026
af9c13d
perf(ui): object list reads the pointing state once per frame (#93)
mrosseel Sep 27, 2026
ea568d6
merge: current nixos into observable-asteroids
mrosseel Sep 27, 2026
ac619b6
perf(gaia): keep the index run directories on the mmap, not as Python…
mrosseel Sep 27, 2026
6c5cbb9
merge: current deepchart into observable-asteroids
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
af51359
merge: current nixos into observable-asteroids
mrosseel Sep 27, 2026
64107f2
perf(ui): menu text drawn once per line, fewer shared-state calls per…
mrosseel Sep 27, 2026
001e8ec
merge: current nixos into observable-asteroids
mrosseel Sep 27, 2026
3bcd57b
perf(state): no time zone lookup on each GPS fix, no wait for the Tim…
mrosseel Sep 28, 2026
38e7075
merge: current nixos into observable-asteroids
mrosseel Sep 28, 2026
27af091
feat(software): rollback list shows the build label, not the NixOS ve…
mrosseel Sep 28, 2026
75561e4
merge: current nixos into observable-asteroids
mrosseel Sep 28, 2026
9aa9b6a
fix(software): the version list uses the whole screen height (#100)
mrosseel Sep 28, 2026
01ece23
merge: current nixos into observable-asteroids
mrosseel Sep 28, 2026
d11e3fd
perf(object_list): draw the list text from the text cache (#102)
mrosseel Sep 28, 2026
1e98523
merge: current nixos into observable-asteroids
mrosseel Sep 28, 2026
4933704
feat(upgrade): count the paths while the upgrade checks what is missi…
mrosseel Sep 28, 2026
f197efb
merge: current nixos into observable-asteroids
mrosseel Sep 28, 2026
651aa90
merge: brickbots main into nixos
mrosseel Sep 28, 2026
559a1b3
merge: current nixos into observable-asteroids
mrosseel Sep 28, 2026
a6b6d3e
perf(state): load timezonefinder in its build thread, not at start-up…
mrosseel Sep 28, 2026
a06f162
merge: current nixos into observable-asteroids
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
8464c14
fix(nixos): make the Gaia catalog a fixed-output derivation
mrosseel Sep 29, 2026
dbcce22
fix(nixos): make the Gaia catalog a fixed-output derivation
mrosseel Sep 29, 2026
fa75c1d
feat(gaia): columnar star catalog 3.0 with a dense index, one shard p…
mrosseel Sep 29, 2026
6bbc973
feat(gaia): columnar star catalog 3.0 with a dense index, one shard p…
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
d45696d
merge: current nixos into deepchart
mrosseel Sep 30, 2026
ec896ec
merge: current deepchart into observable-asteroids
mrosseel Sep 30, 2026
d1526a7
perf(gaia): read SQM and location from the state snapshot
mrosseel Sep 30, 2026
e9edc2c
merge: current deepchart into observable-asteroids
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
aab30d3
merge: current nixos into deepchart
mrosseel Nov 10, 2026
156053c
merge: current deepchart into observable-asteroids
mrosseel Nov 10, 2026
abcdd8a
fix(nixos): SD image firmware with nixos-hardware's populate script (…
mrosseel Nov 11, 2026
00e8c53
ci: one dev shell for developers, CI and the device
mrosseel Nov 11, 2026
73eee71
merge: ci dev shell into deepchart
mrosseel Nov 11, 2026
701c2dc
merge: current deepchart into observable-asteroids
mrosseel Nov 11, 2026
c168242
feat(mount): mount control state machine from brickbots#367
mrosseel Nov 11, 2026
71260a9
feat(mount): pure-Python INDI client
mrosseel Nov 11, 2026
75f11fa
feat(mount): INDI mount driver list and mount control
mrosseel Nov 11, 2026
b48c81c
feat(nixos): indiserver with all INDI mount drivers
mrosseel Nov 11, 2026
440d0ac
feat(ui): mount control settings and Object Details keys
mrosseel Nov 11, 2026
1d1255a
fix(nixos): keep ModemManager and gpsd off USB mount ports
mrosseel Nov 11, 2026
ec0d803
feat(mount): WiFi mounts, settings without restart, Mount web page wi…
mrosseel Nov 11, 2026
ceab90d
fix(mount): show mount messages on screen instead of crashing; progre…
mrosseel Nov 11, 2026
3d10de2
fix(ui): name the mount and contrast pages in the Object Details state
mrosseel Nov 11, 2026
1b84ad6
docs(mount): ADR 0046, Mount context and the Mount Control user guide
mrosseel Nov 11, 2026
db72f24
fix(mount): review fixes for drift, slew end, retries, stale driver a…
mrosseel Nov 11, 2026
863d910
docs(mount): ADR 0046 notes on custom tracking and the slew end
mrosseel Nov 11, 2026
0295314
feat(mount): live mount status on the mount key page and the web page
mrosseel Nov 11, 2026
8034809
feat(mount): closed-loop sky simulator; keep the INDI alignment subsy…
mrosseel Nov 11, 2026
ce3b869
fix(mount): the sky simulator counts a sync only between two Ok updates
mrosseel Nov 11, 2026
04e2c41
fix(mount): no location update during a slew; an interrupted slew is …
mrosseel Nov 11, 2026
0a12e1d
feat(ui): mount page as a keypad map with a live status band
mrosseel Nov 12, 2026
87a2ab2
feat(ui): mount page shows key numbers on opening and a Connect step
mrosseel Nov 12, 2026
79660a4
feat(ui): connection screen on the mount page when no mount is connected
mrosseel Nov 12, 2026
8b6457d
feat(mount): eyepiece-relative directions, arrows on the mount page, …
mrosseel Nov 12, 2026
a3581c7
fix(ui): short labels in the mount marking menu
mrosseel Nov 12, 2026
5dd3eca
feat(mount): hold an arrow to move the mount continuously
mrosseel Nov 12, 2026
c68e5df
docs(mount): add a key script for the mount control demo video
mrosseel Nov 12, 2026
f4e6adf
docs(mount): note the start position for the demo key script
mrosseel Nov 12, 2026
e36ef28
fix(mount): show TRACKING, not ON TARGET, after a manual move
mrosseel Nov 12, 2026
513a8c4
fix(mount): show the distance to the target in TRACKING
mrosseel Nov 12, 2026
4b832af
fix(mount): show the target distance no finer than the plate solve
mrosseel Nov 12, 2026
5b41fac
feat(satellites): bright satellite catalog, pass prediction and web T…
mrosseel Nov 12, 2026
bc9a0da
merge: feat/indi-mount-control into feature/satellites
mrosseel Nov 12, 2026
b8a7c46
feat(satellites): follow a satellite with an INDI mount
mrosseel Nov 12, 2026
27cec6a
feat(mount): lunar and solar track rates
mrosseel Nov 12, 2026
d27b393
fix(mount): drift compensation runs, and learns the axis directions
mrosseel Nov 12, 2026
fc0b5bb
merge: drift compensation fix of feat/indi-mount-control
mrosseel Nov 12, 2026
31858d0
feat(mount): polar alignment with the mount turning the RA axis
mrosseel Nov 12, 2026
ef90546
fix(tests): comet retry spun under the test sleep patch; flaky sync c…
mrosseel Nov 12, 2026
5006cf9
fix(web): readable satellite tables, nav bar that fits
mrosseel Nov 12, 2026
b6a5527
fix(mount): the satellite follow removes a position offset
mrosseel Nov 12, 2026
44763b1
merge: feat/indi-mount-control into feature/mount-polar-align
mrosseel Nov 13, 2026
3e0977d
fix(satellites): download retry, pass requests, list updates, selecti…
mrosseel Nov 13, 2026
e536c01
refactor(mount): follow any moving target, with user correction
mrosseel Nov 13, 2026
3816d8b
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 13, 2026
6b1cf4e
feat(satellites): store the corrected element set of a follow
mrosseel Nov 13, 2026
f4f0eae
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 13, 2026
b1e195a
feat(mount): store the corrected elements when a follow ends
mrosseel Nov 13, 2026
6735242
fix(mount): make the RA rotation for polar alignment safe
mrosseel Nov 13, 2026
8f89b9f
fix(mount): a drift rate that reverses an axis goes through zero
mrosseel Nov 13, 2026
08a9cae
feat(satellites): select CelesTrak groups to download, update and use
mrosseel Nov 13, 2026
16f06f8
perf(satellites): vectorized pass search for large groups
mrosseel Nov 13, 2026
6ef8607
merge: faster pass prediction into feature/satellites
mrosseel Nov 13, 2026
bb6a1d5
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 13, 2026
b515d8e
feat(ui): add a Sat groups menu and reorder By Catalog
mrosseel Nov 13, 2026
5443833
feat(satellites): work only while satellites are in use, no pass cach…
mrosseel Nov 13, 2026
20e0cdc
merge: on-demand satellite catalog into feature/satellites
mrosseel Nov 13, 2026
372bd57
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 13, 2026
d169ba5
fix(mount): drift compensation corrects small drifts and ignores noise
mrosseel Nov 13, 2026
07d99ab
fix(mount): geostationary follow with tracking off; rates reverse thr…
mrosseel Nov 13, 2026
fe90a6b
feat(satellites): a geostationary satellite has a fixed place, not pa…
mrosseel Nov 13, 2026
33d2f6f
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 13, 2026
e9421c3
merge: feat/indi-mount-control into feature/mount-polar-align
mrosseel Nov 13, 2026
f7c8bd5
merge: polar alignment and moving target follow, for a device test build
mrosseel Nov 14, 2026
f43e056
fix(ui): the Sat groups menu follows the stored selection
mrosseel Nov 15, 2026
81518dc
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 15, 2026
a26ac69
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
65caa6d
fix(satellites): show why the catalog is empty and back off failed do…
mrosseel Nov 15, 2026
5b7ae6b
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 15, 2026
30d67f4
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
f73fbb3
fix(satellites): wait 2 h between CelesTrak requests for a group
mrosseel Nov 15, 2026
899d36f
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 15, 2026
c6720c3
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
8fa5780
fix(web): the satellite status card names the catalog
mrosseel Nov 15, 2026
100420c
merge: feature/satellites into feature/satellites-indi
mrosseel Nov 15, 2026
34861c2
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
865d721
merge: upstream main into nixos
mrosseel Nov 15, 2026
1b7ba04
fix(web): clearer titles of the custom and corrected element set tables
mrosseel Nov 15, 2026
b81f43f
merge: upstream release into nixos
mrosseel Nov 15, 2026
fb818d0
merge: upstream main into deepchart
mrosseel Nov 15, 2026
a808d1c
merge: upstream main into observable-asteroids
mrosseel Nov 15, 2026
d82b3cb
merge: upstream main into satellites
mrosseel Nov 15, 2026
25aee9f
feat(mount): meet point and "I see it" click for a satellite follow
mrosseel Nov 15, 2026
63fe5d4
feat(satellites): show satellite names in the object list
mrosseel Nov 15, 2026
79118c2
merge: upstream main into indi-mount-control
mrosseel Nov 15, 2026
b7d153e
merge: upstream main into mount-polar-align
mrosseel Nov 15, 2026
52da5c3
merge: upstream main into satellites-indi
mrosseel Nov 15, 2026
ecb9499
merge: upstream main into device-build
mrosseel Nov 15, 2026
c7debd4
merge: meet point follow and feature/satellites into feature/satellit…
mrosseel Nov 15, 2026
2a1f7ce
merge: table titles into feature/satellites
mrosseel Nov 15, 2026
e89d3b8
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
11f4939
test(catalogs): the fake catalog of the Named Stars search test has p…
mrosseel Nov 15, 2026
8eb240c
merge: test fix of feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
b3222fc
fix(mount): find the sign of a fast custom rate within a second
mrosseel Nov 15, 2026
500ed43
feat(mount): tell the next pass, and a setting for the longest wait
mrosseel Nov 15, 2026
f31b8a5
merge: rebuilt object database
mrosseel Nov 15, 2026
83723ac
merge: rebuilt object database
mrosseel Nov 15, 2026
3fae3e0
merge: rebuilt object database
mrosseel Nov 15, 2026
4f4e4c7
chore(catalog): rebuild the object database with the upstream import …
mrosseel Nov 15, 2026
86d1ebe
merge: rebuilt object database
mrosseel Nov 15, 2026
276ddf8
merge: rebuilt object database
mrosseel Nov 15, 2026
4af6f33
merge: rebuilt database, satellite names and the rate sign fix into f…
mrosseel Nov 15, 2026
36ca078
merge: feature/satellites-indi and feature/mount-polar-align into tes…
mrosseel Nov 15, 2026
84632f9
feat(mount): one learned rate sign for each pier side
mrosseel Nov 15, 2026
1d0759d
feat(ui): ID labels for the object list, satellites first
mrosseel Nov 15, 2026
60559cd
merge: next pass text, max wait and the rate signs per pier side into…
mrosseel Nov 15, 2026
0253228
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
5578f97
merge: ID labels into feature/satellites-indi
mrosseel Nov 15, 2026
d744fda
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
79449e6
feat(ui): object list columns follow their content
mrosseel Nov 15, 2026
e870136
merge: object list column rules into feature/satellites-indi
mrosseel Nov 15, 2026
816c354
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
82ee331
feat(ui): satellite list opens sorted by pass, with altitude first
mrosseel Nov 15, 2026
c6dee97
merge: satellite list defaults into feature/satellites-indi
mrosseel Nov 15, 2026
6f44da2
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
0e18eae
feat(chart): show satellites at their live positions
mrosseel Nov 15, 2026
912d9e6
merge: live satellites on the chart into feature/satellites-indi
mrosseel Nov 15, 2026
14f6616
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
1c19028
feat(chart): the open chart keeps a selected satellite catalog in use
mrosseel Nov 15, 2026
1052b90
merge: chart catalog use into feature/satellites-indi
mrosseel Nov 15, 2026
bb0f5f2
merge: feature/satellites-indi into test/device-build
mrosseel Nov 15, 2026
312f114
fix(mount): send location and time before goto and sync, restart refi…
mrosseel Nov 15, 2026
761f163
merge: site sync fix of feat/indi-mount-control into feature/satellit…
mrosseel Nov 15, 2026
0924586
merge: feature/mount-polar-align and feature/satellites-indi into tes…
mrosseel Nov 15, 2026
7cf39d5
merge: site sync fix of feat/indi-mount-control into feature/mount-po…
mrosseel Nov 15, 2026
ac51abd
refactor(mount): simplify the follow of moving targets
mrosseel Nov 15, 2026
65c3b4e
refactor(satellites): one code path for the user sets, the loaders an…
mrosseel Nov 15, 2026
1072111
merge: satellite refactor into feature/satellites-indi
mrosseel Nov 16, 2026
ef5b429
merge: feature/satellites-indi into test/device-build
mrosseel Nov 16, 2026
428dd03
perf(mount): compute one follow point a second in AIM, WAIT and TRACK
mrosseel Nov 17, 2026
fffe278
perf(mount): make new satellite elements at most once a second
mrosseel Nov 17, 2026
9e2e8dd
refactor(chart): one array path for the satellite positions of the chart
mrosseel Nov 17, 2026
46d2866
perf(mount): search the wait window first for the meet point
mrosseel Nov 17, 2026
be8872a
fix(ui): satellite names use the free width of the object list row
mrosseel Nov 17, 2026
d01583d
refactor(satellites): look uses look_many
mrosseel Nov 17, 2026
b0e3946
refactor(satellites): seconds_until_set uses the pass search
mrosseel Nov 17, 2026
41ebdd2
test(mount): share one indiserver per module in the INDI tests
mrosseel Nov 17, 2026
6773cb6
fix(mount): start drift rates from sidereal after a goto
mrosseel Nov 17, 2026
1aeacd2
fix(mount): write to the indiserver FIFO in one write and try again
mrosseel Nov 17, 2026
284315e
merge: indi and satellite cleanups into feature/satellites-indi
mrosseel Nov 17, 2026
61a93a6
merge: feature/mount-polar-align and feature/satellites-indi into tes…
mrosseel Nov 17, 2026
ced7c7b
merge: indi test speed and drift fix into feature/mount-polar-align
mrosseel Nov 17, 2026
13c722d
perf(chart): cache the DSO markers between satellite frames
mrosseel Nov 17, 2026
c908bce
fix(ui): show the whole follow status on the 128 px mount page
mrosseel Nov 17, 2026
b4f88b8
merge: chart marker cache into feature/satellites-indi
mrosseel Nov 17, 2026
c475643
merge: feature/satellites-indi into test/device-build
mrosseel Nov 17, 2026
804c1ac
fix(catalog): keep the decimals of Harris, Lynga and Arp magnitudes
mrosseel Nov 18, 2026
c00eaec
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
6e1b58c
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
9344999
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
0424727
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
d717c24
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
61c8c2f
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
a317ed4
merge: magnitude decimals fix and rebuilt database
mrosseel Nov 18, 2026
d29386d
docs(demo): key script of the satellite tour movie and a movie style …
mrosseel Nov 18, 2026
cdedf5c
fix(satellites): short description lines and no busy Update now
mrosseel Nov 18, 2026
08d04d4
fix(mount): no sleep during a follow and a visible Seen message
mrosseel Nov 18, 2026
cc94913
merge: movie fault fixes into feature/satellites-indi
mrosseel Nov 18, 2026
acccd7f
merge: feature/satellites-indi into test/device-build
mrosseel Nov 18, 2026
b549b3a
docs(demo): the device photo keeps its own screen
mrosseel Nov 18, 2026
b74f79d
merge: movie style update into feature/satellites-indi
mrosseel Nov 18, 2026
ad5ba56
merge: upstream main into nixos
mrosseel Nov 19, 2026
d07db52
merge: upstream SQM gain fix and release playbook
mrosseel Nov 19, 2026
13a6940
merge: upstream SQM gain fix and release playbook
mrosseel Nov 19, 2026
ef971a3
merge: upstream SQM gain fix and release playbook
mrosseel Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
44 changes: 44 additions & 0 deletions .github/actions/setup-nix/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Set up Nix
description: >
Nix with the PiFinder binary cache (cache.pifinder.io). Every workflow uses
this action, so all jobs get the same Nix settings and the same cache.
inputs:
attic-token:
description: Token that lets the job push to the cache. Empty means pull only.
required: false
default: ""
self-hosted:
description: '"true" on a self-hosted runner, which already has Nix installed.'
required: false
default: "false"
runs:
using: composite
steps:
- if: inputs.self-hosted != 'true'
uses: DeterminateSystems/nix-installer-action@main
with:
determinate: false
extra-conf: |
extra-system-features = big-parallel
extra-substituters = https://cache.pifinder.io/pifinder
extra-trusted-public-keys = pifinder:8UU/O3oLkaJHHUyqEcPGl+9F1m4MqDca39Ewl49jBmE=

- if: inputs.self-hosted == 'true'
shell: bash
run: |
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
echo "$HOME/.nix-profile/bin" >> "$GITHUB_PATH"

- name: Attic login
shell: bash
env:
ATTIC_TOKEN: ${{ inputs.attic-token }}
run: |
if [ -z "$ATTIC_TOKEN" ]; then
echo "No Attic token: the job pulls from the cache but does not push"
exit 0
fi
export PATH="/nix/var/nix/profiles/default/bin:$HOME/.nix-profile/bin:$PATH"
nix profile install nixpkgs#attic-client
attic login pifinder https://cache.pifinder.io "$ATTIC_TOKEN"
attic use pifinder:pifinder
16 changes: 16 additions & 0 deletions .github/scripts/push_dev_shell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Push a flake dev shell, with every package in it, to the PiFinder cache.
#
# Usage: push_dev_shell.sh <system> [shell]
#
# The mkShell output is one small text file that references no packages, so a
# push of that output leaves the packages out of the cache. The shell's
# inputDerivation references every package the shell uses, so this script
# pushes that.
set -euo pipefail

system="$1"
shell="${2:-default}"

path="$(nix build ".#devShells.$system.$shell.inputDerivation" --no-link --print-out-paths)"
attic push pifinder:pifinder "$path"
92 changes: 45 additions & 47 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,29 +50,22 @@ 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
# The shared CI action and scripts come from the base branch, which is
# trusted code, and never from the PR head.
- uses: actions/checkout@v4
with:
determinate: false
extra-conf: |
extra-system-features = big-parallel
extra-substituters = https://cache.pifinder.io/pifinder
extra-trusted-public-keys = pifinder:8UU/O3oLkaJHHUyqEcPGl+9F1m4MqDca39Ewl49jBmE=
ref: ${{ github.event.pull_request.base.ref }}
path: .ci
sparse-checkout: .github
persist-credentials: false

- name: Attic login for push
env:
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
run: |
if [ -z "$ATTIC_TOKEN" ]; then
echo "No ATTIC_TOKEN — pull-only via the public substituter"
exit 0
fi
nix profile install nixpkgs#attic-client
attic login pifinder https://cache.pifinder.io "$ATTIC_TOKEN"
attic use pifinder:pifinder
- uses: ./.ci/.github/actions/setup-nix
with:
attic-token: ${{ secrets.ATTIC_TOKEN }}

- name: Build NixOS system and on-device dev shell closures
run: |
Expand All @@ -89,12 +80,10 @@ jobs:
run: |
STORE_PATH=$(nix build .#nixosConfigurations.pifinder.config.system.build.toplevel \
--json | jq -r '.[].outputs.out')
DEV_SHELL_PATH=$(nix build .#devShells.aarch64-linux.default \
--json | jq -r '.[].outputs.out')
echo "store_path=$STORE_PATH" >> "$GITHUB_OUTPUT"
if [ -n "$ATTIC_TOKEN" ]; then
attic push pifinder:pifinder "$STORE_PATH"
attic push pifinder:pifinder "$DEV_SHELL_PATH"
.ci/.github/scripts/push_dev_shell.sh aarch64-linux
else
echo "No ATTIC_TOKEN — skipping push; build is verify-only"
fi
Expand All @@ -106,8 +95,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,22 +109,23 @@ 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)
run: |
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
echo "$HOME/.nix-profile/bin" >> "$GITHUB_PATH"
# The shared CI action and scripts come from the base branch, which is
# trusted code, and never from the PR head.
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
path: .ci
sparse-checkout: .github
persist-credentials: false

- name: Setup Attic substituter (cache.pifinder.io)
env:
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
run: |
nix profile install nixpkgs#attic-client
attic login pifinder https://cache.pifinder.io "$ATTIC_TOKEN"
attic use pifinder:pifinder
- uses: ./.ci/.github/actions/setup-nix
with:
attic-token: ${{ secrets.ATTIC_TOKEN }}
self-hosted: "true"

- name: Build NixOS system and on-device dev shell closures
run: |
Expand All @@ -149,10 +138,8 @@ jobs:
run: |
STORE_PATH=$(nix build .#nixosConfigurations.pifinder.config.system.build.toplevel \
--json | jq -r '.[].outputs.out')
DEV_SHELL_PATH=$(nix build .#devShells.aarch64-linux.default \
--json | jq -r '.[].outputs.out')
attic push pifinder:pifinder "$STORE_PATH"
attic push pifinder:pifinder "$DEV_SHELL_PATH"
.ci/.github/scripts/push_dev_shell.sh aarch64-linux
echo "store_path=$STORE_PATH" >> "$GITHUB_OUTPUT"

# Stamp the PR's build into the metadata-only nixos-manifest branch. Runs the
Expand All @@ -170,7 +157,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
63 changes: 51 additions & 12 deletions .github/workflows/nox.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,70 @@
name: nox
# The nixos branch manages the Python environment with uv2nix (pyproject.toml +
# uv.lock) instead of nox + requirements*.txt. This runs the ruff, mypy and
# pytest checks in the flake dev shell, the same Nix environment that
# developers and the PiFinder use. 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
# `push` to those branches 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
# run per push instead of two.
#
# On a push, a job that passes puts its dev shell in the PiFinder cache, so
# developers and later jobs download the shell and do not build it.
on:
push:
branches:
- main
- nixos
- release
pull_request:
permissions:
contents: read
jobs:
nox:
# Pinned: ubuntu-latest moved to Ubuntu 26.04 (2026-11), for which
# actions/setup-python has no Python 3.9 build, the version the device runs.
runs-on: ubuntu-24.04
timeout-minutes: 20
# aarch64, like the PiFinder.
runs-on: ubuntu-24.04-arm
timeout-minutes: 30
defaults:
run:
working-directory: ./python
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-nix
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
attic-token: ${{ github.event_name == 'push' && secrets.ATTIC_TOKEN || '' }}
- name: Build dev shell
run: nix develop ..#default -c true
- name: Lint and format check
run: scripts/check.sh lint
- name: Type check
run: scripts/check.sh types
- name: Smoke tests
run: scripts/check.sh smoke
- name: Unit tests
run: scripts/check.sh unit
- name: Integration tests
run: scripts/check.sh integration
- name: Push dev shell to the cache
if: github.event_name == 'push'
working-directory: .
run: .github/scripts/push_dev_shell.sh aarch64-linux

# Developer desktops are x86. This job puts the x86 dev shells in the cache
# after the checks pass, so a desktop downloads libcamera and the Python
# environment and does not build them.
dev-shell-x86:
needs: nox
if: github.event_name == 'push'
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-nix
with:
python-versions: "3.9"
- run: nox -s lint format type_hints smoke_tests unit_tests ui_tests
attic-token: ${{ secrets.ATTIC_TOKEN }}
- name: Push dev shells to the cache
run: |
.github/scripts/push_dev_shell.sh x86_64-linux
.github/scripts/push_dev_shell.sh x86_64-linux web
Loading
Loading