HomePhorge

In Harbormaster, record byte length on the build logs

Description

In Harbormaster, record byte length on the build logs

Summary: Depends on D19135. Ref T13088. Denormalize the total log size onto the log itself. This makes reasoning about the log at display time easier, and we don't need to fish around in the database as much to figure out what we're dealing with.

Test Plan: Ran bin/harbormaster rebuild-log, saw an existing log populate. Ran bin/harbormaster write-log, saw new log write with proper length information.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13088

Differential Revision: https://secure.phabricator.com/D19136

Details

Provenance
epriestleyAuthored on Feb 23 2018, 5:48 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPd152bd583608: Manage log locks on the Log object to prepare for multiple writers
Branches
Unknown
Tags
Unknown

Event Timeline