witty-crayon-22786
06/19/2019, 6:28 PMwitty-crayon-22786
06/19/2019, 6:28 PMwitty-crayon-22786
06/19/2019, 6:28 PMwitty-crayon-22786
06/19/2019, 6:29 PMhundreds-breakfast-49010
06/19/2019, 6:29 PMwitty-crayon-22786
06/19/2019, 6:29 PMwitty-crayon-22786
06/19/2019, 6:29 PMwitty-crayon-22786
06/19/2019, 6:31 PMwitty-crayon-22786
06/19/2019, 6:32 PMhundreds-father-404
06/19/2019, 6:33 PMwitty-crayon-22786
06/19/2019, 6:38 PMhundreds-breakfast-49010
06/20/2019, 9:25 PMdescription
field: https://github.com/gshuflin/pants/commit/82e52901c3a5b52f99dd4e7389a535b508243591hundreds-breakfast-49010
06/20/2019, 9:27 PMExecuteProcessRequest
hundreds-breakfast-49010
06/20/2019, 9:28 PMwitty-crayon-22786
06/20/2019, 9:28 PMwitty-crayon-22786
06/20/2019, 9:29 PMwitty-crayon-22786
06/20/2019, 9:32 PMwitty-crayon-22786
06/20/2019, 9:33 PMhundreds-breakfast-49010
06/20/2019, 9:33 PMwitty-crayon-22786
06/20/2019, 9:34 PMhundreds-breakfast-49010
06/20/2019, 9:35 PMExecuteProcessRequest
such that they ignore the description field?hundreds-father-404
06/20/2019, 9:38 PMokay, so, for now, just change Eq/Hash onI think yes. I would maybe include asuch that they ignore the description field?ExecuteProcessRequest
TODO(#issue-number):
to revisit this design once the UX approach is figured out.hundreds-breakfast-49010
06/20/2019, 9:49 PMwitty-crayon-22786
06/20/2019, 10:04 PMhundreds-breakfast-49010
06/20/2019, 10:04 PMwitty-crayon-22786
06/20/2019, 10:04 PMhundreds-breakfast-49010
06/21/2019, 12:04 AMhundreds-father-404
06/21/2019, 12:09 AMExecuteProcessRequest
where everything is the same, except for the description, and confirm that they are equal.hundreds-breakfast-49010
06/21/2019, 12:28 AMhundreds-breakfast-49010
06/21/2019, 12:29 AMhundreds-father-404
06/21/2019, 12:29 AMhundreds-breakfast-49010
06/21/2019, 12:29 AMhundreds-breakfast-49010
06/21/2019, 12:29 AMhundreds-breakfast-49010
06/21/2019, 12:29 AMhundreds-father-404
06/21/2019, 12:31 AMI was thinking more, how do I write a more full-featured pants test that would exercise this?Not sure if others would agree, but here I don’t think the cost of an integration test—in terms of the time it takes for you to write, the extra code we have to maintain, and the time to run it every time in CI—would be worth it. We in general really like integration tests and use them a lot, but I think a unit test suffices here.
witty-crayon-22786
06/21/2019, 12:39 AMtest_isolated_process.py
witty-crayon-22786
06/21/2019, 12:41 AMwitty-crayon-22786
06/21/2019, 12:41 AMhundreds-breakfast-49010
06/21/2019, 12:43 AM