Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Conversation

@kananb
Copy link
Contributor

@kananb kananb commented Jul 24, 2023

Summary of the Pull Request

Add an info-level trace when trimming the System.Title.

PR Checklist

  • Applies to work item: #xxx
  • CLA signed. If not, go over here and sign the CLI.
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request

What does this include?

Validation Steps Performed

How does someone test & validate?

@kananb kananb requested review from mgreisen and tevoinea July 24, 2023 20:05
@codecov-commenter
Copy link

Codecov Report

Merging #3332 (74b3795) into main (2d0d297) will decrease coverage by 1.41%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #3332      +/-   ##
==========================================
- Coverage   31.81%   30.40%   -1.41%     
==========================================
  Files         307      133     -174     
  Lines       37327    14285   -23042     
==========================================
- Hits        11874     4343    -7531     
+ Misses      25453     9942   -15511     
Files Changed Coverage Δ
...Service/ApiService/onefuzzlib/notifications/Ado.cs 9.40% <0.00%> (-0.19%) ⬇️

... and 174 files with indirect coverage changes

@kananb kananb merged commit 2ecca70 into main Jul 24, 2023
@kananb kananb deleted the kanan/title-trim-logging branch July 24, 2023 21:02
);
// try to avoid naming collisions caused by the trim by appending the first 8 characters of the title's hash at the end
_config.AdoFields["System.Title"] = $"{systemTitle[..(MAX_SYSTEM_TITLE_LENGTH - 14)]}... [{systemTitleHashString[..8]}]";
_logTracer.LogInformation(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How often is this going to be logged?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As often as we're currently seeing those System.Title too long errors

@AdamL-Microsoft AdamL-Microsoft mentioned this pull request Jul 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants