Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better debugging to the properties service and fetcher #4427

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Sep 10, 2024

Summary

We had difficulties locating bugs because we didn't have enough insight
into what properties are being used and what is being called. Let's add
some more debugging.

Change Type

  • Bug fix (resolves an issue without affecting existing features)
  • Feature (adds new functionality without breaking changes)
  • Breaking change (may impact existing functionalities or require documentation updates)
  • Documentation (updates or additions to documentation)
  • Refactoring or test improvements (no bug fixes or new functionality)

Testing

manual

Review Checklist:

  • Reviewed my own code for quality and clarity.
  • Added comments to complex or tricky code sections.
  • Updated any affected documentation.
  • Included tests that validate the fix or feature.
  • Checked that related changes are merged.

We had difficulties locating bugs because we didn't have enough insight
into what properties are being used and what is being called. Let's add
some more debugging.
l := zerolog.Ctx(ctx).With().
Str("projectID", projectId.String()).
Str("providerID", providerID.String()).
Str("entityType", entType.String()).
Copy link
Contributor

Choose a reason for hiding this comment

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

we should converge to see if we use projectID or project_id.

@coveralls
Copy link

Coverage Status

coverage: 53.28% (+0.008%) from 53.272%
when pulling d8dd18b on jhrozek:debug
into da2aa91 on stacklok:main.

@jhrozek jhrozek merged commit e521ce0 into stacklok:main Sep 10, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants