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

[Core] Sanitize filename before using it as docker image tag. Fix #1069 #1127

Merged
merged 8 commits into from
Jan 13, 2024

Conversation

ekzhu
Copy link
Collaborator

@ekzhu ekzhu commented Jan 3, 2024

Why are these changes needed?

Sanitize filename before using it as docker image tag.

In addition, removing the skips for Mac OS X platforms -- they all passed.

Related issue number

Fix #1069

Checks

@codecov-commenter
Copy link

codecov-commenter commented Jan 3, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (2589ae8) 31.43% compared to head (9d9df99) 41.29%.

Files Patch % Lines
autogen/code_utils.py 25.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1127      +/-   ##
==========================================
+ Coverage   31.43%   41.29%   +9.86%     
==========================================
  Files          32       32              
  Lines        4381     4388       +7     
  Branches     1022     1079      +57     
==========================================
+ Hits         1377     1812     +435     
+ Misses       2896     2436     -460     
- Partials      108      140      +32     
Flag Coverage Δ
unittests 41.22% <25.00%> (+9.84%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ekzhu ekzhu added this pull request to the merge queue Jan 13, 2024
Merged via the queue into main with commit f82248d Jan 13, 2024
78 of 87 checks passed
@sonichi sonichi deleted the fast-dev branch January 13, 2024 18:54
joshkyh pushed a commit that referenced this pull request Jan 17, 2024
… (#1127)

* fix #1069

* uncomment skips

* use importlib to check package

* better code

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
…rosoft#1069 (microsoft#1127)

* fix microsoft#1069

* uncomment skips

* use importlib to check package

* better code

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-execution execute generated code docker Issues relating to Docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: filename containing invalid characters to be used as docker image name
5 participants