- Remove AddCheckRunIdToJobContext flag gate from job context hydration.
The flag is permanently force-true server-side (acquirejobhandler.go:1658).
The server controls what to send via its own feature flags.
- Add owner/repo format validation to DeriveWorkflowRefComponents()
- Add tests for PR merge refs, tag refs, invalid repo format, and
.github repo names
- Update check_run_id flag-disabled test to reflect always-copy behavior
Fixes incorrect parsing for repos named .github (e.g. octo-org/.github).
The old /.github/ marker would match too early, deriving the wrong
repository name. Also treats empty-string fields as unset during derivation.
Adds typed C# accessors for workflow_ref, workflow_sha, workflow_repository,
and workflow_file_path to JobContext. Includes DeriveWorkflowRefComponents()
to derive repository and file_path from workflow_ref if not sent by server.
Not strictly required — the run-service already sends all 4 fields and the
existing blanket copy populates them in expressions. This is a code quality
improvement for typed access and a fallback safety net.
Part of ADR 10024 / c2c-actions#10025