Repository navigation
chore(hlx6): drop prose logs duplicated by audit events - #350
Merged
Merged
Conversation
Remove per-isolate HLX6 config dumps and human-readable request, propagation and skip logs that duplicate [hlx6:event] audit records. Failures, warnings and the structured audit stream are unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
mhaack
approved these changes
Nov 26, 2026
Collaborator
|
🎉 This PR is included in version 1.18.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
DA worker logs are too noisy. Over 48h (Nov 23–25), da-admin emitted:
HLX6_DUAL_WRITES (...),N site(s) in migration,AEM_API: ...) — re-logged on every isolate cold start (~37K/day for each line on the latest deployment).[hlx6] -> / <- / propagating / succeeded / skippedlines (~68 MB) that duplicate the structured[hlx6:event]audit records.What
getDualWrites(invalid-entry errors are still logged).request_started,request_completed,operation_started,operation_completed,operation_skippedoroperation_checkpoint.console.error/console.warnfailure diagnostics. "copy failed, source not deleted on hlx6" is now aconsole.warn.[hlx6:event]audit stream andscripts/hlx6-report.jsinput are unchanged.Tests
Updated 3 tests that asserted prose output to assert the equivalent audit fields instead.
npm test: 718 passing; lint clean.Follow-ups (not in this PR)
utils/auth.jsshould be classified/rate-limited, not dropped.operation_observed+operation_started) needs coordinated report-script changes.