Operational Procedures
This document outlines the standard operating procedures for maintaining and hardening this repository.Verification Matrix
All pull requests and hardening passes must pass the following verification gates:Auto-fix & Improvement Policy
Allowed Automatic Fixes
- Lint & formatting fixes (
prettier,eslint --fix). - Test repairs (fixing selectors, assertions, mocks).
- Small product bugfixes where tests prove a regression.
- Small, measurable UX and performance micro-optimizations.
- Adding or tightening smoke tests and improving build scripts.
Disallowed
- Large refactors, schema/API changes.
- Adding new external services or dependencies without approval.
- Committing secrets.
- Removing tests or masking failures.
Hardening Workflow
- Inventory & Diagnose: Check current state, run verification matrix.
- Iterative Remediation: Fix failures using the allowed policy.
- Proactive Improvement: Implement small, high-impact improvements.
- Deliver Green PR: Submit fully-tested changes.
Windows release assets
Windows installers use the existing manual Deploy Web App workflow. Creating a tag creates a draft release; it does not build or attach an installer. Before publishing a release that advertises Windows support:- Wait for the matching draft GitHub release to exist.
- Run Deploy Web App from the release commit with the matching
taginput (for example,v1.5.0) and build_windows_installer enabled. Choose the deployment environment intended for that release. - Verify that
QuestarrSetup-<version>-windows-x64.exeand its.sha256file are attached to the matching release. The version comes frompackage.jsonon the workflow’s selected ref, so it must match the release. - Publish the release only after verifying its assets.
Weekly development pre-releases
.github/workflows/weekly-release.yml runs every Monday at 06:00 UTC (and on demand from the Actions tab). If main has new commits since the last tag it:
- tags
mainasv<next patch>-dev.<YYYYMMDD>(for examplev1.6.0-dev.20261019); - publishes a GitHub pre-release whose notes list the merged pull requests (security and dependency fixes first) any commit pushed straight to
main, and a closing list of the contributors (PR authors and direct committers, bots excluded); - dispatches the Deploy workflow for the
devenvironment, which pushesghcr.io/doezer/questarranddoezer/questarrimages tagged with the release tag,weekly(moves only when a new pre-release is built; follow it to stay on the weekly build) anddev(moves with the daily dev build) (multi-arch), built from the tag.latestis only moved by production deployments.
vX.Y.Z tag, which creates a draft release from docs/CHANGELOG.md (release.yml ignores -dev. tags).
The optional Windows installer takes its file name and version from package.json, not from the pre-release tag.
A second run on the same day gets a .2 suffix (-dev.20261019.2). A run that fails after pushing the tag resumes on the next run (the tag has no release yet).
The release is published as soon as the image build is dispatched, without waiting for it. If that build fails, run Deploy Web App manually with environment dev and the pre-release tag (leave weekly unchecked unless it is the newest pre-release).
Registry retention
The daily dev build prunes GHCR (deploy.yml): versions tagged only test-sha-* and untagged versions older than 15 days are deleted. Weekly images are not affected, because they always carry their dated tag (v1.6.0-dev.20261019). The flip side is that those dated tags are never purged automatically and pile up at roughly one multi-arch image per week; delete old ones by hand from the package page when needed. Docker Hub is not pruned by any workflow.