Closed steve-bate closed 1 month ago
I think we need some other reporting category like soft-fail per https://github.com/fediverse-devnet/feditest/issues/83 -- not reporting it is bad, but uncompromisingly failing is bad, too.
I think we need some other reporting category like soft-fail
I don't think this is a soft-fail issue. I believe that tests results are easier to understand (and more generally useful) if they are related to the functionality being tested in that specific test. If a test is looking for a CORS header, for example, failing on an application/json
instead of application/jrd+json
content-type doesn't seem useful or relevant. We have a separate content-type test that will report the relevant failure.
So what exactly are you proposing? To add a test? If so, please do!
I think the issue I saw was caused by a merge-related regression (conditional content-type check in webfinger client) that's been fixed in my last set of PRs.
This is a legitimate failure per the RFC, but it doesn't cause any serious federation issues AFAIK. The incorrect content type causes almost all the WebFinger tests to fail (shadows other more specific behavior). I don't have a suggested action. I'm just recording the observation. We may want a strict content type test and then be more forgiving for the other tests that are not focused on content type (although we should probably at least require
application/json
).