Repository navigation
feat(cli): add optional page report exports - #22
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f06d8e9e52
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| pub(super) fn write(root: &Root, payload: &Value, report_binding: &str) -> Result<usize, String> { | ||
| let document = super::export_data::document(payload, report_binding); | ||
| let path = root.docs_dir().join("data/report.xlsx"); | ||
| let mut workbook = Workbook::new(); |
There was a problem hiding this comment.
Pin the XLSX creation timestamp
Workbook::new() uses the current time for the workbook's document creation metadata, so regenerating report.xlsx from unchanged inputs at a later time produces different bytes and unnecessary tracked docs/ churn. Set deterministic document properties—using a fixed timestamp or a stable value derived from the report—before saving so identical inputs reproduce the same artifact.
AGENTS.md reference: AGENTS.md:L48-L52
Useful? React with 👍 / 👎.
Summary
tranche page --export-jsonand--export-xlsxoutputs; default page behavior stays unchanged.Validation
make testmake checkCloses #21