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 deprecation warning for working_dir_path #806

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

tombruijn
Copy link
Member

@tombruijn tombruijn commented Jan 14, 2022

It would only print the warning if the config option was used in the
file source, but if the APPSIGNAL_WORKING_DIR_PATH environment
variable was set, it would not print the same deprecation warning. This
only makes the deprecation more visible. This is necessary before we
fully remove it in the next major version.

I've added a changeset, because it prints the warning in more scenarios
and those are scenarios we want to inform our users about before
removing the config option entirely.

Fixes #805
Based on #804

@tombruijn tombruijn self-assigned this Jan 14, 2022
@tombruijn tombruijn marked this pull request as ready for review January 14, 2022 08:13
spec/lib/appsignal/config_spec.rb Outdated Show resolved Hide resolved
spec/lib/appsignal/config_spec.rb Outdated Show resolved Hide resolved
It would only print the warning if the config option was used in the
file source, but if the `APPSIGNAL_WORKING_DIR_PATH` environment
variable was set, it would not print the same deprecation warning. This
only makes the deprecation more visible. This is necessary before we
fully remove it in the next major version.

I've added a changeset, because it prints the warning in more scenarios
and those are scenarios we want to inform our users about before
removing the config option entirely.

Fixes #805
@tombruijn tombruijn force-pushed the working-dir-path-deprecation branch from 9202b3f to 38e9429 Compare January 14, 2022 08:40
@tombruijn tombruijn merged commit e51a8fb into send_session_data Jan 14, 2022
@tombruijn tombruijn deleted the working-dir-path-deprecation branch July 31, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants