Steps
successpipeline setup3s
successsetup10s
fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
(1/37) Upgrading musl (1.2.5-r10 -> 1.2.5-r12)
(2/37) Installing binaryen (123-r0)
(3/37) Installing brotli-libs (1.1.0-r2)
(4/37) Installing c-ares (1.34.8-r0)
(5/37) Installing libunistring (1.3-r0)
(6/37) Installing libidn2 (2.3.7-r0)
(7/37) Installing nghttp2-libs (1.69.0-r0)
(8/37) Installing libpsl (0.21.5-r3)
(9/37) Installing libcurl (8.14.1-r3)
(10/37) Installing curl (8.14.1-r3)
(11/37) Installing just (1.40.0-r0)
(12/37) Installing musl-dev (1.2.5-r12)
(13/37) Installing libffi (3.4.8-r0)
(14/37) Installing libintl (0.24.1-r0)
(15/37) Installing libeconf (0.6.3-r0)
(16/37) Installing libblkid (2.41.6-r1)
(17/37) Installing libmount (2.41.6-r1)
(18/37) Installing pcre2 (10.46-r0)
(19/37) Installing glib (2.84.4-r0)
(20/37) Installing conmon (2.1.13-r0)
(21/37) Installing libcap2 (2.78-r0)
(22/37) Installing libseccomp (2.6.0-r0)
(23/37) Installing yajl (2.1.0-r9)
(24/37) Installing crun (1.23.1-r0)
(25/37) Installing passt (2025.05.12-r1)
(26/37) Installing libmd (1.1.0-r0)
(27/37) Installing libbsd (0.12.2-r0)
(28/37) Installing skalibs-libs (2.14.4.0-r0)
(29/37) Installing utmps-libs (0.1.3.1-r0)
(30/37) Installing linux-pam (1.7.0-r4)
(31/37) Installing shadow-libs (4.17.3-r0)
(32/37) Installing shadow-subids (4.17.3-r0)
(33/37) Installing containers-common (0.64.2-r0)
(34/37) Installing netavark (1.16.1-r0)
(35/37) Installing aardvark-dns (1.16.0-r0)
(36/37) Installing catatonit (0.2.1-r0)
(37/37) Installing podman-remote (5.6.2-r3)
Executing busybox-1.37.0-r19.trigger
Executing glib-2.84.4-r0.trigger
OK: 252 MiB in 65 packages
info: downloading component 'rustfmt'
info: installing component 'rustfmt'
info: downloading component 'clippy'
info: installing component 'clippy'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
/tmp/trunk.tar.gz: OK
just 1.40.0
1.4.0
trunk 0.21.14
rustfmt 1.8.0-stable (1159e78c47 2025-09-14)
clippy 0.1.90 (1159e78c47 2025-09-14)
successlint4s
cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
Checking api-types v0.1.0 (/ci/build/project/api-types)
Checking server v0.1.0 (/ci/build/project/server)
Checking web v0.1.0 (/ci/build/project/web)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s
successtest44s
cargo test -p server -p api-types
Compiling api-types v0.1.0 (/ci/build/project/api-types)
Compiling server v0.1.0 (/ci/build/project/server)
Finished `test` profile [unoptimized + debuginfo] target(s) in 16.33s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/api_types-9eadb0fba0c2a0c9)
running 6 tests
test tests::mode_wire_format_is_rw_ro ... ok
test tests::mutation_defaults_missing_fields ... ok
test tests::me_round_trip ... ok
test tests::mutation_round_trip_skips_absent_fields ... ok
test tests::op_wire_format ... ok
test tests::root_defaults_mode_to_rw ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/server-1204445436ee7f24)
running 93 tests
test api::search::tests::join_rel_lifts_a_path_to_the_server_root ... ok
test api::search::tests::excludes_cover_descendants_but_not_name_siblings ... ok
test api::search::tests::name_match_needs_every_word ... ok
test api::search::tests::name_match_ignores_the_parent_path ... ok
test api::search::tests::query_fields_are_the_shared_constants ... ok
test api::files::tests::query_fields_are_the_shared_constants ... ok
test api::search::tests::truncation_caps_length ... ok
test api::search::tests::truncation_keeps_utf8_boundary ... ok
test api::search::tests::truncation_strips_terminator ... ok
test archive::tests::format_metadata ... ok
test archive::tests::format_parsing ... ok
test archive::tests::build_fails_on_missing_dir ... ok
test assets::tests::asset_paths_outside_dist_are_rejected ... ok
test auth::tests::login_delay_grows_after_free_tries ... ok
test auth::tests::parse_session_cookie_variants ... ok
test auth::tests::session_cookie_shape ... ok
test auth::tests::share_cookie_is_per_share_and_session_scoped ... ok
test api::files::tests::publish_refuses_an_existing_target_without_overwrite ... ok
test auth::tests::verify_rejects_garbage_hashes ... ok
test archive::tests::walk_is_sorted_case_insensitively ... ok
test cli::tests::defaults_applied ... ok
test cli::tests::flags_override_defaults ... ok
test db::tests::share_expiry_logic ... ok
test archive::tests::tar_round_trip ... ok
test error::tests::io_error_maps_to_500 ... ok
test error::tests::extra_object_is_merged_into_body ... ok
test error::tests::non_object_extra_is_ignored ... ok
test error::tests::plain_error_body ... ok
test cli::tests::https_from_env ... ok
test cli::tests::required_args_enforced ... ok
test auth::tests::token_shapes_and_uniqueness ... ok
test archive::tests::tar_zst_round_trip ... ok
test fs::tests::magic_numbers_classify_by_content ... ok
test archive::tests::tar_gz_round_trip ... ok
test archive::tests::zip_round_trip ... ok
test fs::tests::copy_recursive_missing_source ... ok
test fs::tests::copy_refuses_into_self_and_handles_conflict ... ok
test fs::tests::mkdir_rejects_conflict_and_bad_names ... ok
test fs::tests::list_dir_reports_kinds ... ok
test fs::tests::mkdir_creates_nested_dirs ... ok
test fs::tests::move_file_and_dir_across_dirs ... ok
test fs::tests::remove_file_and_dir ... ok
test fs::tests::rename_conflicts_and_overwrite ... ok
test fs::tests::list_dir_error_cases ... ok
test fs::tests::rename_moves_file_and_dir ... ok
test db::tests::fresh_db_state ... ok
test fs::tests::copy_file_and_dir_preserves_mtime ... ok
test fs::tests::is_within_or_eq_matrix ... ok
test fs::tests::resolve_dir_requires_existing_directory ... ok
test fs::tests::detect_kind_reads_from_disk ... ok
test fs::tests::rename_validates_new_name ... ok
test fs::tests::list_dir_sorts_folders_first_then_case_insensitive ... ok
test fs::tests::move_refuses_into_self_and_conflicts ... ok
test fs::tests::resolve_file_targets_files ... ok
test fs::tests::list_dir_reports_broken_symlink_as_empty_file ... ok
test fs::tests::svg_is_offered_as_an_image ... ok
test fs::tests::resolve_path_rejects_parent_traversal ... ok
test fs::tests::truncated_utf8_at_the_read_boundary_is_still_text ... ok
test fs::tests::unsigned_files_fall_back_to_the_text_heuristic ... ok
test fs::tests::validate_name_accepts_simple_names ... ok
test fs::tests::validate_name_rejects_traversal_and_paths ... ok
test fs::tests::resolve_path_missing_is_not_found ... ok
test fs::tests::resolve_path_rejects_symlink_escape ... ok
test fs::tests::resolve_root_whole_root_and_subdir ... ok
test fs::tests::resolve_path_traverses_inside_root ... ok
test tests::build_app_missing_root_fails ... ok
test thumb::tests::an_edit_changes_the_cache_key ... ok
test thumb::tests::the_key_fans_out_into_a_bucket ... ok
test fs::tests::resolve_root_rejects_symlink_escape ... ok
test fs::tests::save_file_error_cases ... ok
test fs::tests::resolve_root_rejects_escape_and_missing ... ok
test tests::build_app_root_must_be_directory ... ok
test thumb::tests::a_hit_refreshes_a_stale_entry_only ... ok
test thumb::tests::two_writes_of_one_entry_use_different_scratch_names ... ok
test thumb::tests::the_sweeper_drops_only_cold_entries ... ok
test fs::tests::parallel_rows_match_serial ... ok
test fs::tests::sniff_permit_never_exceeds_the_budget ... ok
test tests::build_app_ok ... ok
test tests::build_app_custom_port_bind ... ok
test tests::build_app_rejects_bad_bind ... ok
test db::tests::v1_db_migrates_to_v2 ... ok
test db::tests::setup_is_won_by_exactly_one_caller ... ok
test db::tests::settings_round_trip ... ok
test db::tests::revoking_a_path_takes_its_descendants_only ... ok
test db::tests::share_unlocks_are_bound_to_one_share ... ok
test db::tests::sessions_lifecycle ... ok
test db::tests::shares_crud ... ok
test fs::tests::save_file_conflict_on_stale_mtime ... ok
test fs::tests::save_file_updates_content_and_returns_new_mtime ... ok
test db::tests::changing_a_password_drops_that_users_sessions ... ok
test auth::tests::password_hash_round_trip ... ok
test db::tests::user_crud_and_roots ... ok
test db::tests::admin_user_and_passwords ... ok
test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.35s
Running unittests src/main.rs (/ci/cache/target/debug/deps/filebrowser_ng-d48200da72b8e3c7)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/api_admin.rs (/ci/cache/target/debug/deps/api_admin-253dce1febac3434)
running 6 tests
test update_unknown_user_is_404 ... ok
test settings_round_trip_visible_in_me ... ok
test lockout_guards ... ok
test admin_routes_require_admin ... ok
test admins_can_browse_the_server_root_read_only ... ok
test user_lifecycle ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.85s
Running tests/api_auth.rs (/ci/cache/target/debug/deps/api_auth-1a33af42d1b35429)
running 10 tests
test first_boot_me_reports_first_boot ... ok
test setup_validates_input ... ok
test me_requires_valid_session ... ok
test logout_invalidates_session ... ok
test setup_creates_admin_and_sets_cookie ... ok
test public_url_reaches_client ... ok
test root_name_is_configurable ... ok
test default_root_is_validated_and_dropped_with_its_root ... ok
test disabled_user_loses_session_and_cannot_login ... ok
test login_flows ... ok
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.00s
Running tests/api_dav.rs (/ci/cache/target/debug/deps/api_dav-282deaad758b0645)
running 37 tests
test a_writable_share_can_be_written_and_expiry_ends_it ... ok
test an_encoded_slash_does_not_split_the_share_token ... ok
test a_session_cookie_works_instead_of_basic ... ok
test a_share_mounts_at_its_own_root_without_a_login ... ok
test a_dangling_symlink_is_still_listed ... ok
test a_dangling_symlink_is_not_a_writable_destination ... ok
test an_exclusive_lock_blocks_everyone_without_the_token ... ok
test a_copy_and_a_put_to_one_path_do_not_interleave ... ok
test deleting_a_symlink_does_not_revoke_its_targets_share ... ok
test deleting_a_shared_path_over_webdav_revokes_the_share ... ok
test deleting_a_symlink_removes_the_link_not_its_target ... ok
test a_scriptable_file_is_sandboxed_over_dav ... ok
test a_lock_is_reported_and_its_timeout_is_capped ... ok
test a_listing_omits_dotfiles ... ok
test concurrent_writers_leave_a_whole_file ... ok
test a_browser_get_of_a_collection_returns_a_listing ... ok
test a_listing_escapes_entry_names ... ok
test a_listing_still_shows_a_symlink_as_its_target ... ok
test a_path_that_climbs_out_of_the_mount_is_not_a_server_error ... ok
test an_abandoned_lock_expires ... ok
test copy_replaces_a_symlink_instead_of_writing_through_it ... ok
test deleting_a_symlinked_directory_does_not_empty_its_target ... ok
test deleting_the_mount_point_removes_nothing ... ok
test moving_a_symlinked_directory_moves_the_link ... ok
test get_and_put_round_trip_through_the_mount ... ok
test locks_are_scoped_to_their_own_path ... ok
test propfind_lists_the_roots_then_their_contents ... ok
test mkcol_move_copy_and_delete ... ok
test a_read_only_root_refuses_every_write ... ok
test a_move_cannot_wipe_a_root_through_its_destination ... ok
test a_mount_cannot_leave_its_roots ... ok
test a_read_only_root_can_still_be_copied_out_of ... ok
test deleting_a_root_removes_nothing ... ok
test a_protected_share_asks_for_its_password_over_basic ... ok
test unauthenticated_requests_get_a_basic_challenge ... ok
test a_changed_password_locks_the_mount_out_at_once ... ok
test two_users_with_same_named_roots_do_not_share_locks ... ok
test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.87s
Running tests/api_embedded.rs (/ci/cache/target/debug/deps/api_embedded-009bbbcc69ecb5fe)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/api_files.rs (/ci/cache/target/debug/deps/api_files-0b53e68a0b272f3f)
running 36 tests
test a_dangling_symlink_can_be_deleted ... ok
test content_action_serves_raw_bytes_with_mtime ... ok
test a_symlink_out_of_the_root_still_cannot_be_read_or_written ... ok
test an_interrupted_upload_leaves_no_scratch_file ... ok
test list_root_sorted_folders_first ... ok
test delete_file_and_folder ... ok
test copying_onto_a_symlink_replaces_it ... ok
test editor_save_round_trip_and_conflict ... ok
test exists_check_does_not_follow_symlinked_directories_out_of_the_root ... ok
test download_folder_as_all_archive_formats ... ok
test deleting_a_symlink_removes_the_link_not_its_target ... ok
test download_honours_single_byte_ranges ... ok
test list_subdir_and_errors ... ok
test download_encodes_non_ascii_and_control_characters_in_filename ... ok
test download_revalidates_with_last_modified ... ok
test content_is_capped_at_two_mibibytes ... ok
test download_single_file ... ok
test archive_does_not_follow_symlinks_out_of_the_root ... ok
test editor_save_over_two_mibibytes_is_rejected_with_the_localized_error ... ok
test listing_reports_sniffed_kinds ... ok
test download_folder_requires_valid_format ... ok
test copying_a_symlink_copies_what_it_points_at ... ok
test moving_a_symlink_moves_the_link ... ok
test move_and_copy_across_dirs ... ok
test mkdir_and_rename ... ok
test path_traversal_is_blocked ... ok
test listing_is_capped_and_reports_truncation ... ok
test renaming_a_symlink_renames_the_link ... ok
test preview_serves_inline_and_rejects_dirs ... ok
test scriptable_files_are_served_sandboxed ... ok
test upload_does_not_follow_symlinked_directories_out_of_the_root ... ok
test upload_does_not_clobber_a_file_created_during_the_transfer ... ok
test upload_creates_files_and_folders ... ok
test exists_check_reports_targets_without_creating_anything ... ok
test read_only_root_blocks_writes_but_allows_reads ... ok
test user_cannot_touch_foreign_root ... ok
test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.70s
Running tests/api_search.rs (/ci/cache/target/debug/deps/api_search-e51167a2c898587e)
running 8 tests
test search_rejects_bad_input_and_anonymous_callers ... ok
test exclude_list_is_normalised ... ok
test hidden_and_gitignored_entries_are_searched ... ok
test path_narrows_the_walk_to_a_subfolder ... ok
test name_scope_ignores_the_parent_path ... ok
test backslash_paths_are_normalised_before_trimming ... ok
test both_scopes_stream_from_one_walk ... ok
test excluded_folders_never_appear_in_results ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s
Running tests/api_shares.rs (/ci/cache/target/debug/deps/api_shares-12ba8aaacb9ce610)
running 21 tests
test a_share_password_must_be_long_enough ... ok
test a_share_token_cannot_read_the_admin_listing ... ok
test mutating_a_target_revokes_its_shares ... ok
test create_list_and_delete_shares ... ok
test read_only_share_blocks_writes_writable_share_allows ... ok
test unlocking_an_open_share_is_rejected ... ok
test share_target_validation ... ok
test writable_shares_gated_by_setting ... ok
test share_folder_browsing_and_download_anonymously ... ok
test a_root_can_be_shared_and_keeps_a_name ... ok
test share_token_is_not_the_creators_identity ... ok
test share_expiry_must_be_rfc3339 ... ok
test share_expiry ... ok
test share_of_a_single_file ... ok
test share_scopes_a_signed_in_user ... ok
test a_subfolder_share_by_empty_path_is_unaffected ... ok
test read_only_root_cannot_be_shared_writably ... ok
test unlocking_a_file_share_returns_its_kind ... ok
test an_admin_can_end_a_share_the_creator_can_no_longer_reach ... ok
test a_password_locks_the_share_and_its_files ... ok
test an_admin_sees_every_share_with_its_creator ... ok
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.52s
Running tests/api_spa.rs (/ci/cache/target/debug/deps/api_spa-28311cc9a9745cee)
running 1 test
test spa_fallback_and_api_guards ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/api_thumbs.rs (/ci/cache/target/debug/deps/api_thumbs-bd08dc50dab2bfba)
running 17 tests
test a_video_gets_a_thumbnail_of_one_frame ... ok
test a_small_video_is_not_upscaled ... ok
test a_video_without_ffmpeg_caches_nothing ... ok
test a_broken_image_fails_once_and_is_remembered ... ok
test a_folder_has_no_thumbnail ... ok
test thumbnails_are_off_without_a_cache_folder ... ok
test an_image_smaller_than_the_cap_is_not_upscaled ... ok
test editing_the_file_makes_a_new_cache_entry ... ok
test a_share_scopes_thumbnails_to_the_shared_folder ... ok
test the_second_request_is_served_from_the_cache ... ok
test a_text_file_has_no_thumbnail ... ok
test the_response_is_immutable ... ok
test the_profile_setting_round_trips ... ok
test a_transparent_png_is_flattened_onto_white ... ok
test concurrent_requests_for_one_file_all_get_the_thumbnail ... ok
test an_image_gets_a_webp_thumbnail ... ok
test another_users_root_is_still_out_of_reach ... ok
test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.20s
Doc-tests api_types
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests server
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling api-types v0.1.0 (/ci/build/project/api-types)
Compiling web v0.1.0 (/ci/build/project/web)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.25s
Running unittests src/main.rs (/ci/cache/target/debug/deps/web-d3a1b1b820e2f537)
running 16 tests
test i18n::tests::no_duplicate_keys ... ok
test util::tests::format_date_drops_seconds_and_zone ... ok
test i18n::tests::tables_are_sorted ... ok
test util::tests::sort_keeps_folders_first_in_every_order ... ok
test util::tests::sort_orders_by_the_chosen_key ... ok
test uploads::tests::chunk_respects_both_caps ... ok
test util::tests::sort_spec_round_trips_through_its_stored_form ... ok
test views::search::tests::highlight_empty_words_is_plain ... ok
test views::search::tests::highlight_escapes_markup ... ok
test views::search::tests::highlight_handles_non_ascii ... ok
test views::search::tests::highlight_is_case_insensitive ... ok
test views::search::tests::highlight_marks_all_words ... ok
test views::search::tests::highlight_marks_hits ... ok
test views::search::tests::highlight_no_hit_is_plain ... ok
test views::shell::tests::default_root_rules ... ok
test i18n::tests::translations_cover_all_keys ... ok
test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
successbuild3m 24s
cd web && bun install --frozen-lockfile && bun run build
bun install v1.4.0 (34cbb9a40)
+ @codemirror/lang-cpp@6.0.3
+ @codemirror/lang-css@6.3.1
+ @codemirror/lang-html@6.4.12
+ @codemirror/lang-java@6.0.2
+ @codemirror/lang-javascript@6.2.5
+ @codemirror/lang-json@6.0.2
+ @codemirror/lang-markdown@6.5.2
+ @codemirror/lang-php@6.0.2
+ @codemirror/lang-python@6.2.1
+ @codemirror/lang-rust@6.0.2
+ @codemirror/lang-sql@6.10.0
+ @codemirror/lang-xml@6.1.0
+ @codemirror/language@6.12.4
+ @codemirror/state@6.7.2
+ @codemirror/theme-one-dark@6.1.3
+ @codemirror/view@6.43.10
+ codemirror@6.0.2
39 packages installed [104.00ms]
$ bun build cm/wrapper.js --format iife --target browser --minify --outfile cm6.js
Bundled 40 modules in 20ms
cm6.js 1.0 MB (entry point)
cd web && trunk build --release
2026-09-20T10:57:14.244339Z INFO Starting trunk 0.21.14
2026-09-20T10:57:14.488928Z INFO starting build
Compiling api-types v0.1.0 (/ci/build/project/api-types)
Compiling web v0.1.0 (/ci/build/project/web)
Finished `release` profile [optimized] target(s) in 48.20s
2026-09-20T10:58:03.164429Z INFO downloading wasm-bindgen version="0.2.127"
2026-09-20T10:58:03.901440Z INFO installing wasm-bindgen
2026-09-20T10:58:14.643686Z INFO applying new distribution
2026-09-20T10:58:14.644133Z INFO success
rm -rf server/dist
cp -r web/dist server/dist
cargo build --locked --release -p server --features embedded
Compiling api-types v0.1.0 (/ci/build/project/api-types)
Compiling server v0.1.0 (/ci/build/project/server)
Finished `release` profile [optimized] target(s) in 2m 23s
successe2e43s
Compiling server v0.1.0 (/ci/build/project/server)
Finished `test` profile [unoptimized + debuginfo] target(s) in 18.11s
Running unittests src/lib.rs (/ci/cache/target/debug/deps/server-196dad1c21c0196e)
running 92 tests
test api::search::tests::join_rel_lifts_a_path_to_the_server_root ... ok
test api::search::tests::excludes_cover_descendants_but_not_name_siblings ... ok
test api::search::tests::name_match_ignores_the_parent_path ... ok
test api::search::tests::name_match_needs_every_word ... ok
test api::search::tests::query_fields_are_the_shared_constants ... ok
test api::files::tests::query_fields_are_the_shared_constants ... ok
test api::search::tests::truncation_caps_length ... ok
test api::search::tests::truncation_strips_terminator ... ok
test api::search::tests::truncation_keeps_utf8_boundary ... ok
test archive::tests::format_metadata ... ok
test archive::tests::build_fails_on_missing_dir ... ok
test archive::tests::format_parsing ... ok
test api::files::tests::publish_refuses_an_existing_target_without_overwrite ... ok
test auth::tests::login_delay_grows_after_free_tries ... ok
test auth::tests::session_cookie_shape ... ok
test auth::tests::share_cookie_is_per_share_and_session_scoped ... ok
test auth::tests::parse_session_cookie_variants ... ok
test auth::tests::verify_rejects_garbage_hashes ... ok
test archive::tests::walk_is_sorted_case_insensitively ... ok
test cli::tests::defaults_applied ... ok
test cli::tests::flags_override_defaults ... ok
test db::tests::share_expiry_logic ... ok
test archive::tests::tar_round_trip ... ok
test error::tests::io_error_maps_to_500 ... ok
test error::tests::extra_object_is_merged_into_body ... ok
test archive::tests::tar_zst_round_trip ... ok
test cli::tests::required_args_enforced ... ok
test error::tests::non_object_extra_is_ignored ... ok
test error::tests::plain_error_body ... ok
test auth::tests::token_shapes_and_uniqueness ... ok
test cli::tests::https_from_env ... ok
test archive::tests::tar_gz_round_trip ... ok
test fs::tests::magic_numbers_classify_by_content ... ok
test archive::tests::zip_round_trip ... ok
test fs::tests::copy_recursive_missing_source ... ok
test fs::tests::detect_kind_reads_from_disk ... ok
test fs::tests::list_dir_reports_broken_symlink_as_empty_file ... ok
test fs::tests::list_dir_reports_kinds ... ok
test fs::tests::mkdir_creates_nested_dirs ... ok
test fs::tests::copy_file_and_dir_preserves_mtime ... ok
test fs::tests::move_file_and_dir_across_dirs ... ok
test fs::tests::rename_conflicts_and_overwrite ... ok
test fs::tests::rename_moves_file_and_dir ... ok
test fs::tests::rename_validates_new_name ... ok
test fs::tests::move_refuses_into_self_and_conflicts ... ok
test fs::tests::resolve_path_missing_is_not_found ... ok
test fs::tests::resolve_file_targets_files ... ok
test fs::tests::resolve_path_rejects_parent_traversal ... ok
test fs::tests::resolve_path_traverses_inside_root ... ok
test fs::tests::resolve_path_rejects_symlink_escape ... ok
test fs::tests::resolve_root_rejects_escape_and_missing ... ok
test fs::tests::resolve_root_rejects_symlink_escape ... ok
test fs::tests::resolve_root_whole_root_and_subdir ... ok
test fs::tests::save_file_error_cases ... ok
test fs::tests::svg_is_offered_as_an_image ... ok
test fs::tests::truncated_utf8_at_the_read_boundary_is_still_text ... ok
test fs::tests::unsigned_files_fall_back_to_the_text_heuristic ... ok
test fs::tests::validate_name_accepts_simple_names ... ok
test fs::tests::validate_name_rejects_traversal_and_paths ... ok
test db::tests::fresh_db_state ... ok
test tests::build_app_missing_root_fails ... ok
test fs::tests::remove_file_and_dir ... ok
test fs::tests::is_within_or_eq_matrix ... ok
test fs::tests::resolve_dir_requires_existing_directory ... ok
test fs::tests::mkdir_rejects_conflict_and_bad_names ... ok
test thumb::tests::an_edit_changes_the_cache_key ... ok
test tests::build_app_root_must_be_directory ... ok
test thumb::tests::the_key_fans_out_into_a_bucket ... ok
test thumb::tests::two_writes_of_one_entry_use_different_scratch_names ... ok
test thumb::tests::a_hit_refreshes_a_stale_entry_only ... ok
test fs::tests::list_dir_sorts_folders_first_then_case_insensitive ... ok
test fs::tests::copy_refuses_into_self_and_handles_conflict ... ok
test thumb::tests::the_sweeper_drops_only_cold_entries ... ok
test fs::tests::list_dir_error_cases ... ok
test tests::build_app_custom_port_bind ... ok
test fs::tests::parallel_rows_match_serial ... ok
test fs::tests::sniff_permit_never_exceeds_the_budget ... ok
test tests::build_app_ok ... ok
test tests::build_app_rejects_bad_bind ... ok
test db::tests::v1_db_migrates_to_v2 ... ok
test db::tests::sessions_lifecycle ... ok
test db::tests::settings_round_trip ... ok
test db::tests::revoking_a_path_takes_its_descendants_only ... ok
test db::tests::share_unlocks_are_bound_to_one_share ... ok
test db::tests::setup_is_won_by_exactly_one_caller ... ok
test db::tests::shares_crud ... ok
test fs::tests::save_file_conflict_on_stale_mtime ... ok
test fs::tests::save_file_updates_content_and_returns_new_mtime ... ok
test db::tests::changing_a_password_drops_that_users_sessions ... ok
test auth::tests::password_hash_round_trip ... ok
test db::tests::user_crud_and_roots ... ok
test db::tests::admin_user_and_passwords ... ok
test result: ok. 92 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.42s
Running unittests src/main.rs (/ci/cache/target/debug/deps/filebrowser_ng-7d66dc54c4f436b9)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/api_admin.rs (/ci/cache/target/debug/deps/api_admin-e084c5b3660868f9)
running 6 tests
test update_unknown_user_is_404 ... ok
test settings_round_trip_visible_in_me ... ok
test lockout_guards ... ok
test admin_routes_require_admin ... ok
test admins_can_browse_the_server_root_read_only ... ok
test user_lifecycle ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.86s
Running tests/api_auth.rs (/ci/cache/target/debug/deps/api_auth-edc9d281b8fdd1ad)
running 10 tests
test first_boot_me_reports_first_boot ... ok
test setup_validates_input ... ok
test me_requires_valid_session ... ok
test logout_invalidates_session ... ok
test public_url_reaches_client ... ok
test setup_creates_admin_and_sets_cookie ... ok
test root_name_is_configurable ... ok
test default_root_is_validated_and_dropped_with_its_root ... ok
test disabled_user_loses_session_and_cannot_login ... ok
test login_flows ... ok
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.05s
Running tests/api_dav.rs (/ci/cache/target/debug/deps/api_dav-ce82bf95ce24b2ba)
running 37 tests
test a_share_mounts_at_its_own_root_without_a_login ... ok
test a_writable_share_can_be_written_and_expiry_ends_it ... ok
test a_session_cookie_works_instead_of_basic ... ok
test an_encoded_slash_does_not_split_the_share_token ... ok
test a_lock_is_reported_and_its_timeout_is_capped ... ok
test a_listing_escapes_entry_names ... ok
test a_dangling_symlink_is_still_listed ... ok
test a_path_that_climbs_out_of_the_mount_is_not_a_server_error ... ok
test a_copy_and_a_put_to_one_path_do_not_interleave ... ok
test a_listing_omits_dotfiles ... ok
test a_dangling_symlink_is_not_a_writable_destination ... ok
test a_listing_still_shows_a_symlink_as_its_target ... ok
test concurrent_writers_leave_a_whole_file ... ok
test a_browser_get_of_a_collection_returns_a_listing ... ok
test a_scriptable_file_is_sandboxed_over_dav ... ok
test deleting_a_shared_path_over_webdav_revokes_the_share ... ok
test copy_replaces_a_symlink_instead_of_writing_through_it ... ok
test an_exclusive_lock_blocks_everyone_without_the_token ... ok
test deleting_a_symlink_does_not_revoke_its_targets_share ... ok
test deleting_a_symlink_removes_the_link_not_its_target ... ok
test a_mount_cannot_leave_its_roots ... ok
test deleting_a_symlinked_directory_does_not_empty_its_target ... ok
test an_abandoned_lock_expires ... ok
test deleting_the_mount_point_removes_nothing ... ok
test a_read_only_root_can_still_be_copied_out_of ... ok
test locks_are_scoped_to_their_own_path ... ok
test get_and_put_round_trip_through_the_mount ... ok
test mkcol_move_copy_and_delete ... ok
test propfind_lists_the_roots_then_their_contents ... ok
test moving_a_symlinked_directory_moves_the_link ... ok
test a_move_cannot_wipe_a_root_through_its_destination ... ok
test a_read_only_root_refuses_every_write ... ok
test deleting_a_root_removes_nothing ... ok
test a_protected_share_asks_for_its_password_over_basic ... ok
test unauthenticated_requests_get_a_basic_challenge ... ok
test a_changed_password_locks_the_mount_out_at_once ... ok
test two_users_with_same_named_roots_do_not_share_locks ... ok
test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.90s
Running tests/api_embedded.rs (/ci/cache/target/debug/deps/api_embedded-d717c5411f8d2e1a)
running 1 test
test embedded_frontend_is_complete ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Running tests/api_files.rs (/ci/cache/target/debug/deps/api_files-5e99b32c2f52277e)
running 36 tests
test download_revalidates_with_last_modified ... ok
test listing_reports_sniffed_kinds ... ok
test download_single_file ... ok
test download_folder_as_all_archive_formats ... ok
test copying_a_symlink_copies_what_it_points_at ... ok
test download_folder_requires_valid_format ... ok
test an_interrupted_upload_leaves_no_scratch_file ... ok
test a_symlink_out_of_the_root_still_cannot_be_read_or_written ... ok
test download_honours_single_byte_ranges ... ok
test download_encodes_non_ascii_and_control_characters_in_filename ... ok
test list_root_sorted_folders_first ... ok
test content_action_serves_raw_bytes_with_mtime ... ok
test copying_onto_a_symlink_replaces_it ... ok
test list_subdir_and_errors ... ok
test content_is_capped_at_two_mibibytes ... ok
test editor_save_over_two_mibibytes_is_rejected_with_the_localized_error ... ok
test delete_file_and_folder ... ok
test archive_does_not_follow_symlinks_out_of_the_root ... ok
test exists_check_does_not_follow_symlinked_directories_out_of_the_root ... ok
test a_dangling_symlink_can_be_deleted ... ok
test editor_save_round_trip_and_conflict ... ok
test deleting_a_symlink_removes_the_link_not_its_target ... ok
test move_and_copy_across_dirs ... ok
test mkdir_and_rename ... ok
test path_traversal_is_blocked ... ok
test moving_a_symlink_moves_the_link ... ok
test listing_is_capped_and_reports_truncation ... ok
test preview_serves_inline_and_rejects_dirs ... ok
test renaming_a_symlink_renames_the_link ... ok
test scriptable_files_are_served_sandboxed ... ok
test upload_does_not_follow_symlinked_directories_out_of_the_root ... ok
test upload_creates_files_and_folders ... ok
test upload_does_not_clobber_a_file_created_during_the_transfer ... ok
test exists_check_reports_targets_without_creating_anything ... ok
test read_only_root_blocks_writes_but_allows_reads ... ok
test user_cannot_touch_foreign_root ... ok
test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.11s
Running tests/api_search.rs (/ci/cache/target/debug/deps/api_search-e8f50b8b5ee7279c)
running 8 tests
test search_rejects_bad_input_and_anonymous_callers ... ok
test exclude_list_is_normalised ... ok
test hidden_and_gitignored_entries_are_searched ... ok
test path_narrows_the_walk_to_a_subfolder ... ok
test both_scopes_stream_from_one_walk ... ok
test backslash_paths_are_normalised_before_trimming ... ok
test name_scope_ignores_the_parent_path ... ok
test excluded_folders_never_appear_in_results ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s
Running tests/api_shares.rs (/ci/cache/target/debug/deps/api_shares-a87c746521e23696)
running 21 tests
test unlocking_an_open_share_is_rejected ... ok
test read_only_share_blocks_writes_writable_share_allows ... ok
test share_expiry_must_be_rfc3339 ... ok
test a_share_password_must_be_long_enough ... ok
test writable_shares_gated_by_setting ... ok
test share_expiry ... ok
test share_folder_browsing_and_download_anonymously ... ok
test share_token_is_not_the_creators_identity ... ok
test share_scopes_a_signed_in_user ... ok
test share_target_validation ... ok
test share_of_a_single_file ... ok
test a_share_token_cannot_read_the_admin_listing ... ok
test mutating_a_target_revokes_its_shares ... ok
test a_root_can_be_shared_and_keeps_a_name ... ok
test create_list_and_delete_shares ... ok
test a_subfolder_share_by_empty_path_is_unaffected ... ok
test an_admin_can_end_a_share_the_creator_can_no_longer_reach ... ok
test read_only_root_cannot_be_shared_writably ... ok
test unlocking_a_file_share_returns_its_kind ... ok
test an_admin_sees_every_share_with_its_creator ... ok
test a_password_locks_the_share_and_its_files ... ok
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.38s
Running tests/api_spa.rs (/ci/cache/target/debug/deps/api_spa-b7555bad03ce798f)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/api_thumbs.rs (/ci/cache/target/debug/deps/api_thumbs-b57a42b7bb095681)
running 17 tests
test a_small_video_is_not_upscaled ... ok
test a_video_gets_a_thumbnail_of_one_frame ... ok
test a_video_without_ffmpeg_caches_nothing ... ok
test an_image_smaller_than_the_cap_is_not_upscaled ... ok
test thumbnails_are_off_without_a_cache_folder ... ok
test a_share_scopes_thumbnails_to_the_shared_folder ... ok
test a_folder_has_no_thumbnail ... ok
test a_transparent_png_is_flattened_onto_white ... ok
test a_text_file_has_no_thumbnail ... ok
test a_broken_image_fails_once_and_is_remembered ... ok
test the_second_request_is_served_from_the_cache ... ok
test the_profile_setting_round_trips ... ok
test editing_the_file_makes_a_new_cache_entry ... ok
test concurrent_requests_for_one_file_all_get_the_thumbnail ... ok
test the_response_is_immutable ... ok
test another_users_root_is_still_out_of_reach ... ok
test an_image_gets_a_webp_thumbnail ... ok
test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.80s
Doc-tests server
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
skippedrelease0s
Skipped: condition not met
successimage2s
Login Succeeded!
[2/3] STEP 1/2: FROM scratch AS prebuilt
[2/3] STEP 2/2: COPY ci-bin/filebrowser-ng /filebrowser-ng
--> d015bc68119b
[3/3] STEP 1/9: FROM alpine:3.22
[3/3] STEP 2/9: ARG BIN_STAGE=build
--> Using cache 3effe62152c0b80c3b33eb96b6f199038ff8b776b9b862606af9b5e21d950be6
--> 3effe62152c0
[3/3] STEP 3/9: RUN apk add --no-cache ca-certificates ffmpeg && mkdir -p /data /var/lib/filebrowser /var/cache/filebrowser
--> Using cache 01359cf6bc46fc1675946b2e06794b41a7d6780e57b189ccc4b8c7ac6f73b047
--> 01359cf6bc46
[3/3] STEP 4/9: COPY --from=${BIN_STAGE} /filebrowser-ng /usr/local/bin/filebrowser-ng
--> 11aff8befa53
[3/3] STEP 5/9: EXPOSE 8080
--> 0d05721e29fd
[3/3] STEP 6/9: VOLUME ["/data", "/var/lib/filebrowser"]
--> 1726044b52ba
[3/3] STEP 7/9: HEALTHCHECK --interval=30s --start-period=10s --timeout=5s --retries=3 CMD wget -qO /dev/null http://127.0.0.1:8080/ || exit 1
time="2026-09-20T13:01:22+02:00" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 4543f67c28d9
[3/3] STEP 8/9: ENTRYPOINT ["/usr/local/bin/filebrowser-ng"]
time="2026-09-20T13:01:22+02:00" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 0f8abdc8a586
[3/3] STEP 9/9: CMD ["--root", "/data", "--db", "/var/lib/filebrowser/db.sqlite", "--bind", "0.0.0.0"]
[3/3] COMMIT forge.unix-root.de/filebrowser-ng:c1c09d28
time="2026-09-20T13:01:22+02:00" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 2617b5735b39
Successfully tagged forge.unix-root.de/filebrowser-ng:c1c09d28
2617b5735b3925034e9ed707969c7e3c60a3f1b20d5d7f2e255be79f8346024f
Getting image source signatures
Copying blob sha256:11bd927e736c8ced610c01dd31a3ea70c4a8559b5d44cbc9faa70ef2e8e30863
Copying blob sha256:6f09edfb3f6d7173733adc8eec8ea00626550dc6fc2dcf07d40e13f5c1e907c4
Copying blob sha256:ee221fee9287465a2e72eda3d462f611fca3460cc32b00e5c968344cc9fdfea6
Copying config sha256:2617b5735b3925034e9ed707969c7e3c60a3f1b20d5d7f2e255be79f8346024f
Writing manifest to image destination
Getting image source signatures
Copying blob sha256:11bd927e736c8ced610c01dd31a3ea70c4a8559b5d44cbc9faa70ef2e8e30863
Copying blob sha256:6f09edfb3f6d7173733adc8eec8ea00626550dc6fc2dcf07d40e13f5c1e907c4
Copying blob sha256:ee221fee9287465a2e72eda3d462f611fca3460cc32b00e5c968344cc9fdfea6
Copying config sha256:2617b5735b3925034e9ed707969c7e3c60a3f1b20d5d7f2e255be79f8346024f
Writing manifest to image destination