Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

src: add more logging towards the end of the action#8

Merged
aayushshah15 merged 1 commit intomainfrom
03-06-src_add_more_logging_towards_the_end_of_the_action
Mar 6, 2025
Merged

src: add more logging towards the end of the action#8
aayushshah15 merged 1 commit intomainfrom
03-06-src_add_more_logging_towards_the_end_of_the_action

Conversation

@aayushshah15
Copy link
Copy Markdown

@aayushshah15 aayushshah15 commented Mar 6, 2025

Important

Add logging for directory creation and cache restoration in src/auth.ts and src/setup-java.ts, with minor formatting changes in workflow file.

  • Logging Enhancements:
    • In src/auth.ts, added logs for directory creation and settings file writing in createAuthenticationSettings().
    • In src/setup-java.ts, added log for cache restoration in run().
  • Miscellaneous:
    • Minor formatting change in .github/workflows/bump-cache-version.yml (whitespace adjustment).

This description was created by Ellipsis for 5fa8ac8. It will automatically update as commits are pushed.

@aayushshah15 aayushshah15 requested a review from adityamaru March 6, 2025 18:40
Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 82dccf3 in 58 seconds

More details
  • Looked at 30 lines of code in 2 files
  • Skipped 1 files when reviewing.
  • Skipped posting 6 drafted comments based on config settings.
1. src/auth.ts:62
  • Draft comment:
    Logging added after directory creation. Ensure consistency with overall logging levels.
  • Reason this comment was not posted:
    Confidence changes required: 10% <= threshold 50%
    None
2. src/auth.ts:69
  • Draft comment:
    Logging added after writing settings file. Consider if additional context is needed.
  • Reason this comment was not posted:
    Confidence changes required: 10% <= threshold 50%
    None
3. src/setup-java.ts:79
  • Draft comment:
    Cache logging message added. Verify it aligns with log level consistency across the action.
  • Reason this comment was not posted:
    Confidence changes required: 10% <= threshold 50%
    None
4. src/auth.ts:63
  • Draft comment:
    Good log for directory creation. Consider using debug if directory paths may be sensitive.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
5. src/auth.ts:69
  • Draft comment:
    Helpful log after writing the settings file to track the file write step.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
6. src/setup-java.ts:78
  • Draft comment:
    New cache restoration log improves traceability. Looks good.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None

Workflow ID: wflow_Gy65LlZeAHX8CYV1


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@aayushshah15 aayushshah15 force-pushed the 03-06-src_add_more_logging_towards_the_end_of_the_action branch from 82dccf3 to 5fa8ac8 Compare March 6, 2025 18:43
Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 5fa8ac8 in 30 seconds

More details
  • Looked at 59 lines of code in 3 files
  • Skipped 1 files when reviewing.
  • Skipped posting 6 drafted comments based on config settings.
1. .github/workflows/bump-cache-version.yml:7
  • Draft comment:
    Use consistent quoting style; single quotes are preferred here but ensure consistency across file.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
2. src/auth.ts:63
  • Draft comment:
    Added logging after directory creation; ensure no sensitive information is exposed.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50%
    None
3. src/setup-java.ts:79
  • Draft comment:
    Added log indicating cache restoration; consider adding context if further tracing is needed.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
4. .github/workflows/bump-cache-version.yml:7
  • Draft comment:
    Using single quotes for the description is consistent. Also, consider ensuring there’s a newline at the end of the file for best practices.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
5. src/auth.ts:63
  • Draft comment:
    The added logging lines provide useful debug info. Verify that no sensitive data is inadvertently logged.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
6. src/setup-java.ts:79
  • Draft comment:
    The new log message clarifies that cache restoration is happening. Looks good.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None

Workflow ID: wflow_p5LNmFQ57cwQ5EIz


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@aayushshah15 aayushshah15 merged commit 4ef8123 into main Mar 6, 2025
33 of 39 checks passed
@aayushshah15 aayushshah15 deleted the 03-06-src_add_more_logging_towards_the_end_of_the_action branch March 6, 2025 18:45
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.

2 participants