Commit Graph

5 Commits

Author SHA1 Message Date
Tiago Santos 09a36c97f3 fix(tia): drop the coverage cache on structural drift (#1996)
* fix(tia): drop the coverage cache on structural drift

A coverage run cannot rebuild the graph, so a composer.lock change left the previous coverage.bin.gz in place and the next merge failed.

* style(tests): satisfy rector dry-run

* style: remove the source comment

Repository instructions prohibit source comments.

---------

Co-authored-by: Tiago Santos <tsantos@lynixt.pt>
2026-11-03 20:34:22 +05:30
Lazizbek Ergashev 228c627b64 fix(tia): record new dependencies of known tests on coverage runs (#1955)
* fix(tia): record new dependencies of known tests on coverage runs

* chore(tia): drop the keepExisting docblock line
2026-10-31 14:47:06 +00:00
Caleb White fc17365bd1 fix(tia): suppress PHPUnit XML coverage during recording (#1845)
When phpunit.xml has <coverage> and <source> sections, PHPUnit
auto-initializes its code coverage driver which takes over
xdebug's coverage APIs. TIA's recorder then gets empty data
from xdebug_get_code_coverage(), resulting in zero recorded
edges and no graph being saved.

Inject --no-coverage into the arguments when TIA enters its
own recording mode (not piggybacking on an explicit coverage
report). This tells PHPUnit to ignore XML-configured coverage
reports, leaving xdebug free for TIA's per-test recording.

Having <coverage> and <source> in phpunit.xml is standard for
any project that generates coverage reports. Without this fix,
users must manually pass --no-coverage alongside --tia, which
is an unnecessary footgun.
2026-08-26 01:25:57 +05:30
nuno maduro 1f79660add wip 2026-08-07 01:55:34 +01:00
nuno maduro cc7acfe485 wdq 2026-08-07 01:11:53 +01:00