Repository navigation
Commit 601dcbf
committed
fix(pipeline): name every silent failure edge in generation finalize
The Cyrillic guard failure came down to this: the worker indexes the repo
perfectly (gbuf.dump nodes=12 edges=21, DB written, sealed, sidecars staged) and
then finalize fails somewhere between stage_sidecars and prepare_live -- and
every failure edge on that path returns PERSIST_FAILED without a word. The user
then reads "Pipeline failed. Check repo_path exists and contains source files"
about a repo that indexed flawlessly.
A silent failure that misattributes itself cost a full day of remote-only
bisection: five instrumentation commits in the TEST were needed to even locate
the failing function. That is a product defect independent of the original bug.
Every edge now logs before returning -- destination-not-regular, seal rc,
sidecar-cleanup errno (both branches), and the final rename with stage and
destination paths. The next guard run names the exact edge and value instead of
requiring a sixth probe.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent aac3616 commit 601dcbf
1 file changed
Lines changed: 31 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
1611 | 1614 | | |
1612 | 1615 | | |
1613 | 1616 | | |
| 1617 | + | |
| 1618 | + | |
1614 | 1619 | | |
1615 | 1620 | | |
1616 | 1621 | | |
1617 | 1622 | | |
1618 | 1623 | | |
1619 | 1624 | | |
1620 | | - | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
1621 | 1631 | | |
1622 | 1632 | | |
1623 | 1633 | | |
1624 | 1634 | | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
1625 | 1639 | | |
1626 | 1640 | | |
1627 | 1641 | | |
1628 | | - | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
1629 | 1650 | | |
1630 | 1651 | | |
1631 | 1652 | | |
| |||
1807 | 1828 | | |
1808 | 1829 | | |
1809 | 1830 | | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
1810 | 1835 | | |
1811 | 1836 | | |
1812 | 1837 | | |
| |||
1828 | 1853 | | |
1829 | 1854 | | |
1830 | 1855 | | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
1831 | 1860 | | |
1832 | 1861 | | |
1833 | 1862 | | |
| |||
0 commit comments