Skip to content

Markdown rendering hides raw email content that resembles footnotes #170

@jmikola

Description

@jmikola

The raw text of https://externals.io/message/116044 is:

I just discovered that run-tests.php was changed to cache SKIPIF evaluation since 8.1.0beta3[1]. I believe ext-mongodb ran into the same issue as mysqli[2], as we use SKIPIF to check that database contents are clean going into a test. The present solution in core is to check SKIPIF output for "nocache" [3,4] and allow individual tests to opt out of caching; however, I'm worried that won't be portable for third-party extensions, where we test with run-tests.php for each version of PHP that we support.

Is there still time to consider an alternative solution? If "nocache" needs to remain in place for mysqli, perhaps 8.1.0's run-tests.php can be enhanced to consult an environment variable (for maximum BC and playing nice with `make test`) that disables caching entirely.

[1]: https://github.com/php/php-src/pull/6681
[2]: https://github.com/php/php-src/pull/6726
[3]: https://github.com/php/php-src/commit/4d43cbe333690171753e9b8663df93d3762e02a8
[4]: https://github.com/php/php-src/commit/0074a1d4e3a85d0d63118e7a30f4b7ed6da64695

I was not aware that externals.io rendered emails as Markdown until I happened to view the thread above and realized that the footnote links I added were stripped. I didn't have Markdown in mind when I wrote the email, and was just using that notation to avoid embedding the links in the paragraphs.

I'm not sure if this qualifies as a bug since the syntax I used is a bit different from actual Markdown footnotes (e.g. [^1]), but I'll defer to the authors to triage accordingly. In the future, I'll also try to keep this in mind when writing emails to internals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions