ChanServ changed the topic of #bitcoin-core-dev to: Bitcoin Core development discussion and commit log | Feel free to watch, but please take commentary and usage questions to #bitcoin | Channel logs: http://www.erisian.com.au/bitcoin-core-dev/, http://gnusha.org/bitcoin-core-dev/ | Weekly Meeting Thursday @ 14:00 UTC | Meeting topics http://gnusha.org/bitcoin-core-dev/proposedmeetingtopics.txt
mudsip has quit []
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has quit [Ping timeout: 264 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 264 seconds]
andrew_mo_ has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
vysn has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 244 seconds]
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_m_ has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
benwestgate has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
andrew_m_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 244 seconds]
andrew_mo_ has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_m_ has quit [Ping timeout: 260 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_m_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 252 seconds]
preimage has quit [Quit: WeeChat 4.0.2]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
benwestgate has quit [Quit: Leaving.]
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
benwestgate has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
benwestgate has quit [Quit: Leaving.]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
jespada has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 244 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
mekster669493 has quit [Quit: mekster669493]
mekster669493 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
AaronvanW has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
angusp has quit [Ping timeout: 260 seconds]
utzig has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Ping timeout: 240 seconds]
angusp has joined #bitcoin-core-dev
utzig has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 264 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
test_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
flooded has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
Guyver2 has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 258 seconds]
andrew_mo_ has quit [Ping timeout: 258 seconds]
Guyver2 has left #bitcoin-core-dev [Closing Window]
AaronvanW has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Ping timeout: 260 seconds]
abubakarsadiq has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
flooded has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
test_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
dviola has quit [Quit: WeeChat 4.0.2]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_m_ has quit [Ping timeout: 260 seconds]
benwestgate has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
<achow101> #startmeeting
<josie> hi
<dergoegge> hi
<glozow> hi
<achow101> #bitcoin-core-dev Meeting: achow101 _aj_ amiti ariard aureleoules b10c BlueMatt brunoerg cfields darosior dergoegge dongcarl fanquake fjahr furszy gleb glozow hebasto instagibbs jamesob jarolrod jonatack josibake kallewoof kanzure kouloumos kvaciral laanwj LarryRuane lightlike luke-jr MacroFake Murch phantomcircuit pinheadmz promag provoostenator ryanofsky sdaftuar S3RK stickies-v sipa theStack TheCharlatan vasild
<theStack> hi
<pinheadmz> hi
<lightlike> hi
<stickies-v> hi
<hebasto> hi
<brunoerg> hi
<instagibbs> hi
<TheCharlatan> hi
<cfields> hi
<abubakarsadiq> hi
<furszy> hi
<_aj_> hi
<achow101> #topic package relay updates (glozow)
<glozow> For #26711, added a bench from instagibbs, will push with a few fixups soon. Positive feedback on approach so far.
<gribble> https://github.com/bitcoin/bitcoin/issues/26711 | validate package transactions with their in-package ancestor sets by glozow · Pull Request #26711 · bitcoin/bitcoin · GitHub
<glozow> For #28031, I've peeled a test off into #28199. I think it would be good to merge that first to help with reviewing the refactoring commits
<gribble> https://github.com/bitcoin/bitcoin/issues/28031 | Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module by glozow · Pull Request #28031 · bitcoin/bitcoin · GitHub
<gribble> https://github.com/bitcoin/bitcoin/issues/28199 | test: tx orphan handling by glozow · Pull Request #28199 · bitcoin/bitcoin · GitHub
<sipa> hi
<_aj_> 28031 has CI failures and needs rebase?
<willcl-ark> hi
andrew_mo_ has joined #bitcoin-core-dev
<_aj_> oh, 28199 is fine so do it first?
<instagibbs> 👍
<glozow> yeah. I was going to push my rebase but now I'm basically rewriting it 😅
<achow101> do you want to put 28199 on the board instead of 28031?
<glozow> oh yes please thanks
<glozow> forgot to do that
<achow101> don
<glozow> thanks!
<achow101> #topic BIP 324 updates (sipa)
preimage has joined #bitcoin-core-dev
<sipa> hi
<sipa> We're getting there.
<sipa> There are currently 3 PRs open.
<sipa> The ciphersuite one, the transport abstraction, and then the v2 transport itself
Chris_Stewart_5 has quit [Ping timeout: 252 seconds]
<sipa> With the last one, you can experiment with bip324 connections, though in a test-only form only (using -bip324=ip).
<achow101> ciphersuite seems to be getting review, looks close to merge
<darosior> (hi)
<sipa> bitcoin.sipa.be runs this code, if you need a remote to connect to (-addnode=NAME -bip324=NAME should suffice).
andrew_mo_ has quit [Ping timeout: 245 seconds]
<sipa> Going forward, I think I'm going to wait for the ciphersuite and transport abstraction to make progress first.
Chris_Stewart_5 has joined #bitcoin-core-dev
<instagibbs> session_id happens regardless of peer's behavior?
<instagibbs> (assuming within the ranges specified)
<sipa> After that, I'll probably drop the test-only -bip324 option from the v2 transport stuf, and implement actual service bit based decisions, maybe in a separate PR.
<sipa> @instagibbs It appears as soon as we know the other side has the same key we do.
<instagibbs> ill ask more offline :)
<sipa> It's empty ("") otherwise, regardless of v1 or v2.
<sipa> So if you see a non-empty session_id, the other side should show the same.
<sipa> sg
<achow101> #topic libbitcoinkernel updates (TheCharlatan)
<TheCharlatan> Opened PR #28186 for pruning the leveldb headers.
<gribble> https://github.com/bitcoin/bitcoin/issues/28186 | kernel: Prune leveldb headers by TheCharlatan · Pull Request #28186 · bitcoin/bitcoin · GitHub
<TheCharlatan> Besides that, no updates.
<cfields> 🎉
<cfields> nice :)
<achow101> #topic assumeutxo updates (jamesob)
<achow101> #27746 was merged, so I think we're on the big one now #27596
<gribble> https://github.com/bitcoin/bitcoin/issues/27746 | Rework validation logic for assumeutxo by sdaftuar · Pull Request #27746 · bitcoin/bitcoin · GitHub
<gribble> https://github.com/bitcoin/bitcoin/issues/27596 | assumeutxo (2) by jamesob · Pull Request #27596 · bitcoin/bitcoin · GitHub
<achow101> #topic Ad-hoc high priority for review
<achow101> anything to add or remove from https://github.com/orgs/bitcoin/projects/1/views/4
<MacroFake> Can I have #28087 It is a blocker for a bunch of CI stuff (also a bugfix in a strict sense)
<gribble> https://github.com/bitcoin/bitcoin/issues/28087 | ci: Use qemu-user through container engine by MarcoFalke · Pull Request #28087 · bitcoin/bitcoin · GitHub
<achow101> MacroFake: added
<MacroFake> (For example it would allow to run all CI tasks on a riscv machine)
<achow101> Or any other topics to discuss today?
<MacroFake> Thanks
<sipa> @MacroFake What is the status of CI, with cirrus changes?
<MacroFake> sipa: I think hebasto is moving macOS and Windows to Github CI
<MacroFake> The macOS seems ready, apart from the feedback I left
andrew_mo_ has joined #bitcoin-core-dev
<MacroFake> Also, it would need a maintainer to enable Github CI (if we want to run it on pull requests)
<fanquake> Yea the PR description in that PR needs updating to actually explain what’s its doing (dropping support for a release platform from CI), rather than making it look like just swapping infra
<sipa> So will nothing be on cirrus anymore?
<dergoegge> macOS and Windows on persistent workers is not an option?
<sipa> Or only self-hosted things?
Guest35 has joined #bitcoin-core-dev
<MacroFake> sipa: I think we'll keep Linux on Cirrus, but with persistent workers
<achow101> aren't persistent workers self hosted?
<MacroFake> yes, it is the same
<achow101> who's hosting them?
<sipa> Who is sponsoring those?
<MacroFake> Sponsors exist
<sipa> I guess I used the wrong terminology; they're running on our hardware, but it still goes through the Cirrus system for managing.
<sipa> Right?
<MacroFake> yeah, it is called cirrus-cli (or so)
<fanquake> dergoegge: it’s not clear if that’s possible, or just hasn’t been investigated before picking GitHub CI
<sipa> One question that came up in the libsecp meeting was what to do there, and if these cirrus persistent workers would also be available for libsecp256k1.
<MacroFake> dergoegge: macOS is possible, but I don't think anyone wants to work on that. Do you?
<MacroFake> sipa: They will
<dergoegge> MacroFake: no
<MacroFake> dergoegge: heh
<sipa> Ideally libsecp can follow whatever Bitcoin Core does, but only if that doesn't add costs/burden to people running it.
<MacroFake> sipa: Will libsecp use Github CI for Windows and macOS?
<sipa> I guess we'll have to.
<luke-jr> does this break CI for non-Core repos?
andrew_mo_ has quit [Ping timeout: 260 seconds]
<MacroFake> luke-jr: If you want to use Github CI, you'll have to enable it
<dergoegge> It would be good to have a migration plan, should the current host of the persistent workers no longer be willing to host
<luke-jr> I was thinking the persistent-workers thing
<achow101> persistent workers don't work for forks
<MacroFake> luke-jr: Ah, if you want to use a persistent worker, you'll have to add it to your Cirrus organization
<MacroFake> luke-jr: An alternative would be to create a pull request to use Github CI Linux boxes, where possible
<fanquake> I guess libsecp will also set up/run its own persistent workers for Linux too?
<luke-jr> MacroFake: does it no longer work with normal Cirrus CI workers?
<MacroFake> (but it is not possible for all tasks)
<sipa> I'm not super happy about relying (even) more on GitHub for infrastructure, but as Cirrus basically only works for GitHub anyway, it's not much of a change, and it seems there really aren't many alternatives (except very expensive ones).
<achow101> luke-jr: I think cirrus will cut you off or otherwise limit your ci usage
<MacroFake> luke-jr: That would work, with conditional tasks
<MacroFake> You have 40$/mo free capacity
<MacroFake> If you only do 4 pushes per month, it should be enough
<MacroFake> But I am not sure if this is something we need/should support
<achow101> it's nice for people to be able to run ci on their own branches before opening a pr
<MacroFake> achow101: FWIW, I have CI disabled on my branches in my fork
<sipa> Is setting up a (linux) CI persistent worker hard? If not, we can probably manage our own for libsecp.
<achow101> MacroFake: what's the reason for not migrating the linux tasks to github ci?
<luke-jr> achow101: yes, especially if we don't want people pushing to PRs for testing
<MacroFake> achow101: For some it is not possible
<MacroFake> achow101: For others: No one has opened a pull request to do it yet
<luke-jr> (IIRC someone was asked not to do that recently)
<fanquake> that’s mostly only when it’s clear the person isn’t even bothering to compile locally
<MacroFake> sipa: It is one line of bash: "cirrus worker run --labels type=lunar --token todo_get_the_correct_token"
<fanquake> and just keeps for pushing the the PR to see what works
<MacroFake> (and "curl -L -o cirrus https://github.com/cirruslabs/cirrus-cli/releases/latest/download/cirrus-$(uname | tr '[:upper:]' '[:lower:]')-amd64 && mv cirrus /usr/local/bin/cirrus && chmod +x /usr/local/bin/cirrus"
<sipa> FWIW, I personally use CI to run tests for my own PRs, for everything beyond what make check / test_runner doesn't do (sanitizers, linters, ...).
<MacroFake> )
<MacroFake> I think it is fine to use CI for debugging, as long as you do a local make check && test_runner.py
<luke-jr> in any case, it would be easier for people to do that if they don't need to spam PRs with updates ;)
<sipa> I'd like to run linters locally too, but haven't actually ever looked into what is needed for that.
<MacroFake> sipa: You'll need docker for the linters, but I don't run the either locally
<MacroFake> You can push and get a result from CI in 120 seconds or less
<fanquake> you can also skip Docker and use a venv, and just run them directly
<sipa> Right.
<MacroFake> fanquake: I wouldn't trust them. They are random pip packages from the internet and even raw x86 binaries (shellcheck)
<cfields> I think we're in kinda a bad state if most day-to-day devs aren't running these locally :\
<cfields> local-first tests used to be an explicit goal
<MacroFake> (Ok, I guess docker doesn't help if they are viruses)
<cfields> (I'm guilty as well)
<josie> also guilty of using CI to run the linters / sanitizers. been meaning to look into what it would take to run all this locally, but last time I tried, it wasn't super straightforward
<fanquake> cfields: unit and functional tests should be run locally. Linters and cross-compilation (CI) I’m sure are much less likely
<MacroFake> cfields: There is some stuff that just can't be run locally. Are you going to compile santizers+fuzz+clang-tidy for every commit locally?
<sipa> @cfields I agree it'd be better if more we easily/automatically doable locally.
<sipa> But also, if it's just linters, there isn't much trust involved.
andrew_mo_ has joined #bitcoin-core-dev
<fanquake> I think it’s also a case of time/resource restriction. With Docker, running any of the CI jobs locally is very straightforward
<MacroFake> If you trust docker, all you need to run is "DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter"
<cfields> MacroFake: I think it should be _possible_ for me to do all of that stuff on a commit that I consider scary and worthy of testing before pushing. Of course not for every commit.
<sipa> I should learn docker.
<MacroFake> cfields: It is possible
<cfields> (And of course it's possible. It's just currently cumbersome, which is the topic)
<fanquake> cfields: definitely entirely possible to do that locally
<fanquake> cumbersome at this point is install Docker and run 1 bash script
<MacroFake> cfields: I don't think it can be made easier or take less time. Compiling takes time
<josie> fanquake: the struggle for me was figuring out how to run *just* the jobs I want e.g. linting
<MacroFake> sipa: I mean with trust that the linters can corrupt your .git folder, for example
<josie> I'm sure it just involves some docker-fu involved, but I couldn't figure it out last time I tried. A few examples in the docs would probably go a long way
<fanquake> josie: the linters are a bit of an outlier yea, for all other CI jobs, you just pick the one you want, and call the bash script (with Docker installed) and it'll ru
<cfields> Ok, ranting is beyond the scope here. But personally, I'm hoping after CMake we can get some more checks integrated into the buildsystem for easier testing. Multi-config builds for example, would allow for sanitizer builds in parallel.
<MacroFake> josie: It is a single line of bash: "DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter"
<MacroFake> (taken from the docs)
<josie> MacroFake: ah, nice, I haven't checked the docs recently (or might have just missed this before)
<fanquake> cfields: I can't wait for CMake to magically give everyone more time and CPU heh
<sipa> @cfields That sounds great.
<MacroFake> I can convert the linter to the same syntax as the other tests, but probably not before next month
<sipa> (even if just aspirational)
<cfields> fanquake: for me: less docker == more time. Maybe I'm just old :)
andrew_mo_ has quit [Ping timeout: 260 seconds]
<MacroFake> fanquake: My laptop could use a new CPU
<MacroFake> apt install cmake
<sipa> looking forward to downloading some extra CPU
<luke-jr> XD
<sipa> Ok, I think that's enough for the CI (what turned out to be) meeting topic.
<hebasto> an cmake just integrates clang-tidy and iwyu...
<achow101> any other topics to discuss?
* MacroFake pizza
<luke-jr> too early for pizza <.<
bugs_ has joined #bitcoin-core-dev
<MacroFake> It 5pm in Malmoe
<sipa> @cfields I'm just a simple software engineer, all these dockers and virtual environments daze and confuse me.
<achow101> #endmeeting
* achow101 back to bed
<cfields> btw, checks are about to become even more complicated to run locally after #26296
<gribble> https://github.com/bitcoin/bitcoin/issues/26296 | ci: Integrate `bitcoin-tidy` clang-tidy plugin by fanquake · Pull Request #26296 · bitcoin/bitcoin · GitHub
* cfields ducks
<instagibbs> too early for pizza *scoff*
<fanquake> 🥲
<achow101> too early to be awake
<luke-jr> sipa: +1
<josie> next morning pizza is the best pizza.. its never too early for pizza
<luke-jr> achow101: how did we end up with such a meeting time? XD
<MacroFake> cfields: do they? It should be optional, right
brunoerg has quit [Remote host closed the connection]
<cfields> sipa: I wonder if we could create a new virtual environment to virtualize them all...?
<cfields> it's probably never been tried.
<MacroFake> fwiw, I usually run docker/podman in a VM
<cfields> MacroFake: I was mostly joking. Just another tool to have hooked up :)
<luke-jr> I don't really trust VMs much post-Spectre :/
<MacroFake> (vm on a remote machine)
<luke-jr> that's better :)
<MacroFake> But I don't trust ssh :(
<luke-jr> considering the recent ssh client vulnerability, I can't blame you :|
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
Guest35 has quit [Quit: Client closed]
andrew_m_ has quit [Ping timeout: 246 seconds]
<sipa> @[luke-jr] Why does Spectre matter? That may just leak private information to software running on the same machine, but in A CI setting I hope there is no private information.
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 244 seconds]
<vasild> I also use CI on my own repo to debug CI failures that only happen on CI and I can't repro locally (simplest case - compile failure only on windows)
brunoerg has joined #bitcoin-core-dev
<vasild> fwiw in MySQL development there were a few test branches that had full CI hooked on them and everybody was "push -f"ing to them
andrew_mo_ has quit [Ping timeout: 260 seconds]
<sipa> @Sjors What did you set for -bip324= ?
<sipa> Interesting; that must mean either some other people are running it with *, or are running the old bip324 branch.
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
puchka has quit [Ping timeout: 246 seconds]
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
puchka has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
andrew_m_ has quit [Ping timeout: 250 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 258 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
<luke-jr> sipa: well, this is why I have my development machine on separate hardware - but if it was all on teh same machine, the CI could potentially extract sensitive info from the host
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
dgenr8 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_m_ has joined #bitcoin-core-dev
Guest35 has joined #bitcoin-core-dev
Guest7 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 246 seconds]
jespada has quit [Read error: Connection reset by peer]
andrew_mo_ has quit [Ping timeout: 260 seconds]
jespada has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
Talkless has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 264 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
<jonatack1> Yes, the docker script in test/lint/README.md works for me, i.e. for the first run:
<jonatack1> DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
<jonatack1> and after that for runs after that:
<jonatack1> DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
<jonatack1> or rather
<jonatack1> docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
<jonatack1> This might not be recommended, but it's faster for me to run them locally with a bash alias like this one:
<jonatack1> alias lint="cd ~/bitcoin/bitcoin/ ./test/lint/lint-circular-dependencies.py ; ./test/lint/lint-python.py ; ./test/lint/lint-whitespace.py ; ./test/lint/lint-spelling.py ; ./test/lint/lint-python-dead-code.py ; ./test/lint/lint-python-mutable-default-parameters.py ; ./test/lint/lint-python-utf8-encoding.py ; ./test/lint/lint-assertions.py ; ./test/lint/lint-files.py ;
<jonatack1> ./test/lint/check-doc.py ; ./test/lint/lint-format-strings.py ; ./test/lint/lint-includes.py ; ./test/lint/lint-include-guards.py ; ./test/lint/lint-logs.py ; ./test/lint/lint-shell.py ; ./test/lint/lint-shell-locale.py ; ./test/lint/lint-submodule.py"
<jonatack1> it's dumb but it works :)
<jonatack1> (at least for most things that cause the lint CI to fail)
benwestgate has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
Guest35 has quit [Quit: Client closed]
andrew_m_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
Talkless has quit [Quit: Konversation terminated!]
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
jonatack1 has quit [Quit: WeeChat 3.8]
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_m_ has quit [Ping timeout: 246 seconds]
___nick___ has joined #bitcoin-core-dev
___nick___ has quit [Client Quit]
benwestgate has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
bugs_ has quit [Quit: Leaving]
andrew_m_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
mudsip has quit [Client Quit]
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_m_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
ghost43_ has quit [Ping timeout: 240 seconds]
ghost43 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
preimage has quit [Quit: WeeChat 4.0.2]
Compez has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
Chris_Stewart_5 has quit [Ping timeout: 250 seconds]
Chris_Stewart_5 has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
andrew_m_ has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
abubakarsadiq has quit [Quit: Connection closed for inactivity]
vysn has quit [Remote host closed the connection]
AaronvanW has quit [Quit: Leaving...]
Compez has quit [Ping timeout: 246 seconds]
conman has quit [Quit: Konversation terminated!]
test_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
flooded has quit [Ping timeout: 245 seconds]
andrew_m_ has joined #bitcoin-core-dev
Traca[m] has quit [Ping timeout: 245 seconds]
andrew_mo_ has quit [Ping timeout: 246 seconds]
achow101 has quit [Quit: Bye]
achow101 has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
achow101 has quit [Client Quit]
achow101 has joined #bitcoin-core-dev
bitdex has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]