Skip to content

Conversation

@awilfox
Copy link

@awilfox awilfox commented Dec 1, 2025

This adds support for checking that the sendmail binary chosen is executable when ActionMailer is using the :sendmail delivery_method, and stubs out the check when using the :test delivery_method.


My original goal with this change was to make sure OKComputer was successful during RSpec tests for both RapidRetail and BerkeleyLibrary/framework, of which I am adding OKComputer checks to both and seeing RSpec failures when using the ActionMailer check. I realised :sendmail would be pretty simple to check too, so I added that as well.

This does not add support for :file, but I can add it if desired.

This adds support for checking that the `sendmail` binary chosen is
executable when ActionMailer is using the `:sendmail` delivery_method,
and stubs out the check when using the `:test` delivery_method.
@awilfox awilfox force-pushed the awilfox/add-more-mailer-checks branch from 11d61cf to 9888f9a Compare December 1, 2025 21:49
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 1, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 1, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 2, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 2, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 3, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that the test is marked pending until emmahsax/okcomputer#21 is
merged, because the `:test` delivery method isn't recognised for the
ActionMailer check.  Once it is merged, we can update the Gemfile to
use the new version and then the tests will pass.

Ref: AP-508
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.

1 participant