Mike (@mikerb95)CodeByMike
Back
/automatizacionesEngineering

What runs on its own.

6 continuous integration workflows, 14 scheduled tasks and the automations traffic itself triggers. Below is the last real result of each one, read from GitHub and from my own run log. It is not a description of how it ought to work.

runs · 24 h
538
green
73.2%
tasks with a pulse
12/14
silent right now
0

Each mark is a real run written to the log. Point at a row to read it.

Continuous integration

What wakes each workflow up?

Nothing reaches production without going through here. The post-deploy verification can roll back what was just published, on its own.

  1. Tests with coverage, build, end to end with Playwright and post-deploy verification.

    Test + BuildTests with coverage and build
    E2E (Playwright)Real browser against throwaway databases
    Verificar deploy + rollbackThree checks; two unhealthy ones roll backpush to main only
    on every push · on every pull requestdone

    The final stage waits up to 8 minutes for the health endpoint to report the commit that was just deployed, runs three checks and rolls back on its own if two of the three come back unhealthy. It also reports its metrics to the site dashboard.

  2. Securitysecurity.ymllast real · ok · 2 d ago

    Dependency audit and static analysis with CodeQL.

    on every push · on every pull request · weeklydone

    Beyond the push, it also runs by itself on Sundays, so a vulnerability published after the last commit does not have to wait for the next one.

  3. Accessibilitya11y.ymllast real · ok · 2 d ago

    Accessibility audit with axe over the public pages.

    on every push · on every pull requestdone
  4. DASTdast.yml

    Dynamic analysis with ZAP against the branch preview deployment.

    on every pull requeststays asleep

    Pull requests only: it needs a deployed site to attack, and that is the preview Vercel publishes per branch.

  5. Mutation testingmutation.ymllast real · ok · 6 d ago

    Injects faults into the code on purpose and checks whether any test notices.

    weekly · by handstays asleep

    Coverage says a line ran; this says whether breaking it gets caught. It runs on Sundays because it is expensive.

  6. Distribuir notadistribute-note.yml

    When an article ships, it announces it and pings the search engines.

    on every push · by handdone

    It only fires when the push touches `src/content/notes/`.

The run-through is illustrative; each row’s badge is its last real result on GitHub.

Scheduled tasks

The calendar, against the run log.

The plan I am on allows one run a day per task, so anything that needs more frequency is fired by an external scheduler against the same endpoint, with the same secret. Every authorized run is written down: a cron that stops firing does not produce an error, it produces silence.

TaskWhenSourceWhat it doesSilenceLast run
analista-matutino11:30vercelAn AI agent reviews the last 24 hours of security events and sends the summary to my phone.If it fails: Nobody reads the night with judgment: events are still recorded, just without a summary.16 h ago
resumen-semanalMondays 12:00vercelGathers the previous week, an AI writes it up as a short summary and the headline reaches my phone.If it fails: The week goes unsummarized; the numbers are still in each panel.5 d ago
backup03:00vercelDaily backup of the database.If it fails: The newest copy available to restore from keeps getting older.1 h ago
portal-demo-reseed04:00vercelReseeds the public demo database with fictional data.If it fails: The demo piles up whatever visitors left behind.21 min ago
monitor-rollup05:00vercelRolls up the day's probes into one row per monitor.If it fails: The uptime history stops being consolidated and reading it turns expensive.23 h ago
computo-rollup06:00vercelConsolidates the compute usage measured on each client project and warns if the account’s shared free quota is on track to run out.If it fails: Usage is still measured, but the current month stops reflecting it and quota warnings are not sent until the next pass.22 h ago
uptime-check07:00vercelUptime probe, certificate refresh, incident handling and history purge.If it fails: An outage stops opening an incident and nobody finds out.2 min ago
domain-check08:00vercelWatches domain expiry and warns once, without repeating itself.If it fails: A domain can expire with no warning at all.20 h ago
indexnow08:30vercelResubmits the sitemap to the search engines that support IndexNow.If it fails: New content takes longer to get indexed.19 h ago
invoices-overdue09:00vercelFlags overdue invoices and notifies.If it fails: An overdue invoice keeps showing up as current.19 h ago
uptime-checkevery ~5 mincron-job.orgThe same probe, at the frequency monitoring actually needs.If it fails: Monitoring resolution drops to one measurement a day.2 min ago
security-rollupevery ~15 mincron-job.orgAggregates the last hour of events, compares it against the baseline and applies automatic blocking.If it fails: Anomaly detection is left without aggregates to compare against.7 min ago
sena-recordatorio12:00cron-job.orgReminder from the apprenticeship-stage calculator.If it fails: The day's reminder is lost.16 h ago
marketing-envioevery 60 mincron-job.orgSends queued newsletter emails in batches, only within legally allowed hours and under the daily quota.If it fails: A launched campaign stays half-sent until someone presses "Send pending" in the panel.no record in 48 h · silent
ep-agendaevery ~10 mincron-job.orgChecks the apprenticeship instructor public booking page, pings my phone as soon as a slot opens and logs how long it stayed free. Every minute around the times new slots open.If it fails: Free slots go by unnoticed again, and the public log on /ep stops growing.1 min ago

Product automations

What traffic itself sets off.

These are fired by traffic itself, not by a calendar or a push.

Illustrative examples: each scene shows the mechanism, not a real event.

Opening and closing incidents

A failed probe opens an incident; the first one that comes back healthy closes it.

On every probe

Automatic abuse blocking

Unmistakably malicious intent blocks the source, with safeguards against blocking the infrastructure itself or the administrator, and a ceiling above which it warns instead of blocking.

Inline with the request, and on every hourly aggregation

Anomaly detection

Compares the closed hour against the historical baseline and flags whatever falls out of range.

As each hour closes

Portal fallback mode

If the database stops answering, the portal serves a versioned snapshot and says so; it turns itself off when the database returns.

When the database is detected as down

Post-deploy rollback

If the freshly published site does not answer healthy, the pipeline reverts to the previous version and warns.

After every production deployment

Retention purge

Old history is deleted in layers so the database does not grow without bound.

Inside the rollup crons