Debian Package Tracker
Register | Log in
Subscribe

siso

Ninja-compatible build system optimized for remote execution

Choose email to subscribe with

general
  • source: siso (main)
  • version: 1.6.10+ds-1
  • maintainer: Debian Go Packaging Team (DMD)
  • uploaders: Juan Manuel Méndez Rey (DMD) (DM)
  • arch: any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • testing: 1.6.10+ds-1
  • unstable: 1.6.10+ds-1
versioned links
  • 1.6.10+ds-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • siso (1 bugs: 0, 1, 0, 0)
action needed
1 bug with a patch to review in the bug tracker normal
The bug tracker contains patches fixing 1 bug to review: include them, or remove the patch tag.
Created: 2026-11-19 Last update: 2026-11-23 09:00
138 new commits since last upload, is it time to release? normal
vcswatch reports that this package seems to have new commits in its VCS but has not yet updated debian/changelog. You should consider updating the Debian changelog and uploading this new version into the archive.

Here are the relevant commit logs:
commit ce893faa6f83499fdd96673ca1d0aebdd276cbfb
Merge: 5f697bd f8b958f
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 18 14:52:08 2026 +0000

    Merge branch 'debian/latest' into 'debian/latest'
    
    New upstream release 1.6.10
    
    See merge request go-team/packages/siso!13

commit f8b958f9bfa6a766794871a697c73eeb17760d46
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 18 11:02:53 2026 +0100

    Skip clean-dead saved-state test on a single CPU
    
    New 0006-skip-cleandead-test-single-cpu.patch guards
    TestCleanDead_LeavesUndeletableDeadOutput with runtime.NumCPU() < 2. The
    test's saved-state assertion is goroutine-scheduling sensitive and fails
    only when the ninjabuild suite runs pinned to one CPU after the TestLoad_*
    cases; it passes in isolation. Forwarded as
    https://chromium-review.googlesource.com/c/build/+/8836160.

commit d876a6aec0c3bb33a0c9f1d7423bc6f9137a6e04
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 18 09:38:18 2026 +0100

    New upstream release 1.6.10
    
    Refresh 0004-landlock-test-cwd-independent.patch for upstream context
    changes. No Build-Depends change (siso/go.mod: klauspost/compress 1.20.4,
    google/uuid now indirect).

commit 173f2be1d153c88e3f151ab86a9ffa6a5ea026d5
Merge: b3c8827 0a4edb6
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 18 09:36:52 2026 +0100

    Update upstream source from tag 'upstream/1.6.10+ds'
    
    Update to upstream version '1.6.10+ds'
    with Debian dir 08b2edf5003ca3be18056b4bef5c93a60f2e567c

commit 0a4edb6a8df249b80e81086e12e3c318b3990380
Merge: 5df8a9d 3025be9
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 18 09:36:50 2026 +0100

    New upstream version 1.6.10+ds

commit 3025be9c477069426f08b8235e9545d5b20afd0f
Author: Richard Wang <richardwa@google.com>
Date:   Thu Nov 12 21:45:30 2026 -0800

    infra: add rawstring analyzer
    
    Add an analyzer that reports interpreted string literals holding
    multi-line text, which are easier to read as raw string literals, e.g.
    shell scripts, ninja manifests and help text.
    
    To keep noise low, it only reports literals with at least 3 lines of
    content, where blank lines, lines that are only printf verbs, and bare
    "label:" lines don't count. It skips literals that a raw string can't
    express faithfully (backquotes, \r, \t, other non-printable runes, or
    trailing spaces that editors would strip) and generated files.
    
    Supports opt-out via `//goanalyzer:ignore rawstring` on the same or
    preceding line.
    
    Bug: 584489882
    Change-Id: I9cbc752f07490e46f98eae2043149fdf6a6a6964
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8791275
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Richard Wang <richardwa@google.com>

commit 7115c811fe81ead9fb42a9c0fbdb13de4fcc25cf
Author: Richard Wang <richardwa@google.com>
Date:   Thu Nov 12 21:45:24 2026 -0800

    infra: rename subtestanalyzer to goanalyzers
    
    Turn the subtest name vettool into a multichecker so that more analyzers
    can be added to it without building another vettool and type-checking
    every package again. The subtest name analyzer moves into its own
    package, and the presubmit selects it with -subtestnames.
    
    No change in behavior.
    
    Bug: 584489882
    Change-Id: If8310e6d04a3c59b12c6d592ec3f42716a6a6964
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8791274
    Commit-Queue: Richard Wang <richardwa@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit e6c63c8c96dcff073732a9157855a97e2ed2a578
Author: Neri Marschik <nerima@google.com>
Date:   Thu Nov 12 19:05:05 2026 -0800

    hashfs: record entry kind; persist mtime-only files
    
    A clean chrome build stats ~92k files it never reads. Without a digest
    they were saved only in missing_digests (a digestless Entry loads as a
    directory), so the next load hashed all of them and the first no-op
    after a clean build was never clean. With -fs_defer_digest it never
    converged.
    
    Add Entry.kind (file/dir/symlink) to every saved entry, and Entry.size
    for files without digest. hashfs.EntryKind reads the kind and falls
    back to the old inference for states from older siso; the loader, the
    Watchman FileInfo and `siso fs flush` use it. Files without digest are
    saved in Entries with mtime, size and is_executable, checked by mtime,
    type and size on load, and hashed lazily. Older siso loads them as
    directories, finds files on disk and treats the state as dirty.
    
    No-op after a clean chrome build (autoninja -strict_remote -fast_nop),
    wall / user CPU; #2+ is the median of the following runs:
                      before                 after
      default   #1    5.25s / 50.9s (dirty)  1.56s / 6.3s
                #2+   1.48s /  5.9s          1.50s / 6.2s
      defer     #1    3.93s / 39.9s (dirty)  1.46s / 6.1s
                #2+   4.33s / 42.7s (dirty)  1.65s / 6.0s
      watchman  #1    5.22s / 49.1s (dirty)  1.23s / 6.8s
                #2+   1.04s /  6.8s          0.98s / 5.7s
    Peak RSS of the first no-op drops from 3.7 GB to 1.3 GB.
    
    Change-Id: Ie5965523d80b1bda6b9cee7b801477cc6bc81449
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8040828
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Neri Marschik <nerima@google.com>

commit 7fd4842a0b4f4d62486d6c17e1407a0c3321d4e0
Author: Philipp Wollermann <philwo@google.com>
Date:   Thu Nov 12 17:02:36 2026 -0800

    siso: accept the committed size of compressed uploads
    
    REAPI defines the committed_size of a compressed upload only for one
    that the server ends early, as -1. For one that completes, servers
    differ: Buildbarn, BuildBuddy, bazel-remote and NativeLink report the
    compressed bytes they received, RBE the uncompressed size, and
    Buildfarm -1. bytestreamio's Writer accepted only the uncompressed
    size, or -1 after the server had ended the stream during a Write, and
    failed every compressed upload to any server but RBE. FindMissingBlobs
    in the upload's caller hid the failure, as the blob was stored anyway.
    
    Accept -1 for any compressed upload, and the compressed bytes sent for
    one that the server didn't end early.
    
    Change-Id: I51c19176c1d1e4158bb73e1323cc774df8bace29
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773230
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 259b14a57b7ead47a6125326ac81131e4b7c50e1
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Thu Nov 12 04:10:17 2026 -0800

    siso: fix dangling symlink support
    
    hashfs.Entries would not preserve dangling symlinks or escaping
    symlinks.
    use hashfs.RawEntries for dirOutputTree to preseve symlinks.
    
    Bug: b/584976936
    Change-Id: Ifd9d80d0a84c012561d97d12828c1057d0d9f517
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8795072
    Commit-Queue: Neri Marschik <nerima@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Neri Marschik <nerima@google.com>

