Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
# Dependabot version updates: https://docs.github.com/code-security/dependabot/dependabot-version-updates
# Minor and patch updates are grouped per ecosystem; major updates open individual PRs.
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'monthly'
# One PR for all minor/patch bumps instead of one per package.
target-branch: 'main'
groups:
minor-and-patch:
update-types: ['minor', 'patch']
ignore:
# Types must track the Node runtime (26 LTS: CI, Docker, .nvmrc), not the latest Node.
- dependency-name: '@types/node'
update-types: ['version-update:semver-major']
# TypeScript 7 (native port) isn't supported by typescript-eslint / svelte-check yet.
# Remove once they declare support for typescript@7.
- dependency-name: 'typescript'
update-types: ['version-update:semver-major']

- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'monthly'
target-branch: 'main'
groups:
minor-and-patch:
update-types: ['minor', 'patch']

# Monthly checks for Docker base images
- package-ecosystem: 'docker'
directory: '/'
schedule:
interval: 'monthly'
target-branch: 'main'
groups:
minor-and-patch:
update-types: ['minor', 'patch']

- package-ecosystem: 'docker-compose'
directory: '/'
schedule:
interval: 'monthly'
target-branch: 'main'
groups:
minor-and-patch:
update-types: ['minor', 'patch']
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Drop the workbook in `data/` named like `Physioshark_Shark Log 2026-2027.xlsx` (
- `nightly-minor-deps-release.yml`: `npm-check-updates --target semver --cooldown 3`, full suite, then a patch release + image **only when a package that reaches the image moved** (tooling list in `scripts/nightlyRelease.mjs`; add new lint/test devDependencies there). It pushes to `main`, so branch protection needs a bypass for Actions.
- `refresh-external.yml`: weekly `fetch-external.mjs`; when `external/` changed it commits, tags a patch release and publishes the image.
- Partial refreshes (#159): each source writes into a staging folder (`external-refresh.mjs`) and replaces its files only when it finishes, so a failed source keeps its old snapshot and the others still ship. The fetch step may fail (`continue-on-error`); the workflow still commits and releases what changed, and the `report` job turns the run red afterwards (also when Docker was skipped). Don't fail the refresh job before publishing. Release notes list the updated files. The job allows 120 minutes: a full fetch took 48 on 4 Nov 2026, mostly NOAA ERDDAP stalls (each request times out after 120 s and retries). HTTP 429 waits at least a minute (or `Retry-After`), weather chunks are 10 s apart (Open-Meteo counts a long request with many variables as several calls; 1.5 s apart hit its per-minute limit on 2 Nov 2026), and historical ERDDAP 404s are retried; a final chunk's 404 means not yet published.
- Dependabot (`.github/dependabot.yml`): monthly checks for `npm` (minor/patch grouped; `@types/node` and `typescript` majors ignored until supported), `github-actions`, and `docker` (`target-branch: 'main'`). Format GitHub YAML with Prettier (single quotes) before running `pnpm lint`, and review upstream changelogs/migration guides before merging major-version dependency bumps.
- Dependabot (`.github/dependabot.yml`): monthly checks for `npm`, `github-actions`, `docker`, and `docker-compose` (`target-branch: 'main'`, minor/patch grouped into one PR per ecosystem and major updates opened as individual PRs). Format GitHub YAML with Prettier (single quotes) before running `pnpm lint`, and review upstream changelogs/migration guides before merging major-version dependency bumps.
- `ci.yml`: lint + check + unit tests, build + Playwright/axe, and a Docker build + smoke test (synthetic fixture) on both architectures.
- Runner is distroless `cc-debian13:nonroot` (uid 65532) with the build stage's Node binary: no shell. Debug with `node -e`.

Expand Down
Loading