Readit News logoReadit News
falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
itintheory · 4 days ago
I think the idea is GitHub actions calls "build.sh", or "deploy.sh" etc. Those scripts contain all of the logic necessary to build or deploy or whatever. You can run those scripts locally for testing / development, or from CI for prod / auditing.
falsedan · 3 days ago
oh that makes sense. I thought the OP was suggesting running CI locally instead of a workflow on remote runners
falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
hadlock · 4 days ago
We call ours "bombing-range"

We maintain an internal service that hosts two endpoints; /random-cat-picture (random >512KB image + UUID + text timestamp to evade caching) and /api/v1/generic.json which allows developers and platform folks to test out new ideas from commit to deploy behind a load balancer in an end-to-end fashion, it has saved countless headaches over the years.

falsedan · 3 days ago
a display of great wisdom, nice
falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
benrutter · 4 days ago
I think I agree with you that:

- everything else is trash.

- Github Actions changed the landscape.

- They're composable.

And I still hate github actions! Aside from anything else, they have one major flaw, which is there is no good development/test loop for writing them.

If you write most of your CICD in some kind of script, then you can run it locally, and do some basic checks around environment etc before deploying.

If you write most of your CICD in github actions or any alternative, you will be doomed to push 100 commits with messages like "maybe be?", "hmmm. . ." before eventually squashing them all down when it turns out several hours later that you mispelt an environment variable.

falsedan · 4 days ago
top tip: make a repo in your org for pushing all these nonsense changes to, test out your workflows with a dummy package being published to the repo, work out all the weird edge cases/underdocumented features of Actions

once you're done, make the actual changes in your real repo. I call the test repo 'pincushion'

falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
sunnyday_002 · 4 days ago
Pin the action's version via a digest and use Renovate for updates.

You can run all your CI locally if you don't embed your logic into the workflows, just use CI for orchestation. Use an env manager(Mise, Nix etc) to install tooling(you'll get consistency across your team & with CI) and call out to a task runner(scripts, Make, Task etc).

falsedan · 4 days ago
> You can run all your CI locally

if you can, you don't need CI. we can't (too slow, needs an audit trail)

falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
naikrovek · 4 days ago
Yep and the sky is blue and GitHub can charge for that too if they want to.

I don’t make policy at GitHub and I don’t work at GitHub so go ask GitHub why they charge for infrastructure costs like any other cloud service. It has to do with the queueing and assignment of jobs which is not free. Why do they charge per minute? I have no idea, maybe it was easiest to do that given the billing infrastructure they already have. Maybe they tried a million different ways and this was the most reasonable. Maybe it’s Microsoft and they’re giving us all the middle finger, who knows.

falsedan · 4 days ago
I don't think you're responsible for anything more than your own comments.

I added some context that contradicts your assumption that the increased fees were to cover hosting/storage/scheduling costs.

falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
PunchyHamster · 4 days ago
Not sure why you think forgejo is competition and not Gitlab.

> Or shortly summarized: lock in through pricing.

how would increasing price make you locked in more ?

> If you don't really care about the metadata all it pretty much takes is moving git repositories with their history.

moving PR/CI/CD/Ticket flow is very significant effort, as in most companies that stuff is referenced everywhere. Having your commits refer ticket ID from system that no longer exists is royal PITA

falsedan · 4 days ago
> Having your commits refer ticket ID from system that no longer exists is royal PITA

just rewrite the short links in your front-end to point to the migrated issues/PRs. write a redirect rule for each migrated issue/PR, easy

hard-coded links in commit messages are annoying, you can redirect in the front-end too but locally you'd have to smudge/clean them on local checkout/commit

falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
gaigalas · 4 days ago
If that's the case, why all the fuzz?

All the people complaining can just tap into this almost-free and acessible cheap resource you are referring to instead.

falsedan · 4 days ago
we don't need it. we need to run our CI jobs on resources we manage ourselves, and GitHub have started charging per-minute for it. apples and cannonballs
falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
gaigalas · 5 days ago
Publishing the page is only the last step. It's orchestrating the stuff THEN publishing it.

If you think that's easy, do it for me. I have some projects to migrate, give me the link of your service.

falsedan · 4 days ago
> If you think that's easy

I think it's cheap to maintain. let me know how many devs you have, how many runs you do, and how many tests (by suite) you have, and I can do you up a quote for hosting some Allure reports. can spread the up-front costs over the 3-year monthly commitment if it helps

falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
naikrovek · 4 days ago
> before the status page updates

That’s not hard, the status page is updated manually, and they wait for support tickets to confirm an issue before they update the status page. (Users are a far better monitoring service than any automated product.)

Webhook deliveries do suffer sometimes, which sucks, but that’s not the fault of the Actions orchestration.

falsedan · 4 days ago
I'm seeing wonky webhook deliveries for Actions service events, like dropping them completely, while other webhooks work just fine. I struggle to see what else could be responsible for that behaviour. it has to be the case that the Actions service emits events that trigger webhook deliveries & sometimes it messes them up.
falsedan commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
gaigalas · 5 days ago
What happens if I am, and now my developers suddenly start to produce changes much faster? Like, one developer now produces the volume of five.

Would you keep charging the same rate per head?

falsedan · 5 days ago
no, I'd cut the monthly seat cost and grow my user base to include more low-volume devs

but realistically, publishing a web page is practically free. you could be sending 100x as much data and I would still be laughing all the way to the bank

u/falsedan

KarmaCake day2144February 16, 2013
About
Wild and Tough internet guy
View Original