*** rdale has quit IRC | 03:35 | |
*** rdale has joined #buildstream | 03:36 | |
*** slaf has quit IRC | 07:04 | |
*** slaf has joined #buildstream | 07:06 | |
*** slaf has joined #buildstream | 07:06 | |
*** slaf has joined #buildstream | 07:07 | |
*** slaf has joined #buildstream | 07:07 | |
Kinnison | benschubert: !1644 👍 | 07:33 |
---|---|---|
*** traveltissues has joined #buildstream | 07:38 | |
benschubert | Kinnison: thanks! | 08:25 |
*** tiagogomes has joined #buildstream | 08:40 | |
*** santix has joined #buildstream | 08:43 | |
*** toscalix has joined #buildstream | 08:48 | |
gitlab-br-bot | marge-bot123 merged MR !1643 (aevri/oldgit->master: testing/.../site: windows-friendly HAVE_OLD_GIT) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1643 | 08:52 |
*** bochecha has joined #buildstream | 08:56 | |
*** jonathanmaw has joined #buildstream | 09:20 | |
*** lachlan has quit IRC | 09:43 | |
*** lachlan has joined #buildstream | 09:59 | |
*** lachlan has quit IRC | 10:47 | |
*** lachlan has joined #buildstream | 10:52 | |
*** santix has quit IRC | 10:55 | |
*** santix has joined #buildstream | 10:56 | |
gitlab-br-bot | tlater opened MR !1645 (tlater/artifactserver-casd->master: Refactor casserver.py: Stop relying on the buildstream-internal `CASCache` implementation) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1645 | 11:59 |
*** santix has quit IRC | 12:46 | |
gitlab-br-bot | traveltissues opened issue #1171 (Review use of `shutil.rmtree`) on buildstream https://gitlab.com/BuildStream/buildstream/issues/1171 | 12:53 |
*** tiagogomes has quit IRC | 12:56 | |
*** tiagogomes has joined #buildstream | 12:56 | |
*** santix has joined #buildstream | 12:59 | |
tlater[m] | traveltissues: Do you have any advice for getting mypy to recognize grpc things as types? | 13:10 |
tlater[m] | For context: https://gitlab.com/BuildStream/buildstream/-/jobs/322574355 | 13:11 |
traveltissues | f2f | 13:24 |
benschubert | tlater[m]: we have them ignored normally in the setup.cfg becasue it is a pain :) | 13:25 |
benschubert | iff we want types, something akin to https://gitlab.com/BuildStream/buildstream/commit/cdf902eda8c2ff551b4b958a95460c942bcb2397 could be done | 13:25 |
tlater[m] | benschubert: They're not actually relevant, I was misunderstanding the "grpc things" as constructors | 13:26 |
tlater[m] | We have type aliases for the things those methods return | 13:26 |
tlater[m] | Notably, typing.SourceRef and directory.Directory | 13:26 |
tlater[m] | Hrm, no, they aren't those things after all | 13:32 |
* tlater[m] will give on type hinting these particular objects | 13:32 | |
tlater[m] | Shame, it really made it more clear what this code was doing | 13:32 |
gitlab-br-bot | cs-shadow approved MR !1644 (bschubert/yaml-tidying->master: Some tidying up of our yaml API) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1644 | 14:13 |
gitlab-br-bot | marge-bot123 merged MR !1644 (bschubert/yaml-tidying->master: Some tidying up of our yaml API) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1644 | 14:16 |
benschubert | Would people be fine with me tagging a new dev release? ^ was a breaking change on the YAML API and we haven't got a release in 4 weeks | 14:32 |
*** lachlan has quit IRC | 14:43 | |
* juergbi wouldn't mind | 14:47 | |
*** lachlan has joined #buildstream | 14:50 | |
gitlab-br-bot | BenjaminSchubert opened MR !1646 (bschubert/1.91.1->master: NEWS: update release notes for version 1.91.1) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1646 | 14:53 |
gitlab-br-bot | traveltissues approved MR !1646 (bschubert/1.91.1->master: NEWS: update release notes for version 1.91.1) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1646 | 14:54 |
benschubert | juergbi: ^ am I forgetting anything in the last 4 weeks? :) | 14:54 |
tlater[m] | It's already been 4 weeks? | 14:54 |
benschubert | yup... | 14:54 |
juergbi | benschubert: traveltissues: maybe mention that incremental workspace builds have temporarily been disabled? | 14:56 |
benschubert | Good point | 14:59 |
benschubert | updated | 14:59 |
benschubert | ah workspaces now work with RE right? | 15:00 |
juergbi | they should but I think it hasn't been verified yet | 15:04 |
benschubert | ok then I won't add it in the NEWS | 15:05 |
benschubert | good like that for you? | 15:05 |
tlater[m] | juergbi: refs/heads still seems to be used by the buildstream client to remove artifacts | 15:06 |
tlater[m] | Or did I misunderstand that conversation between you and benschubert? | 15:07 |
tlater[m] | Admittedly, that's the only use I can see at a glance, but it's a rather important one | 15:08 |
gitlab-br-bot | juergbi approved MR !1646 (bschubert/1.91.1->master: NEWS: update release notes for version 1.91.1) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1646 | 15:08 |
tlater[m] | Oh, no, bunch of other uses that are hidden behind _refpath() | 15:08 |
*** lachlan has quit IRC | 15:09 | |
juergbi | tlater[m]: artifact protos are not stored in that directory, though | 15:09 |
juergbi | what am I missing? | 15:09 |
juergbi | artifactcache/sourcecache might (ab)use a CASCache helper, but they don't actually use cas/refs/heads, afaict | 15:10 |
tlater[m] | juergbi: In stream some functions call CASCache.delete to delete artifacts | 15:11 |
tlater[m] | E.g. stream.py:722 | 15:11 |
juergbi | that's ArtifactCache.remove() | 15:11 |
tlater[m] | This will refer to refs/heads/artifact | 15:12 |
juergbi | no | 15:12 |
*** lachlan has joined #buildstream | 15:12 | |
tlater[m] | Ah, right | 15:12 |
tlater[m] | :| | 15:12 |
juergbi | we should remove that abused call | 15:12 |
* tlater[m] wonders how he got that function | 15:12 | |
* tlater[m] figures he'll just rip apart any method that relies on refs/heads and sees what breaks | 15:13 | |
tlater[m] | Hm, a lot of things brea | 15:17 |
tlater[m] | k | 15:17 |
tlater[m] | juergbi: Looks like I found it because ArtifactCache.remove calls CASCache.remove | 15:26 |
juergbi | yes but it overrides basedir | 15:26 |
juergbi | which is why I wrote 'abuse' above | 15:26 |
tlater[m] | It's enough to remove the default value for that | 15:27 |
tlater[m] | Do you think it would make sense to just call down to _remove_ref instead of going through the indirection? | 15:27 |
juergbi | tlater[m]: I think it would be cleaner to make remove_ref a utils function | 15:29 |
juergbi | it's a relatively generic thing. although, not sure what the best name would be | 15:29 |
tlater[m] | Hrm | 15:30 |
juergbi | and it doesn't actually use `self` | 15:30 |
juergbi | if it wasn't for the server backward compatibility, I might move it to BaseCache | 15:30 |
tlater[m] | I suppose that would work for `contains` as well, or perhaps a testutil | 15:30 |
tlater[m] | juergbi: The server doesn't call that at all anymore | 15:30 |
tlater[m] | It's using its own implementation | 15:30 |
juergbi | ah, then let's just move it to BaseCache | 15:31 |
juergbi | or do you have a better suggestion? | 15:31 |
tlater[m] | No, that seems good | 15:31 |
traveltissues | juergbi, are you ok with the changes on !1640 | 15:41 |
gitlab-br-bot | MR !1640: Workspaces via sourcecache MR 2 https://gitlab.com/BuildStream/buildstream/merge_requests/1640 | 15:41 |
*** santix has quit IRC | 15:44 | |
*** santix has joined #buildstream | 15:55 | |
gitlab-br-bot | marge-bot123 merged MR !1646 (bschubert/1.91.1->master: NEWS: update release notes for version 1.91.1) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1646 | 16:10 |
gitlab-br-bot | juergbi approved MR !1640 (traveltissues/1140-softreset->master: Workspaces via sourcecache MR 2) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1640 | 16:19 |
traveltissues | ty | 16:21 |
traveltissues | yes, it was why i wanted to avoid that flag, because of the number of places it needed to be added | 16:28 |
juergbi | traveltissues: I was initially expecting it to be a Loader constructor parameter, so we wouldn't have to pass it around, but that doesn't fit with how/when we're constructing the Laoder | 16:30 |
juergbi | theoretically we could have a method on the Workspace object to temporarily hide all workspaces instead | 16:30 |
juergbi | but such state is also not ideal | 16:31 |
traveltissues | yes | 16:31 |
traveltissues | unfortunately the callstack is fairly complicated | 16:31 |
juergbi | *Workspaces object | 16:31 |
juergbi | yes, which is why it's tempting to make it somewhat stateful instead | 16:32 |
juergbi | but in general I prefer the current stateless approach | 16:32 |
tlater[m] | aevri: ooi, how does !1638 break multiprocessing spawn? | 16:32 |
gitlab-br-bot | MR !1638: WIP: cascache: refactor, extract CASDProcessManager https://gitlab.com/BuildStream/buildstream/merge_requests/1638 | 16:32 |
* tlater[m] was hoping to use it instead of rolling his own CASDProcessManager in `casserver.py` | 16:33 | |
juergbi | it's also not actually failing the CI spawn test job | 16:36 |
aevri | tlater: aha, re-use, I like it :) the manager itself is fine, it's because cascache pickles it as a bool, instead of the object itself. I'll need to make the manager picklable instead. | 16:36 |
aevri | juergbi: that's the much bigger problem this uncovered, I've been looking at that this afternoon. | 16:36 |
juergbi | aevri: what part of the manager is needed in the subprocess? | 16:37 |
juergbi | for subprocesses buildbox-casd would be a sibling, so I'm surprised they need anything from the processmanager | 16:37 |
aevri | it's actually never been testing the spawn path, I'm trying to figure out how much needs to be fixed :S | 16:37 |
juergbi | oh :-/ | 16:37 |
aevri | yeah | 16:37 |
tlater[m] | Fair enough | 16:38 |
aevri | I get the impression that as long as we can share the connection string, then it'll all work out. For now I'm focused on the 'not testing any spawning' thing :) | 16:38 |
tlater[m] | Yeah, that's definitely higher priority ;) Ta aevri | 16:39 |
aevri | hehe sure thing | 16:39 |
juergbi | ah, connection string. that makes sense | 16:42 |
*** santix has quit IRC | 16:49 | |
*** adds68 has quit IRC | 17:16 | |
*** ikerperez has quit IRC | 17:16 | |
*** qinusty has quit IRC | 17:16 | |
*** jonathanmaw has quit IRC | 17:20 | |
*** tiagogomes has quit IRC | 17:22 | |
*** lachlan has quit IRC | 17:22 | |
*** lachlan has joined #buildstream | 17:27 | |
gitlab-br-bot | marge-bot123 closed issue #1140 (Follow-up from "workspaces via sourcecache 1" - workspace.init_workspace should raise a SourceError) on buildstream https://gitlab.com/BuildStream/buildstream/issues/1140 | 17:30 |
gitlab-br-bot | marge-bot123 merged MR !1640 (traveltissues/1140-softreset->master: Workspaces via sourcecache MR 2) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1640 | 17:30 |
benschubert | https://gitlab.com/BuildStream/bst-plugins-experimental/merge_requests/48 for adapting to 1.91.1 :) | 17:36 |
*** traveltissues has quit IRC | 17:38 | |
*** narispo has joined #buildstream | 18:24 | |
*** narispo has quit IRC | 18:30 | |
*** narispo has joined #buildstream | 18:30 | |
*** lachlan has quit IRC | 18:41 | |
*** lachlan has joined #buildstream | 18:48 | |
*** bochecha_ has joined #buildstream | 18:56 | |
*** bochecha_ has quit IRC | 18:58 | |
*** toscalix has quit IRC | 19:02 | |
*** lachlan has quit IRC | 19:08 | |
*** lachlan has joined #buildstream | 19:10 | |
*** narispo has quit IRC | 19:12 | |
*** narispo has joined #buildstream | 19:12 | |
*** narispo has quit IRC | 19:16 | |
*** narispo has joined #buildstream | 19:16 | |
*** narispo has quit IRC | 19:40 | |
*** narispo has joined #buildstream | 19:40 | |
*** lachlan has quit IRC | 20:06 | |
*** narispo has quit IRC | 20:09 | |
*** narispo has joined #buildstream | 20:10 | |
*** narispo has quit IRC | 21:50 | |
*** narispo has joined #buildstream | 21:50 | |
*** narispo has quit IRC | 22:00 | |
*** narispo has joined #buildstream | 22:01 | |
*** narispo has quit IRC | 22:45 | |
*** narispo has joined #buildstream | 22:45 | |
*** narispo has quit IRC | 23:00 | |
*** narispo has joined #buildstream | 23:00 | |
*** narispo has quit IRC | 23:13 | |
*** narispo has joined #buildstream | 23:14 | |
*** narispo has quit IRC | 23:17 | |
*** narispo has joined #buildstream | 23:18 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!