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
Add tests and docs for environment variable resolution. #5938
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aaronsteers @cjohnhanson I'm realizing that the configuration page https://docs.meltano.com/guide/configuration doesn't mention the env:
key at all...
@cjohnhanson I think for this PR we need something in the Environment variables
section that mentions that key.
@aaronsteers so as not to completely blow up scope on the PR, I can open an additional issue around the env key since we currently have that info scattered all around.
@aaronsteers I opened #5969 |
@cjohnhanson - Do you mind adding summary of tests/changes here, and especially if there are any additional tasks or issues to resolve? My expectation was that some of our proposed tests would fail and perhaps need to be opened in new issues if scope was too large to fit in the scope of this PR. Are there any cases we are not yet succeeding at, and/or are there any other caveats that should be called out before merging this PR and closing the related issue? Thanks!! |
Sure thing, the high-level takeaway is that there are 7 tests which currently Shell environment variables take too high of precedence compared to what is described in the miro board, I'll create a follow-up issue for that which will resolve 6 of the currently `xfail'-ing tests. Inheritance (e.g., setting a To be clear though, the behavior is in line with what our docs currently say, but not with the new model as described in the miro board.
See also this comment in the gitlab MR for some more details:
|
@aaronsteers @tayloramurphy I'm hoping to get to a PR tonight for my one other remaining 2.0 issue. So if I misunderstood scope here and we need to try to address one or both of the resolution/inheritance issues I outlined in my above comment, I can push to get that taken care of in the next couple days, or potentially stretching into Monday of next week. |
@cjohnhanson - Re:
Thanks very much for this additional detail. I really like the approach of using xfail tests so we can keep those in the codebase and work those towards resolution.
Actually, I think you've got the scope perfectly. If I understand correctly, there are basically three todos I'd ask before closing:
I think with these three items resolved, we can close. What I can't speak to yet is whether we'll move to prioritize either of the two new issues. I'll wait to review those more closely before I and @tayloramurphy try to make a call on relative priority. (If you feel like you can add a |
Maybe more errors than this, but this is the first one I found: https://gitlab.com/meltano/legacy-ci/meltano/-/jobs/2536112067#L917
|
@aaronsteers there was some additional work needed to get these to pass -- I had introduced a regression in a recent commit. Those specific failing tests are passing locally now. I'll check in on the pipeline later today and get those issues created and then add the inline refs next to the xfails, and then this should be good to merge+close today. |
@aaronsteers - pipeline is now succeeding: https://gitlab.com/meltano/legacy-ci/meltano/-/pipelines/554154838 I've also created the issues for resolving xfail-ing tests and referenced them in comments in the test file: 17ce6c6 ^That commit will have triggered a new pipeline run, but it only adds 4 lines of comments. I still need to add a short section about the |
@tayloramurphy is this what you had in mind for a quick blurb about |
@cjohnhanson yep! That looks great - I have #5969 to track adding more 👍 |
@cjohnhanson - re:
Love this! Thanks! |
Migrated from GitLab: https://gitlab.com/meltano/meltano/-/merge_requests/2667
Originally created by @cjohnhanson on 2022-05-26 21:59:55
Merge Request Checklist
Closes #3173