Repository navigation
Commit 4db7b5f
committed
π Read an artifact where nothing may be written beside it
I2 was arranged but not complete. It copied the artifact to a second path and
compared the answers, which proves the path is not part of identity β and proves
nothing at all about the claim underneath it, that inspecting an artifact writes
nothing. A directory that merely happened to stay clean is not a directory that
could not have been written to.
So the copy is inspected while its containing directory refuses new entries. A
reader that opened the container for writing, or left a journal, a WAL or a lock
next to it, cannot finish there at all. The refusal is proven before the
assertions rather than assumed, because a host that quietly ignored the mode
change would make every line after it a coincidence. Permissions are restored
through this scope's teardown, registered inside the fixture's own removal so it
runs first: a failing assertion still leaves the temporary tree removable.
Status and history both still answer, the two paths give byte-identical JSON,
the human heading names the path each caller supplied, and the file and its
directory are unchanged afterwards.
The `architecture.md` lifecycle excerpt now says what the surface is. It had
drifted before this story β no fork lineage on the snapshot and no `export` β
and it gains the artifact result types and the two sibling operations. The
retained pair stays distinct, and the paragraph under it says why: a run ID
names live lifecycle authority, a path names evidence somebody is holding, and
`WorkflowArtifactSnapshot` extends the retained snapshot rather than restating
it.
Refs #6011 parent 3dad621 commit 4db7b5f
2 files changed
Lines changed: 76 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
530 | 536 | | |
531 | 537 | | |
532 | 538 | | |
| |||
536 | 542 | | |
537 | 543 | | |
538 | 544 | | |
| 545 | + | |
539 | 546 | | |
540 | 547 | | |
541 | 548 | | |
542 | 549 | | |
543 | 550 | | |
544 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
545 | 572 | | |
546 | 573 | | |
547 | 574 | | |
548 | 575 | | |
549 | 576 | | |
| 577 | + | |
| 578 | + | |
550 | 579 | | |
551 | 580 | | |
| 581 | + | |
552 | 582 | | |
553 | 583 | | |
554 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
555 | 595 | | |
556 | 596 | | |
557 | 597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
557 | 567 | | |
558 | 568 | | |
559 | 569 | | |
| |||
719 | 729 | | |
720 | 730 | | |
721 | 731 | | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
722 | 751 | | |
723 | 752 | | |
724 | 753 | | |
| |||
745 | 774 | | |
746 | 775 | | |
747 | 776 | | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
748 | 783 | | |
749 | 784 | | |
750 | 785 | | |
| |||
0 commit comments