Greenstar Technology Service Network

What we would do first

    What changes

      For New York startups and research groups

      Turn the notebook into a job that runs every night

      Right now the Jupyter notebook runs from a laptop cron while the lid is open. We move its code into a job on a server in your cloud account or your lab's. Its output lands in Postgres. A check pages on-call when a run is late. On the handover date the runbook and every account are yours.

      Your two answers go into the form at the bottom of the page. Nothing is sent until you press Send there.

      nightly-sync

      cron
      0 2 * * *
      Period
      24 h
      Grace
      2 h
      Last ping
      Oct 25 02:14
      State
      Up

      What you own on the handover date

      The handover date goes into the plan in week 2. On that date this folder sits in your repo and our access ends. If a job is missing from it, the job does not run.

      runbook/your repo · main
      README.md
      What runs on which server. Who is on call this week.
      jobs/nightly-sync.md
      What the job reads and writes. How to rerun one night or backfill a week.
      checks.md
      Each check with its Period and Grace. Where its alert goes.
      schema.sql
      Every table, key and CHECK constraint. Changes go through a pull request.
      deploy.md
      One deploy path from main. How to roll back.
      access.md
      Cloud, repo, DNS, Postgres and the check service, each in your name. Our role and the date it is removed.
      incidents/
      One page per incident. What went Down, why, and what we changed.

      Last night's checks

      Each job pings its check when it finishes. A check knows two numbers and four states.

      Period
      How often a ping should arrive. 24 h for a nightly job.
      Grace
      How long past the Period we wait before calling it.
      Up
      The last ping came in on time.
      Late
      The Period has passed and Grace is still running. Nobody is paged yet.
      Down
      Grace ran out, or the job sent a fail ping. On-call is paged.

      We set the checks up on Healthchecks.io or Cronitor in your account. Healthchecks is open source and can run on your own server.

      checksOct 25 04:10 · specimen
      • nightly-syncUpPeriod 24 h · Grace 2 h · last ping 02:14
      • instrument-exportUpPeriod 1 h · Grace 20 min · last ping 03:58
      • weekly-reportLatePeriod 7 d · Grace 6 h · last ping Oct 18 00:30
      • partner-feedDownPeriod 24 h · Grace 1 h · last ping Oct 24 03:05
      partner-feed · logspecimen
      1. Ping. Up
      2. Period ends with no ping. Late
      3. Grace ends. Down. On-call paged.
      4. On-call acknowledges.
      5. The partner moved its SFTP folder. Job updated to the new path and rerun.
      6. Ping. Up
      7. One email to your team listing each check that went Late or Down overnight.

      A CHECK constraint and the row it refused

      The night's load goes into Postgres as one transaction. A row that breaks a rule stops the whole load. Nothing partial is written.

      Cause
      Station st-07 got a new logger. It wrote raw counts where the parser expected percent.
      Check
      The job sent a fail ping. nightly-sync went Down at 02:09 and paged on-call.
      Fix
      A conversion for that logger model in the parser. The night reloaded at 02:51.
      Charts
      No chart ever showed 412 percent soil moisture.
      schema.sqlspecimen
      CREATE TABLE readings (
        station_id text NOT NULL
          REFERENCES stations,
        read_at timestamptz NOT NULL,
        moisture numeric(5,2) NOT NULL
          CHECK (moisture BETWEEN 0 AND 100),
        PRIMARY KEY (station_id, read_at)
      );
      nightly-sync.logspecimen
      ERROR:  new row for relation "readings" violates check constraint "readings_moisture_check"
      DETAIL:  Failing row contains (st-07, 2026-10-06 01:50:00-04, 412.00).
      ROLLBACK

      Eight weeks from inventory to handover

      The specimen is a small team whose nightly job ran from a laptop cron. Partner labs download its CSV each week.

      Week 1 · inventory1 / 5
      Week 1inventory.md

      What runs where

      Nightly job
      A cron entry on one laptop. It runs when the lid is open.
      Database
      A SQLite file on a shared drive. No backup.
      Dashboard
      A Jupyter notebook, rerun by hand on Mondays.
      Keys
      An API key pasted into a notebook cell.
      Alerts
      None. Someone notices when a chart looks off.
      Readers
      Two partner labs download the CSV each week.

      Nothing moves in week 1. Your team reads this list and corrects it.

      Week 2plan.md · signed

      The plan

      Keep
      The parsing code, the notebook's charts and the CSV the partners use.
      Replace
      The laptop cron becomes a job on a small server in your cloud account.
      Move
      SQLite to Postgres. Each table gets a schema and CHECK constraints.
      Add
      A check per job. A line on the dashboard saying when it last loaded.
      Skip
      Kubernetes and a warehouse. Neither is needed at this size.
      Handover
      Week 8, written in now.

      The founder or PI signs it. A change to the plan changes this file first.

      Weeks 3 to 6hours since the last good ping

      Hours since the last good run

      72 h48 h24 h0 h MonSatMonSat laptop shut Friday to Monday before · laptop cron after · scheduled job Down at 26 h

      Before comes from the output files' timestamps. Nothing logged the runs. The long climb is the laptop shut over a weekend. After is the job on your server. Period 24 h plus Grace 2 h puts Down at 26 h, and it never got there.

      Weeks 6 to 8incidents/2.md · closed

      The first incident

      Paged
      02:31 on a Tuesday. A weekday run loaded zero new rows.
      Answered
      02:38, by our engineer on call.
      Cause
      The source changed its date format. The job's date filter matched nothing.
      Rule
      The job counts new rows. Zero on a weekday sends the fail ping.
      Fixed
      The parser reads the new format. The missing day loaded by 03:20.
      Changed
      A date that does not parse now stops the load.

      The partners' Monday download had no gap.

      Week 8access.md

      Handover

      Runbook
      The runbook folder, merged to main by your engineer.
      On call
      A rota of people on your team. The checks page them.
      Accounts
      Cloud, repo, DNS and the check service in your name.
      Our role
      Removed on the date in the plan.
      After
      Keep us on call, or call us when you want a hand.

      Your engineer reruns one night from the runbook before we leave.

      Startups

      Your cloud account and your repo.

      Cloud
      Fly.io, Render, AWS or Google Cloud, opened by you. We get a role you can remove.
      Postgres
      Neon, Supabase or a server you already run.
      Code
      Pull requests to your repo. Your engineer merges.
      Deploys
      One path, from main.
      Alerts
      To your on-call channel in Slack or by SMS.
      Skipped
      Anything that needs a platform team to keep alive.

      Research groups

      The cluster stays with research computing.

      Cluster
      GPU jobs keep running under your SLURM account and allocation.
      We build
      What feeds those jobs and where their results go.
      Instruments
      Files picked up from the PC beside the instrument as they are written.
      Repository
      Deposits to the one your DMS Plan names.
      People
      The PI signs. A postdoc or lab manager owns the runbook.
      Not ours
      University accounts, storage quotas, IRB and data-use terms.
      A researcher in a plaid shirt and blue gloves at a lab bench, his back to the camera, a microscope with a camera mounted on top beside a monitor plotting colored traces, a rack of tubes and a window onto a brick building
      Bench files start on the computer next to the microscope.

      Data plan text we draft with you

      Send us the funding opportunity and its due date. We write the parts of the plan that describe the pipeline. The PI edits and signs.

      NIH
      The DMS Plan in the format NIH now requires. We draft the elements on code, repositories and timelines, inside the word limits.
      NSF
      The two-page data management and sharing plan that goes with the proposal.
      Repository
      One named for each data type. The deposit is a step in the job.
      Reports
      Run history and incidents from the checks, for the progress report.
      Yours
      The science, the aims and the budget.
      Why
      NIH says it may make data sharing a term of later awards.

      SBIR and STTR Phase I builds

      Phase I
      It has to show feasibility. We build the pipeline the result depends on, in the company's accounts.
      STTR
      The company works with a research institution, often a university lab. We work for the company.
      Limits
      We stay inside each program's cap on work done outside the company.

      Send us the repo or the notebook

      1. Your note. A link to the repo or the notebook, where it runs and what is due.
      2. What we do first. We read the code and list what it touches. Files, keys, servers and the people who read its output.
      3. A written plan. What we keep, what we build, and the handover date. The build starts when you sign it.

      Or email [email protected]