aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix MakeSafeAbsolutePathInPlace mis-spelling (#765)Stefan Boberg2026-02-208-49/+49
| | | | | (was MakeSafeAbsolutePathÍnPlace - note accent) Also fixed misleading comments on multiple functions in filesystem.h
* GC - fix handling of attachment ranges, http access token expiration, lock ↵Stefan Boberg2026-02-207-12/+18
| | | | | | | | file retry logic (#766) * GC - fix handling of attachment ranges * fix trace/log strings * fix HTTP access token expiration time logic * added missing lock retry in zenserver startup
* Merge branch 'main' into zs/web-ui-improvementszousar2026-02-1850-99/+7853
|\
| * structured compute basics (#714)Stefan Boberg2026-02-1845-47/+7639
| | | | | | | | | | | | | | | | | | this change adds the `zencompute` component, which can be used to distribute work dispatched from UE using the DDB (Derived Data Build) APIs via zenserver this change also adds a distinct zenserver compute mode (`zenserver compute`) which is intended to be used for leaf compute nodes to exercise the compute functionality without directly involving UE, a `zen exec` subcommand is also added, which can be used to feed replays through the system all new functionality is considered *experimental* and disabled by default at this time, behind the `zencompute` option in xmake config
| * add selective request logging support to http.sys (#762)Stefan Boberg2026-02-183-39/+156
| | | | | | | | | | * implemented selective request logging for http.sys for consistency with asio * fixed traversal of GetLogicalProcessorInformationEx to account for variable-sized records * also adds CPU usage metrics
| * convert ZEN_ASSERTs to exception to handle corrupt data gracefully (#760)Dan Engelbrecht2026-02-182-13/+58
| | | | | | * convert ZEN_ASSERTs to exception to handle corrupt data gracefully
* | updatefrontendzousar2026-02-181-0/+0
| |
* | entry.js handles missing/native items more gracefullyzousar2026-02-182-4/+32
| |
* | updatefrontendzousar2026-02-171-0/+0
| |
* | Merge branch 'main' into zs/web-ui-improvementszousar2026-02-1725-197/+478
|\|
| * add http server root password protection (#757)Dan Engelbrecht2026-02-1719-166/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Feature: Added `--security-config-path` option to zenserver to configure security settings - Expects a path to a .json file - Default is an empty path resulting in no extra security settings and legacy behavior - Current support is a top level filter of incoming http requests restricted to the `password` type - `password` type will check the `Authorization` header and match it to the selected authorization strategy - Currently the security settings is very basic and configured to a fixed username+password at startup { "http" { "root": { "filter": { "type": "password", "config": { "password": { "username": "<username>", "password": "<password>" }, "protect-machine-local-requests": false, "unprotected-uris": [ "/health/", "/health/info", "/health/version" ] } } } } }
| * misc fixes brought over from sb/proto (#759)Stefan Boberg2026-02-177-31/+49
| | | | | | | | | | | | | | | | * `RwLock::WithSharedLock` and `RwLock::WithExclusiveLock` can now return a value (which is returned by the passed function) * Comma-separated logger specification now correctly deals with commas * `GetSystemMetrics` properly accounts for cores * cpr response formatter passes arguments in the right order * `HttpServerRequest::SetLogRequest` can be used to selectively log HTTP requests
| * added ResetConsoleLog (#758)Stefan Boberg2026-02-163-0/+14
| | | | | | also made sure log initialization calls it to ensure the console output format is retained even if the console logger was set up before logging is initialized
* | Dependencies table doesn't reflow the entries pagezousar2026-02-171-5/+19
| |
* | Rename the cache section in the web uizousar2026-02-171-1/+1
| |
* | Make files table in entry.js paginated and searchablezousar2026-02-171-40/+170
| |
* | Added custom page for cook.artifactszousar2026-02-164-4/+428
| |
* | Change breadcrumbs for oplogs to be more descriptivezousar2026-02-152-6/+12
| |
* | Add support for listing files on oplog entrieszousar2026-02-151-9/+110
| |
* | Restore handling for hard/soft name prefixeszousar2026-02-151-4/+16
| |
* | Enhance dependencies to include soft and hard depszousar2026-02-141-11/+13
|/
* add foundation for http password protection (#756)Dan Engelbrecht2026-02-133-0/+275
|
* spelling fixes (#755)Dan Engelbrecht2026-02-131-2/+2
|
* logging config move to zenutil (#754)Stefan Boberg2026-02-1317-99/+187
| | | made logging config options from zenserver available in zen CLI
* add IHttpRequestFilter to allow server implementation to filter/reject ↵Dan Engelbrecht2026-02-1310-96/+353
| | | | | requests (#753) * add IHttpRequestFilter to allow server implementation to filter/reject requests
* add IsLocalMachineRequest to HttpServerRequest (#749)Dan Engelbrecht2026-02-126-7/+78
| | | * add IsLocalMachineRequest to HttpServerRequest
* add simple http client tests (#751)Dan Engelbrecht2026-02-128-27/+202
| | | * add simple http client tests and fix run loop of http server to not rely on application quit
* reduce lock time for project store gc precache and gc validate (#750)Dan Engelbrecht2026-02-112-46/+261
| | | | | * add oplog snapshot function to allow reduction of held oplog locks * release project lock when precaching each oplog
* Fix formatting of stat pages (#748)Liam Mitchell2026-02-094-3/+10
| | | * Fix formatting of stat pages
* ported optimizations of MeasureVarUInt (#747)Dan Engelbrecht2026-02-061-2/+12
|
* fix target folder cleanup in builds download (#746)Dan Engelbrecht2026-02-061-12/+9
|
* only check file size for requested range in asio TransmitFileAsync in debug ↵Dan Engelbrecht2026-02-061-41/+63
| | | | | | mode (#745) * only check file size for requested range in asio TransmitFileAsync in debug mode * only do Transmit file for whole files
* Merge pull request #723 from ue-foundation/lm/service-interactive-sessionLiam Mitchell2026-02-044-40/+16
|\ | | | | Run Windows service as an interactive session, so we correctly respond to RequestApplicationExit when requested to stop by the service manager
| * Revert "Run Windows service as an interactive session, so we correctly ↵Liam Mitchell2026-02-031-2/+2
| | | | | | | | | | | | respond to RequestApplicationExit when requested to stop by the service manager" This reverts commit b380c1bac4b738f49cd412697e0a051402e6d171.
| * Respond to RequestApplicationExit() in http server implementations even in ↵Liam Mitchell2026-01-294-40/+16
| | | | | | | | non-interactive sessions
| * Run Windows service as an interactive session, so we correctly respond to ↵Liam Mitchell2026-01-191-2/+2
| | | | | | | | RequestApplicationExit when requested to stop by the service manager
* | use matcher over regex (#744)Dan Engelbrecht2026-02-046-18/+58
| | | | | | | | * replace http router AddPattern with AddMatcher * fix scrub logging
* | implemented chunking for TransmitFile path (#736)Stefan Boberg2026-02-041-58/+119
| | | | | | | | | | * implemented chunking for TransmitFile path, to ensure payloads exceeding the TransmitFile API limit of 4GB can be handled * also fixes similar issue with memory path
* | Merge pull request #724 from ue-foundation/lm/restrict-reads-to-projectLiam Mitchell2026-02-031-4/+32
|\ \ | | | | | | Restrict filesystem reads in snapshot to paths under project root
| * | Disallow external file reads from project with unset project rootsLiam Mitchell2026-01-291-5/+8
| | |
| * | Revert to previous behaviour for path checking in the presence of an empty ↵Liam Mitchell2026-01-281-9/+13
| | | | | | | | | | | | project root
| * | Use std::mismatch to compare paths and hoist project root canonicalization ↵Liam Mitchell2026-01-211-13/+18
| | | | | | | | | | | | out of loop
| * | Restrict filesystem reads in snapshot to paths under project rootLiam Mitchell2026-01-191-2/+18
| |/
* | reduce blocking in scrub (#743)Dan Engelbrecht2026-02-033-67/+100
| | | | | | * reduce held locks while performing scrub operation
* | add command line option for scrub timeslice (#742)Dan Engelbrecht2026-02-033-5/+23
| |
* | only disable backlog scheduling when downloaded payload is not on disk (#741)Dan Engelbrecht2026-02-022-7/+14
| |
* | reduce batch size for reads (#740)Dan Engelbrecht2026-01-294-5/+5
| | | | | | | | | | * reduce maximum size per chunk to read to reduce disk contention * increase timeout before warning on slow shut down of zenserver * reduce default window size for blockstore chunk iteration
* | don't do full cb-object validation on cache records when read from disk (#739)Dan Engelbrecht2026-01-291-10/+9
| | | | | | * don't do full cb-object validation on cache records when read from disk
* | restore missing healthinfo call (#737)Dan Engelbrecht2026-01-281-0/+5
| |
* | Avoid conversion from JSon to compact binary when querying for builds to ↵Dan Engelbrecht2026-01-286-18/+24
| | | | | | | | avoid integer vs float conversion issues (#735)