commit db7b5ec26d0698bfa1f537d10fa43621ebbccaca
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Thu Nov 12 02:25:01 2026 -0800

    siso: fix exit=-1 to report signal number as bash
    
    followup of https://crrev.com/c/8700837
    
    Change-Id: I3c006c630d4f12fab9760b7c22e67f573edb492f
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8791956
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit 83f115a2d2fcaef005ebd768792fe0fdc5e09966
Author: Alex Ovsienko <ovsienko@google.com>
Date:   Thu Nov 12 00:28:44 2026 -0800

    siso: cap Windows ForkSema at 64
    
    After crrev.com/c/8681304 raised runtime.GOMAXPROCS(0) from 64 to 192
    across Windows processor groups, localexec.ForkSema scaled from 64 to
    192. On 192-vCPU win-build-service, that re-triggered Windows
    ERROR_NOT_ENOUGH_MEMORY ("Not enough memory resources are available to
    process this command", b/278658064) in 8/53 builds (vs 0/1,429 before).
    
    Keep GOMAXPROCS and build limits scaling across all processor groups,
    and cap localexec.ForkSema at 64 on Windows via concurrencyLimit.
    
    ORIGINAL_AUTHOR=ovsienko
    Bug: 466257630
    Change-Id: I3839dec7443f63d6ee0b9c17ce8548f1878fe595
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8795070
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Alex Ovsienko <ovsienko@google.com>

commit 591bd56fda361fbe3c100edc303119752b8fd834
Author: Ryosuke Miyake <rysk@google.com>
Date:   Wed Nov 11 23:40:19 2026 -0800

    Document why inputWalker uses bitmaps
    
    Explain why the wanted and reached sets of inputWalker are bitmaps
    indexed by node id rather than maps.
    
    Bug: 578308343
    Change-Id: I8fd79ecc05155c294ef6a488c0861cc909a8df3a
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8792981
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Ryosuke Miyake <rysk@google.com>

commit c8428e91cbddaa68961c6d3e2c15e073359e734d
Author: Ryosuke Miyake <rysk@google.com>
Date:   Wed Nov 11 23:27:23 2026 -0800

    Index CheckMissingDeps by node id
    
    CheckMissingDeps tracked wanted deps and seen nodes in maps keyed by
    path, so it built and hashed a path for every node it visited (~29k per
    checked step on a linux out/Default graph).
    
    Resolve the deps to graph nodes before the walk, and track wanted and
    reached nodes in pooled bitmaps indexed by node id. A dep that is not a
    node in build.ninja is now reported missing; before, it was compared
    with the paths of the nodes reached, which only differs when build.ninja
    spells a path uncleanly (e.g. gen/./x.h).
    
    linux-build-perf-siso, "with missing-deps check" step:
    - overhead over the build without the check: +196 s -> +29 s
    - CheckMissingDeps CPU: 1416 s -> 143 s
    - before: https://ci.chromium.org/b/8665419141896722289
    - after:  https://ci.chromium.org/b/8665419141062650273
    
    Bug: 578308343
    Change-Id: Ic379c10a1ce4d67d97ff6ce4d249914aa448a02e
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8680778
    Commit-Queue: Ryosuke Miyake <rysk@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 5a74877fda504fa9649bfa69bea3c71d8feb543b
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Wed Nov 11 21:09:35 2026 -0800

    upgraded github.com/klauspost/compress v1.20.3 => v1.20.4
    
    https://github.com/klauspost/compress/releases/tag/v1.20.4
    
    Change-Id: Ic13e4ef0d8d2b38c7935f7c57efd39cf8f6da8bc
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8795068
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Richard Wang <richardwa@google.com>
    Reviewed-by: Richard Wang <richardwa@google.com>

commit 77efcd2fe93bc62631e91a0c7d266f60892e0be4
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Wed Nov 11 19:45:41 2026 -0800

    use standard uuid package
    
    go 1.27 adds uuid in standard package.
    replace github.com/google/uuid to standard uuid.
    
    Change-Id: I4c20511c7b2d0baf0287470eb720b2211ac56d6f
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8800353
    Reviewed-by: Richard Wang <richardwa@google.com>
    Commit-Queue: Richard Wang <richardwa@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>

commit 6c86192533ef7ea4e3abf4ee0b307563a0da7203
Author: Ryosuke Miyake <rysk@google.com>
Date:   Wed Nov 11 01:08:26 2026 -0800

    Move CheckMissingDeps to missing_deps.go
    
    Move CheckMissingDeps and resolveEdgeDeps from step_def.go to a new
    file, missing_deps.go, without changes, so that the follow-up
    crrev.com/c/8680778 can rewrite them in their own file.
    
    Bug: 578308343
    Change-Id: Ia68a281d92f2a72411004a01ad6b59d8f69748ba
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8791955
    Commit-Queue: Ryosuke Miyake <rysk@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 80e56c3d3a987d0680d9765d357ecd08da5350f0
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Nov 10 23:31:18 2026 -0800

    siso: report signal in exit code as bash
    
    bash encode signal number encoded in exit code as 128+signal,
    and exitCodeExplain supports this.
    however, it is not in kernel, so native command exit code doesn't
    use such convention.
    Go's ExitCode would return -1 when process was not Exited but
    terminated by Signal.
    e.g.
    https://ci.chromium.org/ui/p/chromium/builders/build/ios-build-perf-siso/34782/overview
    ```
    ../../third_party/cpython3/host/bin/python3 ../../tools/grit/pak_util.py repack ios_clang_arm64_app_ext/gen/ios/chrome/widget_kit_extension/fr.lproj/locale.pak ios_clang_arm64_app_ext/gen/ios/widget_kit_extension/ios_widget_kit_extension_strings_fr.pak
    exit=-1
    error: 1 steps failed: exit=-1
    ```
    
    To make it easy to diagnose the exit reason, use the same
    exit code encoding as bash.
    
    Change-Id: I2aab65862d669131295ab0cf78c6a1757ac1a11b
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8700837
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit 0fa8a652783ddcd21018c8be6b80c5a1c63b6e3b
Author: Alex Ovsienko <ovsienko@google.com>
Date:   Tue Nov 10 22:39:16 2026 -0800

    siso: count all Windows processor groups in GOMAXPROCS at init
    
    On Windows systems with multiple processor groups, Go's default
    GOMAXPROCS counts only the process's primary group
    (https://go.dev/issue/6296), capping Siso's Go scheduler and concurrency
    pools at <=64 CPUs. Add an init-only siso/runtimex package (imported by
    siso/sync/semaphore) that sets runtime.GOMAXPROCS using the multi-group
    getCPUCount logic from https://go.dev/cl/857241 when GOMAXPROCS is not
    set in the environment.
    
    Bug: 577862707
    Change-Id: I7fb165a2c38d0b4394f9ab78d2bb5d41c9227500
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8681304
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Alex Ovsienko <ovsienko@google.com>

commit 78cbbcc0225d8b3704bef7927ad9c7a7979b906d
Author: Neri Marschik <nerima@google.com>
Date:   Tue Nov 10 22:13:58 2026 -0800

    o11y/trace: hold wmu in Tracer.Close to avoid racing direct writes
    
    Tracer.Stop drains the async event loop, but direct Tracer.write
    callers (Begin/End, Process, Thread, ProcessSortIndex) write under
    Tracer.wmu without going through the event channel. When a fast-nop
    build exits early while a detached goroutine (such as
    hashfs.SetState.store) is still writing trace events, Tracer.Close
    could race Tracer.write on bufio.Writer and te.f.
    
    Hold te.wmu across writing the trace footer, flushing, and closing the
    underlying file, clear te.f, and redirect te.w to io.Discard afterwards
    so late writes and repeated Close calls become harmless no-ops.
    
    Change-Id: I3ad513d2000a4985d19916b5fa075354826de83c
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773169
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 5b876ad4f36bfc993491efdea5843738f17a613f
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Nov 10 21:48:22 2026 -0800

    siso: enable --reapi_walkdir_stream true by default.
    
    For WalkDir, ReadBatchBlobs could eliminate duplicated
    directory message fetching, but it would need to fetch
    each directory level by one grpc call, so it requires
    many grpc call for deep directories and take time
    due to RTT.
    It would be better to use GetTree streaming by default.
    
    Bug: b/584357256
    Change-Id: I1217f0677f5aa0e4816083944cca9c32effa926b
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8792973
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Philipp Wollermann <philwo@google.com>

commit 99bc4a4245496c2b3bfdc42396edb01396061fc6
Author: Richard Wang <richardwa@google.com>
Date:   Tue Nov 10 20:53:51 2026 -0800

    Use raw string literals for multi-line strings
    
    Bug: 584489882
    Change-Id: I4acf71d94b4bd86c6c50a9518f9049436a6a6964
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8791273
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Richard Wang <richardwa@google.com>

commit 693ee607db841cf42b35c3aa94ece0e08e0b2be9
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Nov 10 19:29:03 2026 -0800

    siso: set PageSize for ListActions
    
    If we don't set PageSize in ListActions request,
    RBE may collect many candidates and it would take time.
    Since siso only checks 10 candidates, pass 10 as PageSize
    to reduce load of RBE.
    
    Bug: b/584357256
    Change-Id: I776b2e69b6b14e3065dfed4fef4f9f7a5a59bc14
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8790635
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>

commit b106904d2e338d2164e3c3029a00d0fb04d17e74
Author: gregorynisbet <gregorynisbet@google.com>
Date:   Tue Nov 10 16:35:34 2026 -0800

    [go] update toolchain go 1.27.3 -> 1.27.4
    
    Update Go toolchain pin in PRESUBMIT.py and go directives in all
    first-party go.mod files from 1.27.3 to 1.27.4.
    
    Bug: b:549514843
    Change-Id: I5059069329969af01eb37d8b128c5f0162cda31d
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8785140
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Gregory Nisbet <gregorynisbet@google.com>

commit c8c55e92472d6bb65d03fa859042c8e3632654a9
Author: Zi Wang <mrziwang@google.com>
Date:   Tue Nov 10 16:14:15 2026 -0800

    siso: deduplicate and resolve symlink dirs in nsjail inputs
    
    When nsjail action sandboxing mounts inputs in nsjailutil.New, duplicate
    symlinks or inputs nested under a symlinked directory (such as Android's
    frameworks/native/include/gui -> ../libs/gui/include/gui alongside
    frameworks/native/include/gui/AdditionalOptions.h) cause nsjail to fail
    with EEXIST or ENOENT during mount setup.
    
    Add ExpandInputs on hashfs.FileSystem and call it on the caller side
    (build and subcmd/sandbox) to expand intermediate symlink directories
    via ExpandSymlinks(filepath.Dir(input)) and relocate nested inputs to
    their resolved parent directories.
    
    Update nsjailutil.New via resolveInputs (using only io/fs) to:
    - Clean and deduplicate exact duplicate input paths.
    - Omit child mounts that are already shadowed by a bind-mounted parent
      directory.
    - Reject inputs nested under a symlink mount.
    
    Bug: b/579246632
    Test: go test ./hashfs/... ./toolsupport/nsjailutil/... ./build/... ./subcmd/sandbox/...
    Change-Id: I32ca417e9d0d7c0d8855402a79877ca4cd3a5e54
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8681989
    Commit-Queue: Zi Wang <mrziwang@google.com>
    Reviewed-by: Cole Faust <colefaust@google.com>

commit 69ce46e56275716e8525ad8444e11b9b413b4ffa
Author: Ryosuke Miyake <rysk@google.com>
Date:   Tue Nov 10 03:09:30 2026 -0800

    Consume the CheckMissingDeps queue by index
    
    CheckMissingDeps popped the front of its BFS queue with
    copy(edges, edges[1:]), which shifts the whole queue on every pop.
    
    Walk the queue by index instead. The edges visited and the result are
    unchanged.
    
    On linux-build-perf-siso (led), the overhead of -missing_deps=error
    over the same clean build without the check went from +485 s to +282 s.
    Before: https://ci.chromium.org/b/8665599358664356481
    After: https://ci.chromium.org/b/8665599357864693057
    
    Split from crrev.com/c/8680778.
    
    Bug: 578308343
    Change-Id: I104a70e85322f65a5fdacca9fdc27bb17a2087d4
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773049
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Ryosuke Miyake <rysk@google.com>

commit 7478ae02d852486e7ea3e02c2c7e6674f9aa4e80
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Mon Nov 9 21:50:15 2026 -0800

    siso: fix slab.slice tail fragmentation and pack Edge nodes
    
    slab.slice previously returned make([]T, n) when s.next+n exceeded
    len(s.allocs) without advancing s.next or allocating a fresh slab,
    causing subsequent multi-element slice requests to fall back to
    individual heap allocations until a 1-element request happened to
    finish the slab. In addition, ch.edgePathSlab was sized for 1 node per
    build edge (ch.nbuild), and Edge stored outputs, inputs, and
    validations in 3 separate []*Node slice headers with int counts (176 B
    per Edge).
    
    Track slab usage via len(s.allocs) and capacity via cap(s.allocs),
    allocating a new backing slice when len(s.allocs)+n > cap(s.allocs),
    size edgePathSlab to ch.nbuild*4, and pack outputs, inputs, and
    validations into a single contiguous Edge.nodes slice with uint32
    counts (shrinking Edge from 176 B to 128 B).
    
    BenchmarkLoadAndroid (7.12M nodes), 128-CPU host, 3 runs:
      sec/op     5.499    -> 5.408     (-1.6%)
      B/op       15.99Gi  -> 15.88Gi   (-0.7%)
      allocs/op  8.56M    -> 8.40M     (-1.8%)
    
    BenchmarkLoadChromium, 128-CPU host, 6 runs:
      sec/op     0.664    -> 0.672     (+1.2%)
      B/op       889.8Mi  -> 868.6Mi   (-2.4%)
      allocs/op  1.693M   -> 1.622M    (-4.2%)
    
    Bug: b/577510209
    Change-Id: I5cc5426955e1cb91c05115d9fdacbf4e7b20c528
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8683423
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit ec7b519aab61fc805c96fb0ab34cc0a8336d2e8b
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Mon Nov 9 21:45:51 2026 -0800

    siso: fix path incompatible between in memory hashfs vs journal
    
    hfs.directory.store will traverse intermediate symlink,
    and stores the entry in resolved filename.
    however, it didn't return resolved filename, and use
    original filename for journal.
    When recovering from journal, unresolved path is used
    and siso failed to reconcile, and would cause strange error
    in incremental build.
    
    Use resolved path in journal too to avoid such inconsistency.
    
    Bug: b/577452831
    Change-Id: I4820bdee3d4087b1c6b56dc44e76f0093df42cec
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682482
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 18eb85d0bd390dfb2f05a802b91c9082c68ba98d
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Nov 9 07:55:52 2026 -0800

    siso: fail WalkDir when GetTree leaves out part of the tree
    
    REAPI lets GetTree succeed without the subtrees that are missing from
    the CAS, and several servers do that. With -reapi_walkdir_stream,
    WalkDir then walked the rest of the tree and returned nil, so a caller
    such as the two phase cache lookup saw an incomplete input tree. Fail
    when a directory that the tree refers to never arrived.
    
    Change-Id: I68be475facd77d5baa0a69484ffbc7c1ae48a8b1
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773168
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 36660cc8cbab3e310aa304f4bf1491a5f81a5a0e
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Nov 9 07:46:00 2026 -0800

    siso: finish an upload that the server ended early
    
    A server ends a ByteStream Write as soon as another upload of the same
    blob completes. If that happened after the last Write, Close got io.EOF
    from sending finish_write and failed the upload, although the response
    that CloseAndRecv gets reports success.
    
    On io.EOF from finish_write, receive the response as usual.
    
    Change-Id: Ie6d9e4e801d5d62c497105fb9b3a73d18d2244b7
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773231
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 0a46eeb938c7bc566dc94d67af1f10aa03fda037
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Nov 9 07:45:54 2026 -0800

    siso: don't write a chunk that another fetch has cached
    
    fetchChunks checks the local cache for a large chunk before it reads
    the chunk with ByteStream, but another fetch of the same chunk can store
    it in between. ContentSink then returns no writer, as the content
    exists, and io.Copy to that nil writer panicked. A two-phase caching
    test hit this about once in 20 runs once its fake server offered
    SplitBlob.
    
    Return when another fetch has cached the chunk, as the other callers
    of ContentSink do. That return, like the error returns before it, left
    the ByteStream read open until the caller's context ended, since
    bytestreamio.Reader can't end it, so cancel the read on every return.
    
    Change-Id: I73ecdc75d4311a52095d855611d608741dcb6d73
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773229
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit c3b52e03841024a473a77cedb2700934ffb4c84a
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Nov 9 07:42:36 2026 -0800

    siso: mount the nsjail exec root as a tmpfs
    
    The exec root in the jail was a read-only bind of a directory in the
    jail dir, so nsjail created the mount points for the inputs in that
    directory on the host. nsjail writing into the source of a read-only
    bind is a bug, and an nsjail with a fix for it (branch mnt-fixes of
    github.com/philwo/nsjail, not upstream yet) refuses to create those
    mount points and fails every action that has inputs.
    
    Using a tmpfs also makes each action cheaper: the mount points now live
    in memory instead of on the jail dir's file system, and Siso no longer
    deletes them after the action. Measured with nsjail 3.6 on XFS on a
    Ryzen 9 9950X3D, running /bin/true with 3185 Chromium headers as inputs:
    
                                             before     after
      one jail at a time:
        nsjail run                           50.5 ms    40.9 ms
        removing the jail dir                13.7 ms    0.06 ms
      32 jails at once, run and removal:
        wall time per jail                   440 ms     409 ms
        CPU time per jail                    206 ms     191 ms
    
    Change-Id: Ib0362f88583e0c3d3362d84c460e916f26a90001
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773147
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 3e434e25d38c870cc95980aad074d2b4750341eb
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Nov 9 07:14:57 2026 -0800

    siso: fix Landlock executor tests in checkouts under /tmp
    
    TestLandlockExecutor_OutputDirs and _DefaultDirs failed when the
    checkout was under /tmp, such as a worktree in a scratch directory.
    Most cases left WorkspaceRoot empty, which no real build does, so their
    paths resolved against the working directory, and the executor
    deliberately withholds /tmp when /tmp contains the workspace root. Give
    every case an absolute workspace root outside /tmp.
    
    Change-Id: I77170f34b38d1380ec1afcd72461d7289cbc604d
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773228
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit 9b1904db44f696f1c5336fa1170d29a8e220d520
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Nov 9 07:14:11 2026 -0800

    siso: drop the No-Without-Go-Work footer from the docs
    
    The buildinfra recipe no longer reads the footer and tests each module
    only without go.work, because a CL with an incompatible kajiya API
    change can't pass both the workspace and the non-workspace build.
    Describe landing such a change as a kajiya CL followed by a siso CL
    that bumps the kajiya dependency.
    
    Change-Id: I7c83f2b615e66806d6b887e2f2957ba97bf0b590
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8773227
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 64381a57dadb85ca420fb47a9d059b93d3fdba51
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Sun Nov 8 18:08:39 2026 -0800

    siso: update version string to v1.6.10
    
    v1.6.9 is rolled out as pinned version at
    git_revision:59d84e3b054313652b74928f5a9c550f4a951723
    https://crrev.com/c/8771407
    http://ag/43636875
    
    Bug: b/580667103
    Change-Id: I8a12835aa0b748bab735945e00c27e99a852f7ce
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8765139
    Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Takuto Ikuta <tikuta@chromium.org>

commit 5f697bd0579009e8f602bb33779c1e68c9303977
Merge: 7abcabf b3c8827
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 8 21:19:39 2026 +0000

    Merge branch 'debian/latest' into 'debian/latest'
    
    New upstream 1.6.8, dh-go migration, ppc64el PIE restore
    
    See merge request go-team/packages/siso!12

commit 59d84e3b054313652b74928f5a9c550f4a951723
Author: Neri Marschik <nerima@google.com>
Date:   Fri Nov 6 02:35:09 2026 -0800

    siso: flush a dir output that already exists on disk
    
    With output_local off, a remote or cached dir output was never flushed,
    even when an earlier build had materialized it. A flush is what updates
    changed members on disk, so they kept their old contents: after the
    stale member prune, a tree {a(v1), b} rebuilt as {a(v2)} was left as
    {a(v1)} on disk.
    
    Flush a dir output that already exists on disk, as file outputs already
    do.
    
    Change-Id: I86fc20cf98876d235282c529163305629b271522
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8753899
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Neri Marschik <nerima@google.com>

commit 211da1846e2770d7c5c374b935d7d84b00161d49
Author: Neri Marschik <nerima@google.com>
Date:   Fri Nov 6 02:31:08 2026 -0800

    siso: prune stale members when a remote or cached dir output shrinks
    
    Local execution wipes a directory output before the action re-runs
    (ResetDirOutput), but a remote or cached result is only flushed, and a
    flush never removes files. So when a directory output shrank, the files
    it dropped stayed on disk. This also affects two phase cache hits of
    local steps. In an Android catchup build, a stale .so left in the system
    image staging dir made system.img and its dependents miss the cache and
    differ from a clean build.
    
    After recording a remote/cache result, remove the on-disk entries under
    the directory that are not recorded with its cmdhash. Checking the
    cmdhash, not just presence, also catches stale files that a ReadDir walk
    already picked up into hashfs as unowned records.
    
    Change-Id: If16cee099ed117fbb55dc19fad9ee3dee2e6afab
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8016906
    Commit-Queue: Neri Marschik <nerima@google.com>
    Reviewed-by: Philipp Wollermann <philwo@google.com>

commit 1cec572fe19e67395987667c99119c3b4be2d760
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Nov 5 22:14:29 2026 -0800

    siso: support output_local binding in ninja
    
    Support an `output_local` binding on a ninja `rule` or `build`, like
    remote_enabled. `output_local = true` forces writing all outputs of
    the step to local disk, and `output_local = false` disables
    output_local set in the StepConfig rule.
    
    It is applied when the edge matches a StepConfig rule or is configured
    by remote_* bindings. output_local alone doesn't create a "ninja:" rule
    to keep such a step impure and local, whose outputs are on local disk
    anyway.
    
    Bug: b:578729816
    Test: go test ./build/... ./subcmd/ninja/...
    Change-Id: I5972e1a7b0ded04c0d6aa6a65d56196715ce29a4
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8752819
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Auto-Submit: Junji Watanabe <jwata@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit 8315c3619bae2aec4dda19b91011c1e12767d830
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Thu Nov 5 21:38:20 2026 -0800

    siso: fix ExpandSymlinks
    
    ExpandSymlinks iterates maxSymlinks even if it gets resolved path.
    Use StatIfExists instead of Stat to reduce unnecessary lstat call
    on intermediate directories.
    
    Change-Id: Ib11beec1076eb1b5680453c256993d32e76d544b
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8751620
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 1c1ea7a39bfaa234db2915a1d765914265c78cde
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Nov 5 21:10:42 2026 -0800

    siso: add .jdeps to minimum output_local strategy
    
    Android's local javac-input-delta, kotlin-input-delta, and
    ksp-input-delta actions read the prior build's .jdeps lookup caches to
    prune incremental Java/Kotlin compilation, without declaring them as
    Ninja inputs (to avoid circular dependencies). With
    -output_local_strategy=minimum, remotely built .jdeps files are not
    written to local disk, which disables the pruning.
    
    Add .jdeps to the minimum strategy so soong_ui can use Siso's minimum
    strategy instead of maintaining a separate copy of its patterns
    (ag/43440262).
    
    Also fix the missing leading dot on "cxx", which prevented .cxx
    outputs from matching the minimum strategy.
    
    Bug: b:578729816, b:580717416
    Test: go test ./subcmd/ninja/...
    Change-Id: I75ea817dec3c7e659c764447f70b5623853745b8
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8752659
    Auto-Submit: Junji Watanabe <jwata@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit 9bf0b33a23f5ba76f0a588b72aa5fb96d9c8be7e
Author: gregorynisbet <gregorynisbet@google.com>
Date:   Wed Nov 4 23:58:30 2026 -0800

    siso: fix stale rPathIdx and rDeps aliasing in deps_log
    
    Fix two snapshot consistency bugs in both toolsupport/ninjautil/deps_log
    and build/ninjabuild/deps_log:
    
    1. In Recompact / recompactIfNeeded, clear d.rPathIdx before copying
       nd.pathIdx into it. Previously, maps.Copy into the existing map left
       stale entries for paths dropped during recompaction (such as a header
       file removed from a target's dependencies). Subsequent RetrievePaths
       or RetrieveIDs lookups for a dropped path resolved its stale index
       against the compacted rPaths slice and failed with "inconsistent path
       in deps log" instead of returning ErrNoDepsLog.
    
    2. In NewDepsLog / readDepsLog, Reset, and Recompact / recompactIfNeeded,
       clone d.deps / nd.deps when assigning d.rDeps. Previously, d.rDeps
       aliased the backing array of d.deps, so in-place updates in Record
       mutated the read-only snapshot before Reset was called.
    
    TAG=agy
    CONV=5d4f79e8-5fda-4123-8765-1695dbad1073
    
    Bug: 374196367, 444080717
    Test: go test -race ./toolsupport/ninjautil ./build/ninjabuild
    Change-Id: I10a2c23854c545cedc8847287358638d582da41c
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8738322
    Commit-Queue: Gregory Nisbet <gregorynisbet@google.com>
    Auto-Submit: Gregory Nisbet <gregorynisbet@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit b605542b572fd8eaf59d448b6316db05e0444342
Author: Philipp Wollermann <philwo@google.com>
Date:   Wed Nov 4 22:42:25 2026 -0800

    siso: exclude skipped lines from binding counts
    
    parseChunk incremented pool, rule, and build binding counters before
    skipping indented comments and whitespace-only lines. Count only lines
    recorded as binding statements to avoid reserving unused binding arena
    slots.
    
    Add coverage for all three binding types, comments, whitespace-only
    lines, and LF and CRLF line endings.
    
    Change-Id: If2fb8ef3cc59b5354ed7d22b3f7764c3c9e3b65b
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8736441
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Philipp Wollermann <philwo@google.com>

commit 45ec934eeb1b81074f07ba21eb2c7d60628da78f
Author: Michael Hoisie <hoisie@google.com>
Date:   Wed Nov 4 22:18:10 2026 -0800

    siso: ninjautil: read legacy deps log records from the file buffer
    
    NewDepsLog read the whole file into memory, then read each record back
    out of it through a bytes.Reader: binary.Read for each header and path
    checksum, a Seek, and a copy into a 4MB scratch buffer. Walk the buffer
    directly instead, and decode deps records without an intermediate
    []int32. Also size the paths and deps by the number of path records,
    which grew the deps slice 100 entries at a time (~2,000 copies for 196k
    outputs), and clone the path index instead of copying it entry by entry.
    
    BenchmarkNewDepsLog (20k outputs x 200 deps), 6 runs each:
    - 128-136ms -> 35-37ms per load
    - 307MB -> 71MB and 402k -> 111k allocations per load
    
    No-op builds, 3 runs each:
    - Chromium chrome (106MB legacy deps log): deps log load 0.69-0.75s
      -> 0.22-0.23s
    - Android module (326MB legacy deps log): deps log load 1.30-1.33s ->
      0.46-0.52s
    The total build time doesn't change in these builds, where the fs state
    load runs longer in parallel.
    
    Bug: b/578560378
    Test: go test ./...
    Change-Id: I823c1f318228e5d90d8b096b2236a92dbd840338
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8738283
    Commit-Queue: Michael Hoisie <hoisie@google.com>
    Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit aec4caf6dd2adc4f878e6c4da616d4394b75037b
Author: Michael Hoisie <hoisie@google.com>
Date:   Wed Nov 4 22:18:03 2026 -0800

    siso: hashfs: map state entries only when the journal has entries
    
    loadJournal mapped every state entry by name before reading the
    journal, even when the journal has only its header, which is the usual
    case. Build the map when the first journal entry is merged.
    
    No-op build of one Android module (880k state entries), 3 runs each:
    - fs state load to entry init: 0.30-0.32s -> 0.06s
    - siso ninja: 2.64-3.08s -> 2.66-2.74s (the deps log, loaded in
      parallel, is then the longest step)
    
    No change for builds without a journal file, such as a Chromium chrome
    no-op build.
    
    Bug: b/578560378
    Test: go test ./...
    Change-Id: I262a94cc3dec7ded54d279977703f83dc2d3033e
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8738782
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Michael Hoisie <hoisie@google.com>

commit 40ad5288ef55d8a0736699ffab2c90989bbe5e79
Author: Michael Hoisie <hoisie@google.com>
Date:   Wed Nov 4 22:14:29 2026 -0800

    siso: hashfs: stat state entries in one chunk per worker
    
    updateFromDisk started one goroutine per state entry, limited to
    GOMAXPROCS running at a time: 880k goroutines for an Android tree and
    258k for Chromium. The goroutine handoffs cost more than the stats.
    Split the entries into one chunk per worker with slices.Chunk instead,
    so it starts GOMAXPROCS goroutines (96 on the host below).
    
    No-op builds, 3 runs each:
    - Chromium chrome (258k state entries): update from disk 0.38-0.42s ->
      0.21-0.24s, siso ninja 3.05-3.12s -> 2.87-2.96s (0.93-1.02s from
      1.11-1.15s with fast_nop)
    - Android module (880k state entries): update from disk 1.16-1.18s ->
      0.58-0.62s, siso ninja 2.64-3.08s -> 2.34-2.44s
    
    Bug: b/578560378
    Test: go test ./...
    Change-Id: I851aefca27c1bf6bd28bd287fbcaf17134837fe9
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8738282
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Michael Hoisie <hoisie@google.com>

commit 72d28652b98632517855dcd62b0ad9ff16f2bbdb
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Wed Nov 4 19:28:37 2026 -0800

    siso: improve batch digester for slow/cold cache abfs
    
    for first abfs mount, get-rbe-digests call would not be
    fast as cache warmed mounts. So, lazy digests for
    initial stats would take long time and would race
    with bachDigester for Entries call.
    To reduce calls, better to recheck e.d in d.sema.Do in
    batchDigestForABFS.
    Also use same chunking in batchDigester.wait.
    
    Change-Id: I1f6f9675ec43cfee90b9e020276c4bec6532533c
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8734827
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>

commit 819f1983493abc231c35421a3518f7a980025041
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Wed Nov 4 18:43:49 2026 -0800

    siso: report auth error as infra failure
    
    auth error should be considered as infra failure,
    rather than build failure.
    bad platform container image also considered as infra failure.
    
    Bug: b/581639250
    Change-Id: I741597bc740f8d209dd9275fc7dd99517c98b87b
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8724474
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 9b7a7f5c1be7606edd5c566698eb7735817716f1
Author: Oren Azad <oazad@adobe.com>
Date:   Tue Nov 3 23:41:23 2026 -0800

    siso: webui listen on localhost only
    
    The webui printed "listening on http://localhost:PORT" but actually
    listened on all interfaces, exposing it to the network without
    authentication.
    
    Bug: None
    Change-Id: Ibf26ef8d75a8cb39bc4a257a7cdf97198b99c62c
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8587817
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
    Commit-Queue: Takuto Ikuta <tikuta@chromium.org>

commit b3c8827f68adf762a514aa97cc291350d0added7
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 4 04:38:12 2026 +0100

    Migrate to dh-go (module-aware build)

commit c9cb846ffc034d95fd9ba2a93edd584dca977f5b
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 4 04:36:53 2026 +0100

    New upstream release 1.6.8

commit 8ef0e43d3051540ffa333be570ed203d1d534276
Merge: b992772 5df8a9d
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 4 04:35:55 2026 +0100

    Update upstream source from tag 'upstream/1.6.8+ds'
    
    Update to upstream version '1.6.8+ds'
    with Debian dir 5d201d25882b2b9e52fd2a14166bc12631856eee

commit 5df8a9da47792202a33535cd338d2219315e462f
Merge: d8ada4c c508213
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Wed Nov 4 04:35:53 2026 +0100

    New upstream version 1.6.8+ds

commit bf30a944645c5d51b692ae04ee32e078fe9c71d6
Author: Jihoon Kang <jihoonkang@google.com>
Date:   Tue Nov 3 16:45:41 2026 -0800

    Add --shell to override the default shell
    
    Siso by default will use /bin/sh -c '<command>'
    for any nontrivial commands. This uses the host
    machine's shell. We want to use a hermetic,
    in-tree shell in android, so add a --shell flag
    to supply it to siso.
    
    This allows us to run commands on "distroless"
    (https://github.com/googlecontainertools/distroless)
    docker images on RBE, that only have glibc, some
    timezone data, and not much else. Noteably they
    have no shell.
    
    Bug: 475013705
    Test: go test
    Change-Id: I256f2f6ab59d95d3ce7cc2aa6598b2ce941c6d2e
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8646365
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Jihoon Kang <jihoonkang@google.com>

commit b992772fb54431760dfddf0be2c397389c76b131
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Tue Nov 3 12:45:00 2026 +0100

    Restore -buildmode=pie on ppc64el
    
    golang-golang-x-sys 0.49.0+dfsg-2 fixes the ppc64x R12 crash
    (https://bugs.debian.org/1151166), so the per-architecture no-PIE
    stopgap is no longer needed.

commit 351c52e7409cd2447eba29542fd912fa59992294
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Mon Nov 2 00:34:02 2026 -0800

    siso: fix bindingArena and shardBindings over-allocations
    
    fileParser.alloc previously reserved nrulevar + nbuildvar in
    bindingArena even though bindingArena is only used by parseRule
    (build statements use buildScope). In addition, parseChunk incremented
    ch.nvar on every indented build, rule, and pool variable binding in
    addition to top-level variable declarations, inflating newShardBindings
    shard counts across large manifests.
    
    Reserve only nrulevar in bindingArena and count only top-level variable
    declarations in ch.nvar.
    
    BenchmarkLoadAndroid (7.12M nodes), 128-CPU host, 6 fresh processes:
      sec/op     7.662    -> 7.635     (-0.4%)
      B/op       15.91Gi  -> 15.12Gi   (-4.9%)
      allocs/op  8.51M    -> 8.33M     (-2.1%)
    
    BenchmarkLoadChromium, 128-CPU host, 6 runs:
      sec/op     0.687    -> 0.702     (+2.1%)
      B/op       890.0Mi  -> 876.2Mi   (-1.6%)
      allocs/op  1.692M   -> 1.670M    (-1.3%)
    
    Bug: b/577510209
    Change-Id: Idf3c3406d35ee0740073431abf99e43c874899c0
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682490
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>

commit 1790942ff7beff54482d1665730f707ca762146c
Author: Takuto Ikuta <tikuta@chromium.org>
Date:   Mon Nov 2 00:10:36 2026 -0800

    siso/clog: increase ConcurrentWriteLimit
    
    cloud.google.com/go/logging defaults to ConcurrentWriteLimit = 1. During
    large builds generating ~2.4M log entries (~2,400 bundles), a single
    WriteLogEntries worker (~123ms/RPC) could only flush about half of the
    bundles during the build, leaving ~1.2M entries (~640-880MB inuse_space)
    queued in memory at build completion and causing Logger.Close to time
    out after 1s.
    
    Set ConcurrentWriteLimit(runtime.GOMAXPROCS(0)) by default so bundler
    writes keep pace with step logging.
    
    Bug: 485417274, 579608201
    Change-Id: I3b8997ad69c7ba65a3e4861dc8fb85d9ff87a507
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682783
    Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
    Reviewed-by: Alex Ovsienko <ovsienko@google.com>
    Commit-Queue: Takuto Ikuta <tikuta@chromium.org>

commit 7abcabf3b68c75551be00751b36e79fd9cbf2c2b
Merge: 8ecf696 82fa3d5
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 1 19:20:19 2026 +0000

    Merge branch 'debian/latest' into 'debian/latest'
    
    New upstream 1.6.7+ds; correct ppc64el PIE attribution
    
    See merge request go-team/packages/siso!11

commit 82fa3d582c44837758707899a695df5ed45da145
Merge: 84321f6 8ecf696
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 1 20:15:04 2026 +0100

    Merge origin/debian/latest

commit 84321f640bee93674e762e65d2f80f7ea2abb9af
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 1 19:29:02 2026 +0100

    Finalize changelog for 1.6.7+ds-1

commit 5970c7f93da84c07829743c700df756640b1c10c
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 1 19:21:30 2026 +0100

    Package new upstream 1.6.7+ds

commit 8e8fdb19c97a852f5e885ca78d9dc7f207bbb934
Merge: 7914936 d8ada4c
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 1 19:16:49 2026 +0100

    Update upstream source from tag 'upstream/1.6.7+ds'
    
    Update to upstream version '1.6.7+ds'
    with Debian dir be608e01b515bb680e1007d29bb9669178781028

commit d8ada4c06b08cfa751894868d9f940ee8f1d3be9
Merge: c9732ef dfc32e4
Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Date:   Sun Nov 1 19:16:48 2026 +0100

    New upstream version 1.6.7+ds

commit c508213533aa5cd425b69cb0f66e53522d77022d
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Fri Oct 30 06:56:31 2026 -0700

    siso: fix flaky TestRegisterFiles_Batching
    
    Instead of modifying batchDelay, run test under synctest.
    Under syntext, fake time only advanced by defaultBatchDelay,
    so eliminating wall clock race.
    
    Bug: b/579732326
    Change-Id: I4b032a035327377586b75e770744bcbe15132da8
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8692365
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>

commit 5680e89b24cb24eb56c5c8784080a7842cc18be1
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Fri Oct 30 00:12:18 2026 -0700

    siso: document generator support and path normalization
    
    Document that Siso mainly intends to support gn (Chromium) and soong
    (Android), and that support for other generators such as cmake is
    optional. Also document in docs/ninja_diff.md that Siso only strips a
    leading ./ when parsing .ninja files and expects generators to emit
    normalized paths.
    
    Bug: 578639457, 448631316
    Change-Id: Ie075a0c5bbaf1a2464eb4925e3d429f5e3de8c4d
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8681021
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit bec5ddaf9ce4ceb2dbb29cefe852c5c93819122d
Author: Takuto Ikuta <tikuta@chromium.org>
Date:   Thu Oct 29 23:38:08 2026 -0700

    siso/shutil: split command line by bytes instead of runes
    
    GN's EscapeStringToString_PosixNinjaFork escapes every byte >= 0x80 with
    a backslash (e.g. "ø" \xc3\xb8 becomes \x5c\xc3\x5c\xb8). Iterating over
    the command line by UTF-8 runes caused each isolated high byte to be
    decoded as utf8.RuneError (\ufffd) before unescaping.
    
    Since all shell quotes, whitespace, escapes, and metacharacters handled
    by Split are single-byte ASCII characters (< 0x80), iterate by byte and
    use WriteByte so byte-escaped multi-byte UTF-8 sequences are unescaped
    into valid UTF-8 just like POSIX sh.
    
    Even if GN's escaping behavior is fixed in the future, Split is a fast
    path to avoid invoking "/bin/sh -c" and should match POSIX shell
    byte-level unescaping semantics (as well as avoid unnecessary per-rune
    UTF-8 decoding and re-encoding overhead).
    
    Bug: 579608201
    Change-Id: I18c64f5c6ce28bff80e75c69861cae3ea277fd4f
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8688116
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
    Commit-Queue: Takuto Ikuta <tikuta@chromium.org>

commit 2b4dcab7c99b57b4942eade8243a1404e76f5d4c
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Oct 29 22:56:03 2026 -0700

    siso: skip warning on ErrUnsupported in blob.FromLocalFile
    
    osfs.OSFS.FileDigestFromFS returns errors.ErrUnsupported on standard
    local filesystems without digest xattrs, CartFS, or ABFS. Because
    blob.FromLocalFile logged a clog warning on every non-nil error before
    falling back to reading the file, builds logged a warning per local file
    digest and contended on the Cloud Logging bundler mutex on high-core
    machines.
    
    Only log a warning in blob.FromLocalFile when FileDigestFromFS fails
    with an error other than errors.ErrUnsupported, and add unit tests
    covering filesystem digest hits, silent fallback on ErrUnsupported, and
    warning on unexpected errors.
    
    ORIGINAL_AUTHOR=jwata
    Bug: 575633282
    Change-Id: Ib2a0f2bd4c0eae50188d6a1d2b4d1e84b6b82fcb
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8688876
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Junji Watanabe <jwata@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit 9dbb442309b193a9bda8906a7067a9cb67b12127
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Oct 29 19:43:59 2026 -0700

    siso: add auto-restat-content experiment
    
    Soong writes restat_content = true itself for remote rules with restat
    (unless the rule opts out). This moves that logic into Siso, so Chromium
    and other Ninja generators get the same behavior.
    
    With SISO_EXPERIMENTS=auto-restat-content, restat = true on a remote rule
    (remote: true in the step config, or remote_enabled = true in
    build.ninja) is treated as restat_content = true. An explicit
    restat_content in the Ninja rule/build or the step config still wins,
    so restat_content = false keeps the mtime-based behavior. Outputs
    produced locally (local execution, local fallback or the local racer)
    still use mtime, because computeOutputEntries checks restat on local
    outputs before restat_content.
    
    We plan to enable this per builder first (the $build/siso experiments
    recipe property, and SISO_EXPERIMENTS on Android CI) before making it
    the default. Local-only builds stay mtime-based for now.
    
    Bug: 575621006
    Test: go test ./build/... ./execute/... ./subcmd/ninja/...
    ORIGINAL_AUTHOR=jwata
    
    Change-Id: I916c0d2eeb1e60a20dd42ad7b620b7a5fc9d99ea
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8673082
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Auto-Submit: Junji Watanabe <jwata@google.com>

commit af64bf257d2e515a0896e26ede77c69f9e7ca227
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Oct 29 19:40:28 2026 -0700

    siso: log local restat_content output with mtime update but same content
    
    Outputs written locally (local execution, local fallback or the local
    racer) use mtime for restat even when restat_content is set, so a step
    that rewrites identical content is considered changed locally but
    unchanged when run remotely.
    
    Record a dedicated warning log for this case so we can find such steps
    while rolling out the auto-restat-content experiment. Also run the check
    when only restat_content is set, not just restat.
    
    R=ukai@google.com
    
    Bug: 575621006
    Test: go test ./execute/... ./subcmd/ninja/e2etests -run Restat
    Change-Id: Ia32fd556fc623dcb3ec163b274d0d14528ac004f
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682486
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit c961df8216d60b50257feb87fd18ff3139fc55e2
Author: Alex Ovsienko <ovsienko@google.com>
Date:   Thu Oct 29 04:39:53 2026 -0700

    siso: add experimental duration-weighted step scheduling
    
    Siso currently assigns unit weight to every non-phony step, which
    prioritizes dependency chain depth without accounting for step execution
    time. Load predicted per-output step weights (with action-regex and
    default fallbacks for unseen outputs) when -weights_file or
    $SISO_WEIGHTS_FILE is specified.
    
    Bug: b:577862707
    Test: go test ./build ./build/ninjabuild ./subcmd/ninja
    Change-Id: I18f4d02b671e763c407869461053504234381a7a
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8667444
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Alex Ovsienko <ovsienko@google.com>

commit bcfb7a4f3adf5e4cdd838d2e8da3d0f07bba3e1d
Author: Alex Ovsienko <ovsienko@google.com>
Date:   Thu Oct 29 04:26:44 2026 -0700

    siso: replace scheduler KnownWeights with StepWeight
    
    Replace schedulerOption.KnownWeights pre-populating target weights in
    newScheduler with an optional StepWeight(*Step) int callback evaluated
    per non-phony step in addStep, clamping returned weights to at least 1
    so non-phony steps cannot receive phony weight 0.
    
    Bug: b:577862707
    Test: go test ./build ./build/ninjabuild ./subcmd/ninja
    Change-Id: I354ddccc762a74b255cbffd5d41f423ad52111fb
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8680240
    Commit-Queue: Alex Ovsienko <ovsienko@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 1a89224e0d0e7bee6bb41c66451c850e9c987507
Author: Philipp Wollermann <philwo@google.com>
Date:   Thu Oct 29 01:23:02 2026 -0700

    siso: fix panic on a Ninja pool at the end of a chunk
    
    parsePool looked up the pool's depth at the position of the statement
    after the pool's bindings, so a pool that ended a manifest, or a chunk
    of it, indexed past the statements and panicked.
    
    Change-Id: I896c7d27197b0aedeceb12b2a68e7cf60867ba69
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682481
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit cef36859635dcce1ecf0a77bc5166e771bc48927
Author: Philipp Wollermann <philwo@google.com>
Date:   Thu Oct 29 01:22:57 2026 -0700

    siso: fix panic on a trailing Ninja keyword without newline
    
    isStatement read the byte after the keyword without checking the buffer
    length, so a manifest ending in a keyword such as "build" without a
    newline panicked with an index out of range.
    
    Change-Id: Ia8a6c7281c15eb39701824b0012ac7c5276d2ab1
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682480
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Philipp Wollermann <philwo@google.com>

commit 85ceb518c9a087914335605dad876fcabd046af5
Author: Philipp Wollermann <philwo@google.com>
Date:   Thu Oct 29 01:21:43 2026 -0700

    siso: fix hang on a trailing Ninja comment without newline
    
    parseChunk checked the wrong index for the end of a comment line, so a
    manifest whose last line is a comment without a trailing newline looped
    forever.
    
    Change-Id: I5035197044f169b981db89f188dd9899e9e7be27
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8682320
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit e27263b62259c66e4f847f59f0ccbf2b30fb23f3
Author: Richard Wang <richardwa@google.com>
Date:   Wed Oct 28 22:15:43 2026 -0700

    Enforce subtest name linter repo-wide
    
    All Go modules now pass the subtest name check, so we can drop the
    allowlist and run it on all affected directories.
    
    Also run the check on all modules when PRESUBMIT.py or
    infra/subtestanalyzer/ changes, since those can change results for code
    the CL doesn't touch.
    
    Skip runmc and siso-tap on non-Linux hosts, as runmc is `//go:build
    linux` and siso-tap needs libseccomp, which presubmit only fetches on
    Linux. Presubmit bots still check them.
    
    Bug: 539831698
    Change-Id: I62d69c9562d4b93f11ac83f6e2186edc6a6a6964
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8679639
    Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
    Commit-Queue: Richard Wang <richardwa@google.com>

commit c2f54f2c2086696970ca322bd19603211150499c
Author: Alex Ovsienko <ovsienko@google.com>
Date:   Wed Oct 28 22:10:54 2026 -0700

    siso: propagate critical-path weights across multi-output steps
    
    scheduleTarget only attaches step, edge, and targetsSorted to the
    first-visited output of a multi-output step, so downstream chains or
    KnownWeights on secondary outputs were ignored during finish(). Fold
    weight and criticalPathWeight across all step outputs so multi-output
    steps receive and propagate their full critical-path priority.
    
    Bug: b:577862707
    Test: go test ./build -run TestScheduler_MultiOutputWeightPropagation
    Change-Id: I14a6d9cfa3a52466caeea745a46646feddf12c41
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8674198
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Alex Ovsienko <ovsienko@google.com>

commit 3286f79878b2cfb7e83098fc275985e19a271d76
Author: Richard Wang <richardwa@google.com>
Date:   Wed Oct 28 19:55:27 2026 -0700

    gong: fix subtest name linter findings
    
    Bug: 539831698
    Change-Id: I7eea88798613208bd7a0e7aa55b792c06a6a6964
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8679638
    Commit-Queue: Richard Wang <richardwa@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit 1f789bd0f3b48012722a515a4945be4ec945edeb
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Wed Oct 28 19:45:08 2026 -0700

    siso: compute Node out-edges lazily on State
    
    ManifestParser.Load previously built per-node out-edge slices eagerly
    in a serial loop after nodeMap.freeze, allocating millions of []*Edge
    slices and writing pointers across the heap, while parseBuild
    contended on n.nouts.Add(1) for shared tool inputs. Normal builds
    never read OutEdges. OutEdges is used for target^ or query tool.
    
    Replace nouts and outs on Node with a test-and-set hasOut atomic.Bool
    for RootNodes and Graph.isDead, shrinking Node from 72 B to 40 B and
    removing a GC-scanned slice header from every node. Move OutEdges to
    State and compute reverse edges lazily on first call using a flat
    compressed spare row []*Edge buffer for target^, siso query rule, and webui.
    
    BenchmarkLoadAndroid (7.12M nodes), 128-CPU host, 6 fresh processes:
      sec/op     6.528    -> 4.996     (-23.5%)
      B/op       17.18Gi  -> 15.86Gi   (-7.7%)
      allocs/op  14.32M   -> 8.51M     (-40.6%)
    
    BenchmarkLoadChromium, 128-CPU host, 6 runs:
      sec/op     1.784    -> 0.932     (-47.8%)
      B/op       1.414Gi  -> 1.066Gi   (-24.6%)
      allocs/op  1.888M   -> 1.533M    (-18.8%)
    
    Bug: b/577510209
    Change-Id: I509aa111f8adc3549e6945289d0709c6dd1c3781
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8668318
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>

commit 30be2fae580ca313ebe78bb1929d8f8d0b32e2e0
Author: Philipp Wollermann <philwo@google.com>
Date:   Wed Oct 28 18:03:20 2026 -0700

    siso: negotiate the REAPI version with the server
    
    Siso used the server's high_api_version as its API version, so against a
    server that advertises 2.0..2.12 it ran as a 2.12 client, although it
    implements nothing newer than 2.3. It never checked the server's
    low_api_version, and -reapi_version_to_use only logged an error when the
    requested version was outside the server's range, and a warning when it
    didn't parse, and then went on.
    
    Let's declare the range Siso implements as 2.0..2.3, and use the highest
    version in both Siso's and the server's range. Init now fails when the
    two ranges don't overlap, and when -reapi_version_to_use doesn't parse
    or is outside either range. A server that doesn't advertise a version
    counts as 2.0.
    
    Change-Id: Ied530a61b8b906cc21ed8334685992c70653d0ca
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8667005
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit 47414e7f243f2d6b1796d1e87f1a26e511dcaa11
Author: Katie Hockman <katiehockman@google.com>
Date:   Wed Oct 28 03:04:51 2026 -0700

    Add katiehockman@google.com to BUILD_TEAM_OWNERS
    
    Change-Id: I24bd6984fc1602435b9315940b322a66ec2a637e
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8656938
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 8ea01fb7c91495ec19002135ac3c0322e7e2946a
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Oct 27 17:48:14 2026 -0700

    upgraded google.golang.org/grpc v1.84.0 => v1.85.0
    
    https://github.com/grpc/grpc-go/releases/tag/v1.85.0
    
    Change-Id: I6df7ee647a5e842866056c549b40fb85a25da8e0
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8667340
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Philipp Wollermann <philwo@google.com>

commit 033b3266c0a8afe4e0814f3e4f3f52b2a4b309bc
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Oct 27 16:01:26 2026 -0700

    siso: batch abfsRegister
    
    Step's number of outputs are usually small (1 or 2).
    As siso runs many steps concurrently, we could batch
    abfsRegister in fewer set-rbe-digests calls.
    
    Also configure http.Transport with MaxIdleConns and MaxIdleConnsPerHost
    set to GOMAXPROCS so unix domain socket connections are reused instead of
    closed when more than 2 requests complete concurrently.
    
    Measured on cf_x86_64_only_phone-trunk_staging-eng (ab/16720666,
    --no-tip, 208,511 steps) on a 64-core cloudtop:
    
                                        before (0331*)  after (0625)
          set-rbe-digests RPCs          128,631         33,335 (3.86x fewer)
          files / calls per RPC         2.44 / 1.00     9.41 / 3.86
          set-rbe-digests RPC time      9,697.5s        853.7s (-91%)
          set-rbe-digests p50 / avg     17.6ms / 75.4ms 11.4ms / 25.6ms
          cache/1000 serv-avg           2.006s          1.153s
          two-phase-cache serv-avg      2.407s          1.423s
          siso ninja wall time          18m21.01s       11m50.53s
          no-change build wall time     61.37s          30.92s
    
    Bug: b/559843941
    Change-Id: Id7b704bd78f348604ae37864215e45bd29c9ecee
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8604061
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>

commit 5ae5c6a32ca87e2c6c9f9a5e32434a247015e456
Author: Cole Faust <colefaust@google.com>
Date:   Mon Oct 26 11:02:27 2026 -0700

    siso/collector: bind ephemeral ports without listening in e2e tests
    
    In TestCollector, freePorts allocated ephemeral loopback ports for the
    collector's health and metrics listeners by calling net.Listen("tcp", "127.0.0.1:0")
    and immediately closing the listeners.
    
    net.Listen places sockets into TCP_LISTEN state via listen(2). On Linux,
    closing a listening socket keeps the port retained in the kernel's TCP
    listening table for a duration, causing subsequent bind(2) calls by the
    collector daemon (such as the Prometheus exporter or health extension)
    to fail with EADDRINUSE ("address already in use").
    
    Replace net.Listen with platform-specific socket allocation that only
    invokes bind(2) with port 0 without calling listen(2), extracts the
    assigned port via getsockname(2), and closes the socket. Unlistened
    bound sockets are immediately released by the OS on close.
    
    Bug: b/522977774
    Change-Id: I1869ea9a550e3666b2b01bd846dba295b3a723c1
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8643740
    Commit-Queue: Cole Faust <colefaust@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit c5c18b032cb4bb2209038515547d80a09a6832a1
Author: Philipp Wollermann <philwo@google.com>
Date:   Mon Oct 26 00:12:35 2026 -0700

    siso: bound Ninja manifest parser concurrency
    
    The manifest parser started a goroutine for every subninja file before
    it acquired its concurrency semaphore, so loading Chromium's manifest
    created about 13,724 loader goroutines; a runtime trace at
    GOMAXPROCS=384 showed 11,146 live at once. CPU profiles attributed the
    long tails of startup to GC root scanning and goroutine suspension.
    
    Acquire the loader semaphore before starting a file's goroutine, so
    that files waiting for a permit don't hold a goroutine each, and release
    it once the file is parsed, before waiting for the permits of its
    subninjas, so that parents can't hold every permit while waiting for
    their children. This bounds concurrent file parses rather than
    goroutines: a parent keeps its goroutine while it schedules its
    subninjas, which for Chromium's shallow tree are a handful. Cap the
    permits at 128, because above that the allocation-heavy parser drives
    the Go GC into system CPU stalls on 384-CPU hosts. The rest of the
    build keeps the full GOMAXPROCS.
    
    The parser doesn't check its context, so Load now returns the caller's
    cancellation cause if the context was cancelled during loading.
    
    BenchmarkLoadChromium, 384-CPU host, GOMAXPROCS=384, 20 fresh processes:
      sec/op     866.8m  -> 658.7m   (-24.00%, p=0.000)
      B/op       3.930Gi -> 3.789Gi  (-3.61%, p=0.000)
      allocs/op  2.263M  -> 2.252M   (-0.48%, p=0.000)
    
    In 20 more fresh processes per version, a single manifest load took
    0.604-0.697 s, against 0.736-4.596 s before, and across the benchmark
    processes the worst-case system CPU time fell from 6622.49 s to
    13.34 s.
    
    Change-Id: I807e708aa0056673abb218ab4a003e88ba88b0f3
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8637033
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit 7caeaf38be3981fbc41c87fcfd7d52cb48674ae2
Author: Philipp Wollermann <philwo@google.com>
Date:   Sun Oct 25 22:14:55 2026 -0700

    siso: size Ninja chunk slices for each manifest
    
    The Ninja parser reserved room for GOMAXPROCS chunks in every manifest
    file, but with chunks of at least 1 MiB almost every subninja file has
    only one. On a 384-CPU host, Chromium's 13,720 subninja files thus
    reserved 383 unused slots each, about 2.78 GiB per graph load. That
    allocation wave drove the Go GC into high-CPU stalls: one slow load
    spent 26.98 s in a single GC cycle, and the same load was stable with
    GC disabled.
    
    Reserve room only for the chunks that the file splits into.
    
    BenchmarkLoadChromium, 384-CPU host, GOMAXPROCS=384, 20 fresh processes:
      sec/op  0.8813    -> 0.5941     (-32.59%, p=0.000)
      B/op    3.952 GiB -> 0.887 GiB  (-77.56%, p=0.000)
    
    In real Siso dry runs, loading the Chromium graph took a median of
    6.231 s before (1.192-37.892 s) and 1.187 s after (0.742-3.607 s).
    
    Change-Id: I22e2764a8ba167193fc2712e9a164ac2dd759975
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8639550
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit 1ba4389e21d79cedcbf1382a2183ca430f89fb61
Author: Philipp Wollermann <philwo@google.com>
Date:   Sun Oct 25 21:48:43 2026 -0700

    siso: omit disabled gRPC keepalive option
    
    On Unix sockets, Siso disables keepalive by zeroing its parameters, but
    still passed the zero value to grpc.WithKeepaliveParams. grpc-go raises
    a zero interval to its 10 s minimum and fills in its 20 s default
    timeout, so the connection still failed PING ACK checks under high
    local build load. In a Chrome build with 384 concurrent actions, one
    run logged 12,658 keepalive failures, and the retried streams made
    Kajiya receive 68,184 Execute requests for 46,140 unique actions. The
    duplicate executions cost CPU time, lengthened scheduler queues and
    made wall time vary widely.
    
    Leave out the keepalive option when every parameter is zero. TCP
    backends keep their configured keepalive.
    
    Change-Id: I9bee70577cde186389aa72b39596c98a1057a32a
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8641689
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Philipp Wollermann <philwo@google.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>

commit cf55454e39899df051692ad2bd118c7bb4db6868
Author: Alex Ovsienko <ovsienko@google.com>
Date:   Sun Oct 25 20:53:38 2026 -0700

    siso: record each step's second-to-last input as prev2
    
    prev names the input whose completion released a step, which is enough
    to walk the critical path back from the last step but not to tell how
    much a faster step on that path would have shortened the build: once
    prev finishes earlier than the next-latest input, that input becomes
    the release point. Record that input as prev2 in siso_metrics.json so
    consumers can bound each critical-path step's drag without the full
    dependency graph. prev is unchanged.
    
    Keep the last two distinct releasing steps in a two-element array that
    shifts whenever a different step releases an input, so a producer with
    several outputs counts once.
    
    On a 96k-step chrome build evaluated against the full dependency graph,
    drag estimated from prev alone overstates the total 1.7-7x; with prev2
    it is within 13-17% and ranks the largest contributors correctly.
    
    Change-Id: Ia93701f45c2b9272937ee9948e992aae3098ffcf
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8641691
    Commit-Queue: Alex Ovsienko <ovsienko@google.com>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit b87c1441433fc10628d53309371cb2581488fb7d
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Sun Oct 25 19:14:17 2026 -0700

    siso: batch digest on abfs for lazyCompute
    
    use batch get-rbe-digests for lazyCompute.
    reduce semaphore for abfs digests as we use batch operation.
    
    Benchmark on Android build (ab/16646657, --no-tip, 211,551 steps)
    comparing efea3c1c (before) vs 9d247dad (with this CL):
    - Reduced file-digest ABFS RPCs by 7.05x:
      - file-digest semaphore calls dropped from 367,812 (file-digest/1024,
            366,672 single-file GETs + 1,140 batchDigester.wait calls) to
            52,173 (file-digest/16, 50,968 popQueue + 1,204 batchDigester.wait).
      - Background popQueue drained 96.0% of all files in the first 10s
           after ninja load (and 99.6% within 11s):
      - first 10s (during build.schedule): 50,938 calls, 353,194 files
            (avg_batch = 6.9, avg_ms = 2.46ms).
      - within 11s: 50,964 calls, 366,281 files (99.58%, avg_batch = 7.2,
            avg_ms = 2.62ms); only 4 calls (1,537 files) in the rest of build.
    - Reduced on-demand batchDigester.wait time by 30.4%:
      - 1,204 calls (10,751 files, 16.79s cumulative, avg_ms = 13.95ms),
            down from 1,140 calls (9,935 files, 24.13s cumulative,
            avg_ms = 21.16ms).
    - Wall-clock and CPU time:
      - build.schedule: 11.20s -> 9.15s (-2.05s, -18.3%)
      - Siso build_exec: 2m45.74s -> 2m45.07s (-0.67s; p10% steps -2.10s,
            p75% -2.54s, p90% -2.14s)
      - Siso build_total: 2m55.95s -> 2m56.64s (+0.69s, due to +1.40s in
            ninjabuild.Load: 9.92s -> 11.32s)
      - Overall initial build wall time: 5m25.89s -> 5m24.25s (-1.63s)
      - Overall no-op (.nochange) wall time: 27.74s -> 25.53s (-2.21s)
      - Siso CPU time: user 5581.5s -> 5445.2s (-2.4%),
            sys 967.5s -> 874.7s (-9.6%)
    
    Bug: b/559843941
    Change-Id: Ifca6212bb23c5d7fe9867ec145ac91d1574aff06
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8577631
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit f817c7328cf339a6a4c771c53d1ad33ece82d24a
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Sun Oct 25 18:24:04 2026 -0700

    siso: update version string to v1.6.8
    
    v1.6.7 is rolled out as pinned version at
    git_revision:dfc32e4edca158cff2b64a1658ee3940f0116b3a
    https://crrev.com/c/8654758
    http://ag/43274036
    
    Bug: b/575200886
    Change-Id: I7bfcaf8f7595e7e487074cfeb41d1e5b93b6ebdf
    TAG=agy
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8654878
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>

commit dfc32e4edca158cff2b64a1658ee3940f0116b3a
Author: Jihoon Kang <jihoonkang@google.com>
Date:   Thu Oct 22 17:42:59 2026 -0700

    siso: normalize "." REAPI working_directory so 2PC digests match
    
    When two-phase caching (2PC) is enabled, Builder.twoPhaseCachingLookup
    unconditionally sets step.cmd.CanonicalizeDir = false so that input
    roots can match local paths. This setting persists when remote action
    execution occurs after a 2PC cache miss.
    
    In REAPI, "" and "." are semantically equivalent (both represent the
    input root directory), but produce different Command proto serializations
    and digests. Android ABFS dev-warmup builds with 2PC had 0% action digest
    overlap with CI because working_directory was "." instead of "".
    
    Instead of mutating Siso's internal Path representation (where "." is
    the canonical non-empty relative root representation used across paths,
    casts, and Dir(), and New is unchanged), normalize "." to "" strictly
    at the REAPI boundary:
    - Introduce Cmd.WorkingDirectory() which normalizes "." to "" when
      building rpb.Command. RemoteChroot output remains unchanged as
      path.JoinRoot(root, "") and path.JoinRoot(root, ".") both return New(root).
      Use it in Cmd.CommandDigest when setting Command.working_directory.
    - Introduce Path.Equal to report whether two Paths are the same after
      canonicalization, treating "" and "." as the same root path.
    - Use Path.Equal in reapiTwoPhaseCaching.matchAction to compare
      step.cmd.WorkDir and cmd.GetWorkingDirectory(), preserving compatibility
      with existing cache entries recorded with ".".
    - Guard subcmd/recall against empty working_directory, as filepath.IsLocal("")
      is false and recall would otherwise reject commands with working_directory "".
    
    Keep TestCommandDigest_DotWorkDir, TestCommandDigest_NonRootWorkDir, and
    TestCommandDigest_RemoteChrootDotWorkDir as separate top-level tests with
    isolated hashFS instances and t.Context(), and add direct tests for
    Cmd.WorkingDirectory and Path.Equal.
    
    Bug: b/576384060
    Change-Id: I1f1332aac8a4f236d80e17c9684b56d80971068c
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8616931
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Jihoon Kang <jihoonkang@google.com>

commit 07dd00714f1ff29232e9b65e10b6bdf0df7d7c21
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Oct 22 01:02:45 2026 -0700

    siso: preserve remote-only entries in .siso_fs_state during -t cleandead
    
    When siso ninja -t cleandead runs without -output_local_strategy,
    c.outputLocalStrategy defaults to "full", causing HashFS initNotExist
    to treat non-materialized remote outputs (from a prior greedy/minimum
    build) as missing locally-needed files and strip them when saving
    .siso_fs_state on exit.
    
    Since subtool "cleandead" only cleans dead generated files and does
    not materialize build outputs, set c.outputLocal to return false so
    remote-only entries in .siso_fs_state are preserved regardless of
    -output_local_strategy.
    
    Bug: 576369882
    Change-Id: Ief1d1b5add77ccd8e4aedaef4ee03bd58fa8af05
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8629287
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Auto-Submit: Junji Watanabe <jwata@google.com>

commit 0dd1534d3e492132314afd7e60ef5c8bdbb3899b
Author: Junji Watanabe <jwata@google.com>
Date:   Thu Oct 22 00:48:24 2026 -0700

    siso: fix -cleandead flag overwritten by resolveFlags
    
    In crrev.com/c/7278456, resolveFlags was refactored to assign:
      c.cleandead, err = checkSubtool(c.subtool)
    When -cleandead is passed without -t cleandead, c.subtool is empty and
    checkSubtool("") returns (false, nil), overwriting c.cleandead back to
    false.
    
    Only set c.cleandead = true when checkSubtool returns true so the
    -cleandead flag is preserved.
    
    Bug: 576369882
    Change-Id: I2974afa648554a7fe3aac62846b4b3aa1da87243
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8629267
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Junji Watanabe <jwata@google.com>
    Commit-Queue: Junji Watanabe <jwata@google.com>

commit 46a923d6d6ef6cc063b94b4a039652ff29707a07
Author: Andrew Paseltiner <apaseltiner@google.com>
Date:   Wed Oct 21 06:16:15 2026 -0700

    siso: update target state cache in checkLocalOutputs
    
    When a step with a stale .siso_deps entry stats a pre-existing generated
    file in inputMtime before the local action that regenerates that file
    has executed, b.targets caches {mtime: old, changed: false} for the
    generated file.
    
    Unlike (*Builder).outputs, (*Builder).checkLocalOutputs did not update
    b.targets after local execution completed, leaving the stale
    changed=false entry in b.targets and causing downstream steps that
    genuinely depend on the regenerated file to skip rebuilding.
    
    Update b.targets in (*Builder).checkLocalOutputs for declared file and
    directory outputs. Also store dirtyErr in b.targets when walking a
    directory output fails in both (*Builder).checkLocalOutputs and
    (*Builder).outputs, matching inputMtime.
    
    Fixed: b/575838859
    Change-Id: Ie72decf3d685d21ccc1b7ed2c59f3359d923bd76
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8620378
    Commit-Queue: Andrew Paseltiner <apaseltiner@chromium.org>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>

commit 649804301f76355453dad74e151f7693dd2d8066
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Oct 20 16:55:24 2026 -0700

    siso: ensure parent directory for symlink before flush
    
    with SISO_EXPERIMENTS=disable-ensure-output-dirs,
    cache result of step generates symlink would fail
    since parent directory of symlink output doesn't exist
    and local fallbacks.
    
    ensure parent directory for symlink exists before flush it.
    
    Bug: b/461917619
    Change-Id: Id7dbb91bdcd61254505cc9aac7d9546c3c7df5ea
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8602173
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 9b0ad4285e3d00523cb74f0f39b62739970a01b3
Author: Cole Faust <colefaust@google.com>
Date:   Tue Oct 20 14:25:14 2026 -0700

    Remove restat-content-applies-to-empty-files experiment
    
    We want this to always be the behavior.
    
    Bug: 561799494
    Test: go test
    Change-Id: I1880e11bd9a1009e8e7bb3c0ed1f1d927e4e4832
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8614211
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Auto-Submit: Cole Faust <colefaust@google.com>
    Commit-Queue: Cole Faust <colefaust@google.com>
    Reviewed-by: Philipp Wollermann <philwo@google.com>

commit 48b658d07af9d51b1a7077ff8e4cda8ba88a0cf0
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Tue Oct 20 06:31:21 2026 -0700

    siso: gcc scandepsparams skips output flags
    
    In gccutil.ExtractScanDepsParams, -o and -MF are not skipped in switch arg.
    When the -o argument ends in .mm, filepath.Ext(arg) matches it
    and adds the output file to res.Sources.
    
    Without disable-ensure-output-dirs, that output directory exists in HashFS,
    so scandeps includes it in the input_root.
    With disable-ensure-output-dirs, the output directory does not exist in
    HashFS, causing two phase caching misses.
    
    argument of -o etc should not be treated as source, so skip next args
    for such arguments.
    
    Bug: b/461917619
    Change-Id: I4bacec1c126b929a590796f7972b60a24842286b
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8610367
    Commit-Queue: Junji Watanabe <jwata@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>

commit 98bf05acefd4f9af79d4f07501253fad73e2c722
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Mon Oct 19 22:20:22 2026 -0700

    [go] update toolchain go 1.27.2 -> 1.27.3
    
    https://groups.google.com/g/golang-announce/c/66pojueaQek/m/tmWX2Pq9AgAJ
    
    Change-Id: I300f320dac955dd808d343e68adc5ccc87dcd98e
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8611187
    Reviewed-by: Richard Wang <richardwa@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Commit-Queue: Richard Wang <richardwa@google.com>

commit 4bd5cc456fb4c98e4820da1d8482288ec59f867e
Author: Fumitoshi Ukai <ukai@google.com>
Date:   Mon Oct 19 19:30:31 2026 -0700

    siso: show missing deps message for deps=msvc
    
    Bug: b/575574842
    Change-Id: I0f41e1be68fffaf2755923b7601a625719dfdc3a
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8609550
    Reviewed-by: Yuke Liao <liaoyuke@google.com>
    Auto-Submit: Fumitoshi Ukai <ukai@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Commit-Queue: Fumitoshi Ukai <ukai@google.com>

commit 25de01425f142d7ba86f8bcc3d9999e722083602
Author: Cole Faust <colefaust@google.com>
Date:   Mon Oct 19 15:24:37 2026 -0700

    Don't consider empty files changed with restat_content
    
    Empty files should not be considered changed.
    
    This is an attempt to work around actions that depend on
    timestamp files, but the real solution to that is to
    enable action sandboxing, which will force you to depend
    on all the files you need instead of using timestamp
    files as a proxy.
    
    Bug: 561799494
    Test: go test
    Change-Id: I7e10b73516ca7b69fccb942f955e3df21034f3c7
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8491757
    Auto-Submit: Cole Faust <colefaust@google.com>
    Commit-Queue: Cole Faust <colefaust@google.com>
    Reviewed-by: Junji Watanabe <jwata@google.com>
    Reviewed-by: Philipp Wollermann <philwo@google.com>

commit 146ec3de7c46e95cf7adac91927e2dd634047908
Author: Takuto Ikuta <tikuta@chromium.org>
Date:   Mon Oct 19 01:58:54 2026 -0700

    siso: wait for in-flight RPC handlers when stopping reapitest server
    
    Since bcf193fd ("siso: detach CAS upload operations from the requesting
    step"), CAS uploads run on the reapi.Client's background uploader and
    can outlive the step that requested them. When a test returns while a
    BatchUpdateBlobs RPC is already in flight on the fake REAPI server
    (e.g. TestRunRacing_LocalFailure_DoesNotWaitForRemote), testServer.Close
    called grpc.Server.Stop(), which by default returns without waiting for
    running RPC handlers to finish. The still-running BatchUpdateBlobs
    handler could then create/rename files in cas/sha256 concurrently with
    t.TempDir's os.RemoveAll cleanup, failing with "directory not empty".
    
    Pass grpc.WaitForHandlers(true) to grpc.NewServer in reapitest so that
    serv.Stop() waits for all in-flight RPC handlers to exit before
    returning.
    
    Bug: 575196094
    Change-Id: I31ae9bdb8a422bb0576c02212467280fb9cd8535
    Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8609448
    Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
    Reviewed-by: Fumitoshi Ukai <ukai@google.com>
    Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Created: 2026-11-01 Last update: 2026-11-18 16:31
news
[rss feed]
  • [2026-11-22] siso 1.6.10+ds-1 MIGRATED to testing (Debian testing watch)
  • [2026-11-18] Accepted siso 1.6.10+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-11-08] siso 1.6.8+ds-1 MIGRATED to testing (Debian testing watch)
  • [2026-11-04] Accepted siso 1.6.8+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-11-03] Accepted siso 1.6.7+ds-2 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-11-01] Accepted siso 1.6.7+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-10-16] Accepted siso 1.6.4+ds-1 (source) into unstable (Juan Manuel Méndez Rey) (signed by: Andres Salomon)
  • [2026-08-21] Accepted siso 1.5.22+ds-2 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-08-20] Accepted siso 1.5.22+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-07-12] Accepted siso 1.5.21+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-06-18] Accepted siso 1.5.19+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-06-07] Accepted siso 1.5.16+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-05-24] Accepted siso 1.5.15+ds-1 (source) into unstable (Juan Manuel Méndez Rey)
  • [2026-05-19] Accepted siso 1.5.13+ds-1 (source amd64) into unstable (Debian FTP Masters) (signed by: Simon Josefsson)
bugs [bug history graph]
  • all: 2
  • RC: 0
  • I&N: 1
  • M&W: 1
  • F&P: 0
  • patch: 1
links
  • homepage
  • lintian
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.5.22+ds-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing