Skip to content

[content-service] log duration for s3 download and tar extract #18829

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

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

kylos101
Copy link
Contributor

@kylos101 kylos101 commented Sep 27, 2023

Description

Add logging to help understand how long it takes to download and extract files. Also, fix a scenario where the download is not found, so we properly inform upstream consumers.

Summary generated by Copilot

🤖 Generated by Copilot at a6beb51

Improved logging and error handling for S3 storage in content-service. Fixed a download retry bug in s3.go.

Related Issue(s)

Fixes ENG-884

How to test

n/a

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@roboquat roboquat merged commit ac8d3e2 into main Sep 27, 2023
@roboquat roboquat deleted the kylos101/duration branch September 27, 2023 21:14
kylos101 added a commit that referenced this pull request Oct 3, 2023
roboquat pushed a commit that referenced this pull request Oct 3, 2023
* [ws-daemon] log download and extract times

* Revert "[content-service] log duration for s3 download and tar extract (#18829)"

This reverts commit ac8d3e2.

* Revert "[content-service] download s3 content using s5cmd (#18783)"

This reverts commit 4fb2677.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants