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

ENG-5982 fix: increase timeout for httpx client to 30s + added logging #26

Merged
merged 7 commits into from
Aug 15, 2024

Conversation

mark-novi
Copy link
Contributor

@mark-novi mark-novi commented Aug 13, 2024

https://linear.app/novi/issue/ENG-5982/release-helper-not-working-as-expected

Summary:

This PR addresses the issue described in ticket "Release helper not working as expected". The problem involved the GitHub Action not posting updates in the #production-deploys Slack channel and failing to trigger a release, despite no visible failures during the action's execution.

Changes Implemented:

  1. Setup Instructions Added to README.md:
    Updated the README.md file to include detailed setup instructions. This will help developers easily configure the project and avoid any setup-related issues.
  2. Taskfile Update with Docker Compose:
    Introduced a new task in taskfile.sh to run docker compose up, enabling developers to build and run the container more efficiently.
  3. Increased HTTPX Client Timeout:
    The HTTPX client timeout has been increased from the default 5 seconds to 30 seconds. This change ensures that the client has enough time to complete requests, particularly in slower network conditions, which may have been causing the release helper to fail silently.
  4. Noiser logging for the Github Actions stdout
    Increased the verbosity of logging for GitHub Actions stdout. This enhancement will make it easier to trace the output and identify potential issues more quickly if something goes wrong during the release process.
  5. Enhanced Logging for Slack Messages:
    Additional logging has been implemented around Slack message postings. This will provide more visibility into the process and help in diagnosing issues if messages fail to post in the #production-deploys channel.

Impact:

These changes aim to resolve the issue where the release helper was not working as expected, particularly in ensuring that releases are correctly kicked off and notifications are posted to the appropriate Slack channel. The improved setup instructions and logging will also aid in easier setup and troubleshooting in the future.

@github-actions github-actions bot added the bug Something isn't working label Aug 13, 2024
@mark-novi mark-novi requested a review from jensenbox August 14, 2024 17:29
@mark-novi mark-novi merged commit 452aebd into main Aug 15, 2024
4 checks passed
@mark-novi mark-novi deleted the ENG-5982 branch August 15, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants