-
Notifications
You must be signed in to change notification settings - Fork 44
v7.113.0-dev #634
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
base: main
Are you sure you want to change the base?
v7.113.0-dev #634
Conversation
PEP 400 requires it to be devN
be15f15
to
e26ab24
Compare
Not sure why we have to make this change on our repo. If you asked me, the APM System Tests should take care of this by the step they're downloading the repo to build it (I suppose). This brings two problems:
I propose we do this in the APM System Tests side. |
I first need to admit that i actually need to learn more about APM System tests. But based on the meeting with @florentinl, my preliminary understanding is that those tests are using very limited resources and we are trying to make thing more directly accessible in the pipeline. For that we need to do this and also upload the layer files. |
Hey @duncanista and @joeyzhao2018, The reason I need this is entirely system-test related, and I don't want to impose a burden on the release process of this repo for something that only appsec will ever use (I assume). Let me explain why I need this and we can probably find a better solution 😅
To know which tests to run or not (or more accurately to declare as XFailed or XPassed) it compares the version of the running library against this manifest. To do this it uses the self reported version of the package ( Without pre-release version markers, If the main branch passes a new test there is currently no way to mark the test as passing until the next release. Having a pre-release marker solves the issue by allowing to mark a test as passing starting If modifying the version manually inside the repo is too much of a burden, maybe we can try to automate it. Another simpler approach would be to patch this directly in the artifact built for system-tests here https://github.com/DataDog/datadog-lambda-python/blob/main/.github/workflows/build_layer.yml. It makes running local builds against system-tests less straight-forward and the versioning scheme less consistant but I guess it is the path of least resistance. |
To clarify this point
system-tests aren't really run with limited resource. My understanding from discussing with the system-tests team is that it is more of a problem of separation of concerns. They work under the principle that system-tests shouldn't have to worry about how to build a library or how to derive the version depending on git metadata, these are the concerns of the library. system-tests only need to know where to fetch the library so they can use it. |
What does this PR do?
Tag current code with a
devN
version indicating developing for next release.Motivation
This is needed for APM System testing.
Testing Guidelines
Additional Notes
PEP 440 normalization: The standard requires that development releases use the .devN format (where N is a number, defaulting to 0 if not specified)
Types of Changes
Check all that apply