Changes between Initial Version and Version 1 of Ticket #3761, comment 8


Ignore:
Timestamp:
2021-08-20T15:30:01Z (3 years ago)
Author:
itamarst
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3761, comment 8

    initial v1  
    11To go the manual audit route, given a whole bunch of arbitrary fakes:
    22
    3 1. For each method in IStorageServer and related objects (bucket reader/writer), grep for method definitions; eventually this should discover all fakes.
    4 2. For each fake, add logic to print tracebacks(?) to file.
    5 3. Add logic to print tracebacks to file for real code too.
     31. For each method in IStorageServer and related objects (bucket reader/writer), grep for method definitions; eventually this should discover all fakes. E.g. allmydata.test.mutable.util.FakeStorageServer is not annotated with the IStorageServer interface but implements it.
     42. For each fake, temporarily add logic to print tracebacks(?) to file.
     53. Temporarily add logic to print tracebacks to file for real code too.
    664. Run unit and integration tests.
    775. Uniquify file.
     86. Permanently add interface implementation annotation, so in the future we can just use grep.
    89
    910At this point we should have locations of all calls into Foolscap storage protocol, and can audit it for bad assumptions like "order of calls matches order of delivery".