Commit graph

294 commits

Author SHA1 Message Date
Fedor Korotkiy
e56f1df9ba Finish pkg/scheduler 2020-04-05 14:29:46 +03:00
Fedor Korotkiy
1d5c64d8ca Fix linter 2020-04-05 00:55:07 +03:00
Fedor Korotkiy
f3d73b97ad File transfer complete 2020-04-05 00:49:25 +03:00
Fedor Korotkiy
6224193cac Switch to heartbeat client 2020-04-05 00:36:53 +03:00
Fedor Korotkiy
106ac182ad Upload source files to coordinator 2020-04-05 00:21:55 +03:00
Fedor Korotkiy
d4e3705be3 Wait for source upload 2020-04-05 00:13:45 +03:00
Fedor Korotkiy
6900c33441 Improve tests 2020-04-04 23:11:21 +03:00
Fedor Korotkiy
21db0f4d0b Finish distbuild/pkg/filecache 2020-04-04 21:45:29 +03:00
Fedor Korotkiy
03e63c2646 Finish distbuild/pkg/artifact 2020-04-04 20:16:36 +03:00
Fedor Korotkiy
f221388f5c Finish distbuild/api 2020-04-04 19:21:47 +03:00
Fedor Korotkiy
3f5dd7b6cc Document tarstream 2020-04-04 17:28:13 +03:00
Fedor Korotkiy
9f9efa18c0 Implement file cache through artifact cache 2020-03-29 23:35:58 +03:00
Fedor Korotkiy
872752d3ef Revert LRU 2020-03-29 23:05:47 +03:00
Fedor Korotkiy
628833a049 WIP 2020-03-29 20:35:39 +03:00
Fedor Korotkiy
6e5c478920 Use api for communicating with client. 2020-03-29 19:24:18 +03:00
Fedor Korotkiy
b97b6e9a0f Client protocol 2020-03-29 19:03:07 +03:00
Fedor Korotkiy
a60b6dfad1 Add scheduler 2020-03-29 00:34:09 +03:00
Fedor Korotkiy
8a0fd66a89 Fix linter 2020-03-28 17:35:01 +03:00
Fedor Korotkiy
d3f089aaf4 Artifact transfer 2020-03-28 17:22:24 +03:00
Fedor Korotkiy
490c9b8e6f Test source files. 2020-03-28 17:05:39 +03:00
Fedor Korotkiy
b3a5bcb132 Artifact caching 2020-03-28 16:54:43 +03:00
Fedor Korotkiy
c3378d4327 Add tarstream 2020-03-28 01:52:54 +03:00
Fedor Korotkiy
6295c3f1a4 WIP 2020-03-27 22:56:55 +03:00
Fedor Korotkiy
5f0bb90e2c One command running 2020-03-27 22:56:55 +03:00
Fedor Korotkiy
110b00a017 Artifact cache 2020-03-27 22:56:55 +03:00
Fedor Korotkiy
9d2e3cc0bb WIP 2020-03-27 22:56:55 +03:00
Fedor Korotkiy
bb446505a8 wip 2020-03-27 22:56:55 +03:00
Fedor Korotkiy
4be9a5a982 wip 2020-03-27 22:56:55 +03:00
Fedor Korotkiy
52d9956d49 Fix build 2020-03-27 22:53:09 +03:00
Oleg Khlevnov
b1863ec9a1 Add gc percent test in lrucache to prevent cheating 2020-03-27 22:50:35 +03:00
nickshevr
52c5558b31 (tests): Added tests for fmt without spaces 2020-03-27 22:47:47 +03:00
Alexander Vasilyev
b2081be19b Add solutions for testdata sumbssions related to new coverage calculation logic. 2020-03-27 22:32:10 +03:00
Alexander Vasilyev
12396125e7 Add tests for correct coverage calculations. 2020-03-27 22:32:10 +03:00
Alexander Vasilyev
a56f50ac46 Calculate coverage of private code.
Create empty coverage profile from problem code to calculate coverage
correctly. For some wierd reasons it will also account for not tested packages.
This change prevents students from adding new code and testing it,
instead of getting good coverage for initial codebase :)
2020-03-27 22:32:10 +03:00
Alexander Vasilyev
54ab7b69d1 Add coverpkg specification.
Currently, packages in coverme without tests created by student
are not checked for coverage, because no there are no test targets
for them at all!

The issue can be fixed by simply creating empty !change files,
but we are engineers, aren't we? :)

Bonus point: it prevents new packages from giving false coverage credit.
For example, mock file generated by gomock will have lots of covered code
almost instantly. However, the task can be hacked by adding new code to
existing packages.
2020-03-27 22:32:10 +03:00
Alexander Vasilyev
f81398290b Remove ignored min coverage comments. 2020-03-27 22:32:10 +03:00
Alexander Vasilyev
545ce5cbe3 Calculate coverage problem-wise, not per package.
This seems to be fair, especially since coverage target is
defined problem-wise. Practical reason: coverme/app can not
be covered sufficiently without testing Start/initRoutes/run;
out of these, only initRoutes can be tested, and testing it
separately is a wierd solution.
2020-03-27 22:32:10 +03:00
Arseny Balobanov
4847cc86c8 batcher: try fixing submissions by adding empty source file to slow subpkg. 2020-03-27 15:01:57 +03:00
Oleg Khlevnov
cee54236ab Update string case in TestEqual assertions_test.go 2020-03-27 12:00:00 +03:00
Arseny Balobanov
71ed3bdf3e coverme: fix spacing. 2020-03-27 02:12:22 +03:00
mfgnik
f2ba356a61 Update coverage_test.go 2020-03-27 02:10:53 +03:00
mfgnik
d17ba8106e Update coverage_test.go 2020-03-27 02:10:51 +03:00
mfgnik
5ad126327d Update coverage_test.go 2020-03-27 02:10:50 +03:00
mfgnik
3d88c79622 Add check for existence tests for all packages 2020-03-27 02:10:46 +03:00
Arseny Balobanov
f8821ccc59 testequal: fix readme. 2020-03-26 21:18:12 +03:00
Arseny Balobanov
c01578963d Releasing pubsub. 2020-03-26 20:50:16 +03:00
verytable
6ff59e81fc Merge branch 'pubsub' into 'master'
Add pubsub task

See merge request slon/shad-go-private!21
2020-03-26 17:42:29 +00:00
Andrew
2a4bb7f0b8 Add pubsub task 2020-03-26 17:42:29 +00:00
Arseny Balobanov
b2a9e833f8 Releasing new task group with single batcher task. 2020-03-26 20:36:15 +03:00
Fedor Korotkiy
22fc994458 Fix lecture 2020-03-26 17:57:49 +03:00