Sebastian Kreft

Results 88 issues of Sebastian Kreft

This library has been more than 3 years in preview status, and despite al the user requests there have been no major changes.

**Describe the bug** The body of a ruby class is not captured with `$...BODY`, but it is with `...`. **To Reproduce** - https://semgrep.dev/s/94vY does not work - https://semgrep.dev/s/yGPx works **Expected...

priority:high
lang:ruby
pattern:inconsistency

**Describe your environment** python: 3.10.6 opentelemetry-api: 1.12.0 opentelemetry-sdk: 1.12.0 **Steps to reproduce** ```py from opentelemetry.baggage import _is_valid_pair _is_valid_pair("sentry-transaction", "GET%20%2Fapi%2F%2Freport") # OK from opentelemetry.baggage.propagation import W3CBaggagePropagator W3CBaggagePropagator().extract({"baggage": "sentry-transaction=GET%20%2Fapi%2Freport"}) # Returns empty...

bug

## Status **READY** ## Description The __all__ package attribute must contain string elements, but I made a mistake in https://github.com/nficano/humps/pull/277/files and set them to objects. Without this change, mypy fails...

We had a hard to debug issue when testing async sqlalchemy. When running the following test ```py from sqlalchemy.sql import text from sqlalchemy.ext.asyncio import create_async_engine from sqlalchemy.pool import NullPool engine...

The following code will produce the error Notice: Type mismatch: expected: Array["id" => Any, ...], found: Array["id" => Top] echo $_GET['id']; ```

When inferring types within a function, those should be used to compute the type signature of the function. For example ```

When running phantm against PHP-CS-Fixer (https://github.com/fabpot/PHP-CS-Fixer) an exception is raised. java -jar ../../../phantm-1.0.7.jar Finder/DefaultFinder.php FinderInterface.php ``` Exception in thread "main" java.lang.RuntimeException: expr() not handling correctly: Closure(List(ArgumentDecl(SimpleVariable(Identifier(file)),Some(THObject(StaticClassRef(NSIdentifier(NSResolved,List(SplFileInfo))))),None,false)),List(ArgumentDecl(SimpleVariable(Identifier(files)),None,None,false)),false,Block(List(Return(BooleanNot(FunctionCall(StaticFunctionRef(NSIdentifier(NSResolved,List(in_array))),List(CallArg(MethodCall(SimpleVariable(Identifier(file)),StaticMethodRef(Identifier(getRelativePathname)),List()),false), CallArg(SimpleVariable(Identifier(files)),false))))))))(/home/skreft/Downloads/PHP-CS-Fixer/Symfony/CS/Finder/DefaultFinder.php line 37 column...

Knowing the type of the expressions in the AST is useful for IDEs (and IDE plugins) to support autocompletion, for static analyzers and for refactoring tools. As a matter of...

feature
needs discussion
priority-1-normal

### Description Two of the metrics provided by the `otelhttp` package don't follow the semantic conventions. These metrics: - `http.server.response_content_length` which should be called `http.server.request.body.size` and be an histogram (see...

bug
area: instrumentation
instrumentation: otelhttp