IRC logs for #buildstream for Friday, 2019-12-13

*** narispo has joined #buildstream00:14
*** narispo has quit IRC03:33
*** narispo has joined #buildstream03:48
*** narispo has joined #buildstream04:04
*** narispo has joined #buildstream04:21
*** narispo has quit IRC04:21
*** phildawson-ct has joined #buildstream04:26
*** narispo has joined #buildstream05:22
*** traveltissues has joined #buildstream06:38
*** narispo has joined #buildstream06:43
*** traveltissues has quit IRC06:43
*** narispo has quit IRC07:05
*** narispo has joined #buildstream07:08
*** phildawson-ct has quit IRC09:04
*** phoenix has joined #buildstream09:26
*** phoenix has quit IRC09:32
*** santi has joined #buildstream09:40
*** bochecha has joined #buildstream09:43
*** tiagogomes has joined #buildstream09:52
*** tme5 has joined #buildstream10:21
*** lachlan has joined #buildstream10:31
tme5is it possible someone could look at !1765 today?10:37
gitlab-br-botMR !1765: Make Git source plugin clone submodules recursively https://gitlab.com/BuildStream/buildstream/merge_requests/176510:37
benschuberttme5: on it!10:44
laurencehave we seen any issues with Marge Bot recently at all?10:47
laurenceand hello everyone :)10:47
*** lachlan has quit IRC10:49
benschubertHey laurence ! We did have quite a bunch yes, I'm not sure whether they are resolved10:50
benschuberttme5: Just to make sure I understand everything: submodules never get instantiated as a `GitSourceBase` right?10:51
laurenceok, reading into things a bit more i think it's an upstream problem, not sure i can actually help10:51
laurencesorry for the noise10:51
benschubertah no worries :)10:51
*** phoenix has joined #buildstream10:52
gitlab-br-botjjardon opened issue #1240 (Commands to disable remote cache are being ignored / they do not work) on buildstream https://gitlab.com/BuildStream/buildstream/issues/124010:59
gitlab-br-botBenjaminSchubert opened MR !1768 (bschubert/cleanup-element-fetch->master: Small cleanups in `element._fetch`) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176811:02
tme5benschubert, that;s correct11:04
benschuberttme5: so they just get a fetcher and that's all right?11:04
benschubertI meant a GitMirror11:05
tme5yes, that is consistent with previous behaviour11:05
benschuberttme5: great! Then I had a few more nits that I added, otherwise LGTM :)11:08
benschubertjuergbi: with !1768 I'm not breaking cache expiry right?11:09
tme5thank you11:10
tme5i don't understand your point on my function naming but i will change it to your suggestion haha11:10
benschubertwhich one? :)11:11
benschuberthttps://gitlab.com/BuildStream/buildstream/merge_requests/1765/diffs?diff_id=66923530#d702e4184719212f721d6d7de27b95489ec90675_729_712 ?11:11
tme5ignoring_submodule, but as i say i will take your suggestion11:11
jjardonbenschubert: laurence pretty sure the problems you have with marge is https://github.com/smarkets/marge-bot/issues/240, so upstream issue https://gitlab.com/gitlab-org/gitlab/issues/38330 (we have problems with merging MRs in fdsdk as well)11:12
*** lachlan has joined #buildstream11:13
benschubertjjardon: oh thanks for the heads up I'll watch this one11:13
tme5it is just difficult sometimes, to make MRs, because the standard for merging code is sometimes so much higher than that of the existing code11:13
tme5obviously ik that is essential to improve things11:14
benschuberttme5: ah sorry about that :/ I know that I tend to do this. Don't hesitate to say that it's out of scope if you believe it is and then don't address the comment if you believe it's not important11:15
benschubertAlso, (at least for me) when I `nit:` something, it's a nitpick, basically feel free to pick tthem or not11:15
*** lachlan has quit IRC11:26
tme5it's alright, it's important to improve things, and well, i don't want to be difficult haha11:27
*** phoenix has quit IRC11:27
benschubertIt's important but if it prevents you from fixing a more important bug, it can be put aside for later ;)11:29
* tlater[m] is finally successfully running buildstream under nix :)11:31
tlater[m]Needs a few hacks, unfortunately: https://gitlab.com/BuildStream/buildstream/snippets/192222311:31
*** lachlan has joined #buildstream11:35
*** lachlan has quit IRC11:39
benschuberttlater[m]: I believe https://gitlab.com/BuildStream/buildstream/merge_requests/1739/diffs?commit_id=8f3584e8840c43492fc61b3e1dbc577ec0deb7f8 should be enough :)11:41
benschubertfor what we were discussing yesterday11:42
*** lachlan has joined #buildstream11:42
*** lachlan has quit IRC11:47
tlater[m]benschubert: Yup, that looks right11:48
benschuberttlater[m]: does https://gitlab.com/BenjaminSchubert/bst-benchmarks/merge_requests/15 seem sensible to you?11:48
tlater[m]benschubert: Pff, I'm useless at reviewing that. It looks good to me, assuming we can assert fetching doesn't just measure our network speed.11:53
* tlater[m] doesn't actually know how the configs work11:53
benschuberttlater[m]: oh it's a local source for everything11:53
tlater[m]Cool, yes, in that case it makes sense :)11:54
benschubertthanks11:54
*** lachlan has joined #buildstream11:59
gitlab-br-bottlater opened MR !1769 (tlater/CASdiff->master: storage/_casbaseddirectory.py: Add `diff` methods) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176912:09
tlater[m]WSalmon: Since you were part of that chat, mind taking a quick look at it?12:12
tlater[m]traveltissues is really the only one who can approve, but they're not around today12:13
*** lachlan has quit IRC12:23
tme5i've mostly gone off my proposal for local sources. What I was planning to do next was implement the project-path variable that ben and tristan suggested in response12:29
tme5i assume that would be ok, being a far less intrusive change12:29
*** lachlan has joined #buildstream12:35
*** santi has quit IRC12:45
*** lachlan has quit IRC12:59
tme5also i think i've addressed all the points on !1765 now, shall I assign it for merging?13:03
gitlab-br-botMR !1765: Make Git source plugin clone submodules recursively https://gitlab.com/BuildStream/buildstream/merge_requests/176513:03
tme5ah actually, i remembered now that someone told me that i'd have to increment some kind of cache key salt or something13:04
tme5because i've made a change to how an element might behave. is there anything like that to do?13:04
coldtomyeah, that change should _probably_ have something added to GitSource.get_unique_key (if i remembered the api correctly)13:07
*** lachlan has joined #buildstream13:15
*** lachlan has quit IRC13:20
*** lachlan has joined #buildstream13:21
tme5do you think coldtom? i don't think it needs to in general, it just needs to be marked as different from the previous version13:22
tme5the current get_unique_key is still fine13:22
coldtomime that's the easiest way to mark it as different13:22
tme5as in i should add superfluous things to the key?13:23
* tlater[m] is pretty sure there was a version API13:26
tlater[m]So you could just bump that, whatever it was13:27
tme5the format version? or for the source?13:27
tlater[m]tme5: I think there's a plugin version setting13:32
tlater[m]That will be included in the key, and therefore make everything just work13:32
* tlater[m] takes a look13:33
tlater[m]tme5: Aww, boo, there is no such thing for source plugins13:35
*** santi has joined #buildstream13:50
benschuberttlater[m]: should be BST_FORMAT_VERSION that is bumped no?13:54
tlater[m]benschubert: I don't see it factoring into source keys13:54
benschubertah :/ Well, I'm not sure what's best. I'd rather not modify the cache key just to modify it though13:55
coldtomis the format version not for format changes anyway13:56
benschubertright, and the format here didn't change right? So maybe "just do nothing" ?13:57
gitlab-br-bottlater approved MR !1768 (bschubert/cleanup-element-fetch->master: Small cleanups in `element._fetch`) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176814:08
coldtomi think "just do nothing" is probably the right move14:25
juergbibenschubert: fetch_original=True is only for workspaces, so I'm not expecting any expiry issues14:32
tme5alright then, shall i assign to marge?14:35
tlater[m]benschubert: I'm thinking about how to reproduce #1239 - just to make sure I understand this right, it fails because the local build logs are missing or because they end up not being pushed to the cas server?14:38
gitlab-br-botIssue #1239: BuildStream tries to push incomplete artifacts and fails https://gitlab.com/BuildStream/buildstream/issues/123914:38
benschubertjuergbi: thanks :) we can therefore optimize this part there !14:49
juergbibenschubert: the critical code path always uses fetch_original=False, though, so I don't see how this makes a difference14:50
juergbior am I misreading the diff?14:50
benschuberttme5: would you mind adapting the method's documentations that you added for the format? Afterwards go for marge14:50
benschubertjuergbi: it would be called every time we do a fetch even though it would be no-op-ish14:51
juergbiah, I didn't look at sufficient context in the diff. let me take another look14:58
juergbibenschubert: yes, lgtm, if all sources are already in source cache or if it's freshly pulled from remote source cache, there should be no need to call __cache_sources()15:02
juergbithat said, _source_cached() caches the result in a variable. so I don't know whether this optimization is noticeable. as I think we call _source_cached() already in the main process as part of should_fetch()15:03
*** lachlan has quit IRC15:03
*** lachlan has joined #buildstream15:06
lachlanHi, I'm going to create a test MR for bot testing please ignore it - this is for testing only.15:11
benschubertjuergbi: agreed, just think it makes more sense to don't over do :)15:24
juergbisure, looks fine to me15:24
tme5benschubert, sorry if i'm being dense, but i'm not sure what you mean, which methods aren't in the right format?15:33
benschuberttme5: https://gitlab.com/BuildStream/buildstream/merge_requests/1765/diffs?diff_id=67467263#d702e4184719212f721d6d7de27b95489ec90675_247_257 for example :)15:39
tme5oh, like change it to have a "Returns:" thing15:40
tme5i understand15:40
benschubertand the # method_name() at the start too please :)15:40
gitlab-br-botBenjaminSchubert merged MR !1768 (bschubert/cleanup-element-fetch->master: Small cleanups in `element._fetch`) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176815:48
*** lachlan has quit IRC15:48
*** lachlan has joined #buildstream15:48
tme5i put () even if it takes arguments? that seems to be what other things do15:49
tlater[m]tme5: Yup15:51
* tlater[m] wishes we could run pydocstyle15:51
tlater[m]But alas, that only works on actual doc comments15:51
tlater[m]If only we used those for non-public interfaces as well. Would make using IDEs and things so much nicer too.15:52
benschubert^ I definitely agree, but have other discussions on the ML before that :'D15:55
tlater[m]benschubert: I'm just day-dreaming, that would be a *really* rough refactor x)15:57
tlater[m]It'd mean coming up with a regex that somewhat reliably changes comment formats, double checking all of that and then fixing all our horribly outdated internal docs15:58
benschubertOr, a gentler approach with rewriting as we go but yeah, probably not worth the effort :)16:00
*** lachlan has quit IRC16:12
*** phildawson-ct has joined #buildstream16:13
*** santi has quit IRC16:15
*** lachlan has joined #buildstream16:17
*** lachlan has quit IRC16:20
*** lachlan has joined #buildstream16:27
benschubertWould someone know where I can find results of benchmarking we started doing in january? Like the earliest ones16:32
tlater[m]lachlan: Would know more, but afaik they're all in pipelines on the benchmarking repository16:39
tlater[m]Yes, we are using gitlab's caching as permanent file storage, we have been talking about moving that somewhere else.16:39
tlater[m]Or well, gitlab artifacts16:39
tlater[m]Those are different from caches, I suppose16:39
tlater[m]benschubert: ^16:39
Kinnisonbenschubert: I *think* I sent a zip out to the ML16:46
Kinnisonbenschubert: if not, remind me on Monday (I'm about to head out to the airport) and I'll see if I can dig it up16:46
tlater[m]Oh, the other benchmarking16:46
benschubertgreat thanks ! I'll try more digging16:46
tlater[m]o\16:46
benschubertthe earliest I found was on https://gitlab.com/BuildStream/buildstream/merge_requests/1070 but I know we had some before16:47
benschubertand I 'd like to know around debian-stack.bst too :)16:47
KinnisonHmm, oh, that stuff, hm16:47
KinnisonI was thinking you meant the profiling we brought to the Meetup in Jan16:47
tlater[m]benschubert: The earliest I know of is this one: https://gitlab.com/BuildStream/benchmarking/benchmarks/-/jobs/5189904816:48
tlater[m]But it's not that benchmarking, obviously16:48
tlater[m]This one's likely more useful: https://gitlab.com/BuildStream/benchmarking/benchmarks/-/jobs/5361194016:49
*** santi has joined #buildstream16:50
*** bochecha has quit IRC16:50
*** lachlan has quit IRC16:53
benschubertKinnison: the profiling should have this data actually now that I think about it16:53
benschubertno it doesn't :(16:55
*** lachlan has joined #buildstream17:06
*** phildawson-ct has quit IRC17:10
*** phildawson-ct has joined #buildstream17:16
*** lachlan has quit IRC17:21
*** lachlan has joined #buildstream17:24
*** lachlan has quit IRC17:25
*** phildawson-ct has quit IRC17:33
*** tiagogomes has quit IRC17:38
*** narispo has quit IRC17:40
*** narispo has joined #buildstream17:40
*** tme5 has quit IRC17:50
*** phildawson-ct has joined #buildstream17:54
*** lachlan has joined #buildstream17:54
*** santi has quit IRC17:57
*** phildawson-ct has quit IRC18:38
*** lachlan has quit IRC18:45
*** lachlan has joined #buildstream19:01
*** toscalix has joined #buildstream19:09
*** lachlan has quit IRC19:45
*** lachlan has joined #buildstream19:59
*** phoenix has joined #buildstream20:14
*** phoenix has quit IRC20:22
*** lachlan has quit IRC20:28
*** lachlan has joined #buildstream20:43
*** toscalix has quit IRC20:47
*** toscalix has joined #buildstream20:49
*** lachlan has quit IRC20:54
*** toscalix has quit IRC21:09
*** phildawson_ has joined #buildstream21:11
*** toscalix has joined #buildstream21:57
*** toscalix has quit IRC21:58
*** toscalix has joined #buildstream21:59
*** phoenix has joined #buildstream22:06
*** toscalix has quit IRC22:14
*** toscalix has joined #buildstream22:17
*** toscalix has quit IRC22:19
*** toscalix has joined #buildstream22:21
*** phildawson-ct has joined #buildstream22:23
*** phildawson_ has quit IRC22:24
*** phildawson-ct has quit IRC22:27
*** phoenix has quit IRC22:29
*** toscalix has quit IRC22:36
*** toscalix has joined #buildstream22:39
*** phildawson-ct has joined #buildstream22:41
*** phildawson-ct has quit IRC22:44
*** toscalix has quit IRC22:55
*** toscalix has joined #buildstream22:56
*** toscalix has quit IRC23:17
*** toscalix has joined #buildstream23:20
*** toscalix has quit IRC23:38
*** toscalix has joined #buildstream23:39
*** phoenix has joined #buildstream23:50
*** toscalix has quit IRC23:51
*** toscalix has joined #buildstream23:54
*** phoenix has quit IRC23:54

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!