Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
63f5be7
Replay the kept fuzz inputs through the guest's own code
lobbystack Nov 24, 2026
36c3f32
Read a skip only from the info byte 10 in the collaboration sandbox
lobbystack Nov 24, 2026
44a3016
Link fuzz regressions from the run summary instead of opening a pull …
lobbystack Nov 24, 2026
ab0644e
Add a tall PDF fixture and a render of its page at 2x
lobbystack Nov 24, 2026
4add217
Scroll PDF tabs through every page and draw them at the screen's density
lobbystack Nov 24, 2026
d6cd464
Reorder tabs by dragging them
lobbystack Nov 24, 2026
301aa27
Stop AppKit from moving a Mac window on a drag in the tab row
lobbystack Nov 24, 2026
952d99b
Do what System Settings says on a title bar double-click
lobbystack Nov 24, 2026
20652ec
Let the sidebar's edge resize it in the title bar row
lobbystack Nov 24, 2026
eaf3864
Draw icons on the pixel grid
lobbystack Nov 24, 2026
3f3a99e
Keep tabs that don't fit the row in reach
lobbystack Nov 24, 2026
892b4d7
Keep the current page's thumbnail in view as the pages scroll
lobbystack Nov 24, 2026
b6ea1e4
Draw embedded PDF pages in tiles at the screen's density
lobbystack Nov 24, 2026
bba845b
Zoom PDF tabs the Mac way: pinch, Command keys and Actual Size
lobbystack Nov 24, 2026
653cfdb
Read image density and give image tabs a zoom that Command-= reaches
lobbystack Nov 24, 2026
eab0475
Size note images in points and upload each at the pixels it draws at
lobbystack Nov 24, 2026
bc8827d
Draw the image tab at the screen's density, and zoom and scroll it li…
lobbystack Nov 24, 2026
eb9c96d
Close Settings or search with Cmd+W instead of the tab under it
lobbystack Nov 24, 2026
8352245
Go to tabs with Cmd+1 to 9 and to pages with Ctrl+Cmd+1 to 9
lobbystack Nov 24, 2026
a756ca3
Reopen closed tabs with Cmd+Shift+T
lobbystack Nov 24, 2026
bc323e8
Close the window with Cmd+W once no tab is left
lobbystack Nov 24, 2026
883dbc4
Rename with Return and open with Cmd+Down or Cmd+O in the Mac tree
lobbystack Nov 24, 2026
41831fa
Scroll the file tree while a drag nears its top or bottom edge
lobbystack Nov 24, 2026
4310d08
Count search results and reach all of them
lobbystack Nov 25, 2026
8a6a9b4
Zoom the interface while Settings or search covers a PDF or image
lobbystack Nov 25, 2026
b3c6863
Open the macOS disk image as a dark window with an arrow to Applications
lobbystack Nov 25, 2026
6bd4933
Lay out the DMG window in CI and release builds
lobbystack Nov 25, 2026
ea71acb
Mount the DMG in the package check without answering an agreement
lobbystack Nov 25, 2026
a48fb43
Give live-tests the image crate that app-ui's test support uses
lobbystack Nov 25, 2026
8b6be3a
Release 0.3.3
lobbystack Nov 25, 2026
a71010b
Wait for page 1 to draw again after Home in the PDF scroll test
lobbystack Nov 25, 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: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ jobs:
# must reach the same verdicts and fuel on both backends. Linux also
# rebuilds the guest module and requires the bytes the sandbox embeds,
# checks that the guest's yrs resolves without `small-client`, runs the
# guest's unit tests, checks that the scheduled fuzz job's targets build,
# guest's tests, checks that the scheduled fuzz job's targets build,
# and runs the previous release on the current fixture.
collab-sandbox:
strategy:
Expand Down
32 changes: 21 additions & 11 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: Fuzz
# for a fixed time each night. A crash fails the run, which keeps every
# crashing input as a regression case: it copies the inputs into
# crates/collab-sandbox/fuzz/regressions, where
# crates/collab-sandbox/tests/fuzz.rs replays them on every test run, and
# opens a pull request that adds them.
# crates/collab-sandbox/tests/fuzz.rs and the guest's tests replay them,
# pushes them to a branch and links a pull request from the run's summary.
on:
schedule:
- cron: '23 4 * * *'
Expand All @@ -23,7 +23,6 @@ jobs:
timeout-minutes: 90
permissions:
contents: write
pull-requests: write
env:
SECONDS_PER_TARGET: '600'
steps:
Expand Down Expand Up @@ -53,7 +52,7 @@ jobs:
found=1
fi
# The guest targets build the sandbox's own records, so their
# crashes replay through the sandbox's targets.
# crashes share the sandbox targets' folders, which both replay.
folder="${target#guest_}"
mkdir -p "fuzz/regressions/$folder"
for input in fuzz/artifacts/"$target"/*; do
Expand All @@ -63,25 +62,36 @@ jobs:
done
done
echo "found=$found" >> "$GITHUB_OUTPUT"
# GitHub starts no workflow for a pull request that this job's own
# token opens, so the pull request's body asks for a push to start
# its CI.
# The repository doesn't let workflows open pull requests, so the
# summary links one to open by hand, which also starts its CI.
- name: Keep the crashing inputs as regression cases
if: steps.run.outputs.found == '1'
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
git add crates/collab-sandbox/fuzz/regressions
if git diff --cached --quiet; then
echo "The fuzz run failed with no crashing input to keep: see the log of **Run each target**." >> "$GITHUB_STEP_SUMMARY"
exit 0
fi
branch="fuzz/regressions-$GITHUB_RUN_ID"
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git switch -c "$branch"
git add crates/collab-sandbox/fuzz/regressions
git commit -m "Keep the inputs fuzz run $GITHUB_RUN_ID crashed on as regression cases"
git push "https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" "$branch"
gh pr create --base main --head "$branch" \
--title "Fuzz regressions from run $GITHUB_RUN_ID" \
--body "The nightly fuzz run $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID crashed the collaboration sandbox. This adds the inputs to crates/collab-sandbox/fuzz/regressions, so crates/collab-sandbox/tests/fuzz.rs fails on them until the sandbox handles them. GitHub runs no CI on a pull request that a workflow opens with its own token: push a commit to $branch, or close and reopen this pull request, to start it."
{
echo "### Fuzz run $GITHUB_RUN_ID crashed"
echo
echo "Branch \`$branch\` keeps these inputs:"
echo
git show --name-only --format= HEAD | while read -r input; do
echo "- \`$input\`"
done
echo
echo "[Open a pull request]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/compare/$GITHUB_REF_NAME...$branch?expand=1) to add them. Its tests fail until the sandbox handles them."
} >> "$GITHUB_STEP_SUMMARY"
- name: Fail on a crash
if: steps.run.outputs.found == '1'
run: exit 1
69 changes: 35 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading