The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/csv-timestamp-zone-label has failed.
Run started by GitHub user Frun1na (triggered by Frun1na).

Head commit for run:
180d89608f9ccd5c5677dff6785c5c09d17d42c4 / Apulupie 
<[email protected]>
fix(export): name the server zone in the exported timestamp columns

fix(export): name the server zone in the exported timestamp columns

The audit export already labels its timestamp column with the server's UTC 
offset
("timestamp(UTC+08:00)", AuditService.csvHeader) because the stored values are 
zone-less
server-local instants: without the label the file cannot be interpreted. The 
topic and
consumer-group exports write the same kind of value ("Created At"/"Updated At") 
without any
label, so an operator reading only the CSV (a spreadsheet, a ticket attachment) 
cannot tell
which zone the timestamps are in.

CsvUtil now owns the label (serverZoneLabel) and the column header built from it
(timestampColumn); the topic and consumer-group exports label both of their 
timestamp columns
with it, and AuditService uses the same helper instead of its private copy, so 
the formula exists
once.

CsvUtilTest + MetadataServiceTest + AuditServiceTest: 83 tests green, 0 
checkstyle violations.
Dropping the offset part from the helper's formula reddens all four cases that 
pin the label
(including the pre-existing audit export case), which is the mutation check for 
this change. The
values themselves are unchanged: only the column names gain the zone.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/38043999822

With regards,
GitHub Actions via GitBox

Reply via email to