Skip to content

feat: publish lifecycle forecasts in pull requests - #309

Merged
arminazimi merged 1 commit into
mainfrom
feat/110-forecast-action
Nov 16, 2026
Merged

arminazimi merged 1 commit into
mainfrom
feat/110-forecast-action

Conversation

@arminazimi

Copy link
Copy Markdown
Contributor

Closes #110
Closes #196
Closes #219
Closes #237
Closes #254
Closes #243
Closes #255
Closes #220
Closes #269
Closes #277
Closes #283

What changed

  • Add opt-in forecasts and a configurable horizon that defaults to six months.
  • Compare the exact PR base and head commits on the same UTC day. The job summary, sticky Offing comment, and calendar all use the events that the PR introduces or moves earlier.
  • Keep the summary and calendar on fork PRs while skipping comment writes. Calendar write failures leave a warning and the Markdown forecast.
  • Add recorded event and API fixtures, a least-privilege workflow, and documentation with a screenshot of a recorded job summary.

Checks CI cannot make

  • Tests added or updated for changed behavior
  • Changelog fragment added in changes/

Verification

  • npm run check
  • actionlint examples/workflows/forecast.yml
  • node --test dist/tests/action-forecast.test.js dist/tests/action-docs.test.js dist/tests/action-onboarding-baseline.test.js dist/tests/github-action-runtime.test.js

Notes for reviewers

  • The maintainer requested one pull request for the entire epic.
  • The sample targets the upcoming v0.2.0 release. The replay tests verify calendar bytes and the composite upload step configuration locally.

@arminazimi
arminazimi merged commit 36fd9c6 into main Nov 16, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment