Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Issue 111103002: Make the solver deterministic (again). (Closed)

Created:
7 years ago by Bob Nystrom
Modified:
7 years ago
Reviewers:
nweiz
CC:
reviews_dartlang.org, Siggi Cherem (dart-lang)
Visibility:
Public.

Description

Make the solver deterministic (again). This also caps the log transcript size. BUG=https://code.google.com/p/dart/issues/detail?id=15547 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=31072

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make log discard from the middle. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -7 lines) Patch
M sdk/lib/_internal/pub/lib/src/log.dart View 1 3 chunks +16 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/solver/dependency_queue.dart View 1 1 chunk +4 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/lib/src/transcript.dart View 1 1 chunk +73 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/transcript_test.dart View 1 1 chunk +36 lines, -0 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
Bob Nystrom
When I made the solver defer network requests, I accidentally introduced a dependency on the ...
7 years ago (2013-12-10 00:59:10 UTC) #1
nweiz
https://codereview.chromium.org/111103002/diff/1/sdk/lib/_internal/pub/lib/src/log.dart File sdk/lib/_internal/pub/lib/src/log.dart (right): https://codereview.chromium.org/111103002/diff/1/sdk/lib/_internal/pub/lib/src/log.dart#newcode127 sdk/lib/_internal/pub/lib/src/log.dart:127: // Keep a rolling log of the most recent ...
7 years ago (2013-12-10 01:18:05 UTC) #2
Bob Nystrom
Thanks! https://codereview.chromium.org/111103002/diff/1/sdk/lib/_internal/pub/lib/src/log.dart File sdk/lib/_internal/pub/lib/src/log.dart (right): https://codereview.chromium.org/111103002/diff/1/sdk/lib/_internal/pub/lib/src/log.dart#newcode127 sdk/lib/_internal/pub/lib/src/log.dart:127: // Keep a rolling log of the most ...
7 years ago (2013-12-11 00:45:13 UTC) #3
nweiz
lgtm https://codereview.chromium.org/111103002/diff/20001/sdk/lib/_internal/pub/test/transcript_test.dart File sdk/lib/_internal/pub/test/transcript_test.dart (right): https://codereview.chromium.org/111103002/diff/20001/sdk/lib/_internal/pub/test/transcript_test.dart#newcode36 sdk/lib/_internal/pub/test/transcript_test.dart:36: } Add a test where it doesn't discard ...
7 years ago (2013-12-11 06:53:02 UTC) #4
Bob Nystrom
Committed patchset #2 manually as r31072 (presubmit successful).
7 years ago (2013-12-11 17:39:35 UTC) #5
Bob Nystrom
7 years ago (2013-12-11 17:40:01 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/111103002/diff/20001/sdk/lib/_internal/pub/te...
File sdk/lib/_internal/pub/test/transcript_test.dart (right):

https://codereview.chromium.org/111103002/diff/20001/sdk/lib/_internal/pub/te...
sdk/lib/_internal/pub/test/transcript_test.dart:36: }
On 2013/12/11 06:53:03, nweiz wrote:
> Add a test where it doesn't discard entries as well.

Done.

Powered by Google App Engine
This is Rietveld 408576698