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

Fix crash in route wrappers for Starlette 0.19.1 #527

Merged
merged 3 commits into from
Apr 26, 2022
Merged

Conversation

TimPansino
Copy link
Contributor

Co-authored-by: Lalleh Rafeei lrafeei@users.noreply.github.com
Co-authored-by: Uma Annamalai umaannamalai@users.noreply.github.com

Before contributing, please read our contributing guidelines and code of conduct.

Overview

  • A crash in Starlette appeared after a change to the get_name logic for routes got confused by our wrappers. The problem should now be fixed.

Related Github Issue

Closes #526

Testing

The agent includes a suite of tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found
here,
For most contributions it is strongly recommended to add additional tests which
exercise your changes.

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
@TimPansino TimPansino requested a review from a team April 25, 2022 20:33
@github-actions
Copy link

github-actions bot commented Apr 25, 2022

MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 1 0 0.36s
✅ PYTHON black 1 0 0 0.34s
✅ PYTHON flake8 1 0 0.32s
✅ PYTHON isort 1 0 0 0.16s
✅ PYTHON pylint 1 0 1.43s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@lrafeei lrafeei merged commit 5890920 into main Apr 26, 2022
@lrafeei lrafeei deleted the fix-starlette-0-19-1 branch April 26, 2022 18:04
lrafeei added a commit that referenced this pull request May 2, 2022
* Fix crash in route wrappers for starlette 0.19.1

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* [Mega-Linter] Apply linters fixes

* Bump Tests

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>
TimPansino added a commit that referenced this pull request May 3, 2022
* Fix crash in route wrappers for Starlette 0.19.1 (#527)

* Fix crash in route wrappers for starlette 0.19.1

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* [Mega-Linter] Apply linters fixes

* Bump Tests

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>

* Add logging configuration settings.

* [Mega-Linter] Apply linters fixes

* Trigger tests.

Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com>
Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>
@TimPansino TimPansino added this to the v7.12.0.176 milestone Jun 8, 2022
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.

Crash in instrumentation for Starlette 0.19.1
2 participants