So I guess yes? You're saying implement this in the test engine?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Oct 15 2015
We have our own build step which just runs arc unit --everything --coverage --ugly in a working copy and then deals with the exit code and json returned.
We can use a branch name like "zzz_harbormaster" or something so the console doesn't clutter up too much.
Is running arc unit interactively ever desirable? Can you either disconnect the integration entirely, or have it no-op if the --everything flag is not present (if you rely on --target for build integration)?
Right. If you put it on multiple devices, we can't choose a single identity when you try to do anything with that key. I don't actually remember why we're even allowing that at all and suspect it's some legacy stuff from an early draft that no longer makes any sense.
So it's fine to reuse a key across multiple hosts which are registering as the same Almanac device, but I shouldn't reuse that key for different Almanac devices?
Quotes also don't work in Ponder.
No, it's more like this:
Oh... so a single instance can register as more than one Almanac device?
I guess that my question here is two-fold:
Yes, that works! It looks like it takes an object of one of these forms PHID-DREV-xxxx (a revision), PHID-DIFF-xxxx (a specific diff in that revision), or a PHID-HMBB-xxxx (a buildable).
Sorry, I don't quite follow...
I think I just configured remarkup.ignored-object-names wrong when I added S3, should be OK now going forward.
Try the diff PHID -- $diff->getPHID()?
Thanks, in the last option, what kind of thing should I pass into harbormaster.queryautotargets for the objectPHID? If I leave it blank I get
{"result":null,"error_code":"ERR-CONDUIT-CORE","error_info":"No such object \"\" exists."}My request was
{
"targetKeys": [
"arcanist.unit"
]
}WOWWWWWW! *happy dance*
So if I set that up to push a tag, will that be guaranteed to be on the remote before the build starts?
@epriestley: I tested your command on our instance of CircleCI and can confirm that it properly ran the build! It's a little weird because the build is listed under the branch "loldoesnotexist". Multiple builds to that same non-existent branch then will all sort of stack up there.
haha
sorry I broke CircleCI ;_;
It's the Bitcoin miner isn't it
You broke it
Oh, it's actually been ~down for ~4 hours? Roughly since I touched it earlier this afternoon. o.O
Specifically, this is workable because requests like this are handled in a desirable way (note loldoesnotexist branch, which does not exist):
Here's the specific flow that I think is workable:
@epriestley, @dpaola2: Yes! CircleCI is very branch-oriented, because it was built from the ground up to work well with Github Pull Requests. Across our codebases, we've tried a number of integrations:
Okay, it looks like we can pass any ref-like thing as revision and pretty much whatever we want as branch, and branch is just completely ignored if revision is present, so building tags isn't an issue. We should be able to do a proper integration here cleanly.
We don't have any integration yet of Phabricator with CircleCI. We do have Github + CircleCI which runs CI for every push to every branch. (E.g. https://circleci.com/gh/remind101/empire)
oh
You can currently configure a "Staging Area", which will cause arc diff to push to a tag in an arbitrary remote as a side effect. I generally think this is a better way forward than pushing to named branches in the "real" remote, because it doesn't imply an end state where your remote has "master", "develop", and a million named branches that you can't get rid of. T8092 and linked tasks discuss eventually moving beyond this and virtualizing these refs so they're invisible to users but visible to the build system (for hosted repositories), but just using a different remote is approximately as good today.
Oct 14 2015
It looks like that code isn't interacting with Harbormaster at all and is making an HTTP request to Changes directly from inside a Herald action. We (fairly strongly) discourage this as a way to communicate with external systems (see T5462 for discussion/rationale -- it's synchronous and blocks the UI, error handling can't happen properly, and there's no way to retry if it fails). There is no build target available during the execution of Herald actions and I can't really come up with a reasonable way to generate one.
Thanks -- it's hugely helpful to know that Phabricator already merges coverage!
My last comment overlapped with your response, so I've removed it. The solution you've suggested might be workable. I'd have to see how it works in practice.
Phabricator is not a good fit for your workflow, then, and never will be.
For example, here's a reasonable way you might perform these changes:
Increasing max_allowed_packet to a much larger number (say, 512MB) will likely resolve the 2013 error.
At my company, every revision has a corresponding branch, which, when pushed to our origin remote, kicks off a CircleCI build.
How much time does one allocate to reviewing that many lines of code? What are they looking for?
33554432
What is max_allowed_packet set to in MySQL?
Attempt to connect to root@localhost failed with error #2013: Lost connection to MySQL server at 'reading initial communication packet' is the first sign of trouble in the Apache error log. The change set is in the order of ~250K lines.
Differential just can't load the change set into its database.
Ok, perhaps I haven't stated my problem too well, apologies for this.
Yes, with caveats. See T7148 for discussion of why this is complex. Roughly, here's the state of the world today:
For those of you using CircleCI, what sort of integration are you hoping for?
Progress here:
It's just this thing, basically:
Can I make it look better, or something?
I'm broadly pretty happy with this after using it for a bit, at least for use cases we have today. It does feel a little bit labor intensive, but not overwhelmingly so, and all the stuff is pretty well linked up so once you get the hang of it you're almost always only a click away from wherever you want to be to do the next thing. It's also reassuring to be able to go to a blueprint and check what might be using it at a glance.
General progress update here: this now works, technically. Almost every part of it -- particularly, the UI -- is still total garbage for now, but if you ship a revision against rGITTEST up to this server you'll get a "Land Revision" button on it which has worked twice in the past and might work again. I would recommend extending the list of pasta varieties found in the pasta file if you want to try this (the button should appear and function without requiring the revision to be accepted for now, and everyone has write access to the repo anyway).
Yes it has. Thanks!
Yup! Much improved, thanks.
@adhirajsomani can you confirm this has been resolved?
@aj can you confirm this has been resolved?
@justinkao can you confirm this has been resolved?
@jhurwitz can you confirm this has been resolved?
Can you give some better insight on how you use Herald? I'd like to understand the core problem (hard to find rule X) vs. just randomly adding features that might not solve the problem.
@deuresti can you confirm this has been resolved?
@aj if you want to make a new task, please open with more details
Releeph will execute all the same core display code and have all the same ingrained workflow assumptions. If your changes are too big to review in Differential, they will also be too big to review in Audit, and Releeph will not have dedicated review tools.