Skip to content

chore(ci): pause copier-update cron during fleet-sync - #420

Closed
pvliesdonk wants to merge 1 commit into
mainfrom
chore/pause-copier-cron
Closed

pvliesdonk wants to merge 1 commit into
mainfrom
chore/pause-copier-cron

Conversation

@pvliesdonk

Copy link
Copy Markdown
Owner

Temporarily comment out the Monday 06:00 UTC cron so fleet-sync PRs don't race with bot runs. Reverted once the fleet is aligned to template v1.1.5 — see copier-sync plan in fastmcp-server-template repo.

Temporarily comment out the Monday 06:00 UTC cron so fleet-sync PRs
don't race with bot runs.  Reverted once the fleet is aligned to
template v1.1.5.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@claude

claude Bot commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @pvliesdonk's task in 1m 6s —— View job


Code Review

  • Read changed file and analyze diff
  • Assess YAML validity and GitHub Actions behavior
  • Post review

Summary: One-line change that comments out the Monday 06:00 UTC cron trigger in .github/workflows/copier-update.yml, leaving workflow_dispatch intact for manual runs.


Findings

⚠️ Potential issue: empty schedule: key

With the single list item commented out, the schedule: key has no children and evaluates to null in YAML:

on:
  schedule:
#     - cron: "..."   ← only entry removed
  workflow_dispatch:

GitHub Actions schema-validates the on: block and requires schedule to be a non-empty sequence when the key is present. A null/empty schedule: can cause a workflow parse error that also disables the workflow_dispatch trigger — the opposite of what's intended.

Safer approach — comment out the key itself too:

on:
  # schedule:
  #   - cron: "0 6 * * 1"  # Monday 06:00 UTC — TEMPORARILY PAUSED (2026-04-22), re-enable post fleet-sync
  workflow_dispatch:

This is unambiguous YAML and GitHub Actions will only see workflow_dispatch.

Minor: double comment artifact

The comment line ends with # Monday 06:00 UTC — a leftover fragment from the original inline comment that got carried through:

#     - cron: "0 6 * * 1"  # TEMPORARILY PAUSED ... resumed in a follow-up PR  # Monday 06:00 UTC

The trailing # Monday 06:00 UTC is redundant; the date/context is already captured in the longer comment.


Overall

The intent is correct and the approach (pause cron, preserve manual dispatch, revert in a follow-up PR) is the right call for this situation. The only actionable concern is the empty schedule: key — worth fixing before merge to ensure workflow_dispatch remains functional during the pause period.

Note: I'm unable to edit .github/workflows/ files directly due to GitHub App permissions. The fix is a one-liner in .github/workflows/copier-update.yml: comment out line 12 ( schedule:) alongside line 13.

@pvliesdonk

Copy link
Copy Markdown
Owner Author

Closed as unnecessary — fleet-sync PRs will land within hours, not days, so no cron racing risk.

@pvliesdonk pvliesdonk closed this Apr 22, 2026
@pvliesdonk
pvliesdonk deleted the chore/pause-copier-cron branch April 22, 2026 18:16
pvliesdonk pushed a commit that referenced this pull request Aug 18, 2026
…ry release PR

One copier update, no hand pass needed: the only conflict was an
insertion-position marker in the flow-contract suite (empty 'before'
side; the template's four new notes tests kept). Release Prepare now
drafts docs/releases/<minor>.md onto the prep branch via the callable
notes workflow (fastmcp-server-template#419/#420), so the upcoming
4.0.0-rc.2 release PR — and every tag after it — carries its own
notes; the post-stable drafting trigger, pending-marker body upgrade,
and docs release-deploy overlay are gone with the model that needed
them. CLAUDE_CODE_OAUTH_TOKEN is already present (the review workflows
use it), per the v5.1 UPGRADING checklist.

Verified: 3334 passed / 20 skipped (33 in the flow-contract suite),
actionlint clean on the five touched workflows, pre-commit incl. Vale
green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QHH41hbWNyk57DDYree1ha
pvliesdonk added a commit that referenced this pull request Oct 6, 2026
## Summary

Staging release notes (`docs/releases/next.md`, mode `prepare-next`) for
the next release from `main`.

- **Range:**
[`v5.0.0...b2b4c9d`](v5.0.0...b2b4c9d),
37 commits, 31 PRs. The watermark is set to
`b2b4c9d94f715fa2cb8923d0093e2638a39b7007`.
- **Identity:** `next`. No target is tagged. The range carries one
`feat:` (#1727), so plain Release Prepare computes **5.1.0**, not the
patch the roadmap planned for 013. The page names no version; which
number ships is for the maintainer to decide.

Refs #1665, refs #1725.

## Evidence

Every claim on the page links its issue or PR inline. To review, follow
the links; there is nothing to reconstruct. Research went one pass per
theme, each walking commits → PRs (`commits/{sha}/pulls`) → closing
issues (GraphQL `closingIssuesReferences`) → parent epics, plus code at
both refs. Points worth checking specifically:

- **#1727 / #1725:** the quotes are verbatim from the body of #1725,
which @mikebronner (CONTRIBUTOR) wrote. The issue footer says it was
generated by Claude Code under that account. The maintainer's only words
on #1727 are a review request, so the page attributes no maintainer
judgement.
- **Upgrading step 1 (#1731):** verified in `_assembly.py`. An explicit
provider without `EMBEDDINGS_PATH` now resolves; auto-detection still
needs an explicit `EMBEDDINGS_PATH`.
- `.claude-plugin/plugin/.mcp.json` and
`packaging/mcpb/manifest.json.in` pass `EMBEDDING_PROVIDER` and no index
or embeddings path. Bundle and plugin users who filled in the provider
therefore embed again at every launch.
  - `compose.yml` sets both paths, unchanged since v5.0.0.
- The billed re-embed and the one background keyword rebuild come from
the research brief's reading of `domain.py` and
`indexing/coordinator.py`. I did not run them.
- **Upgrading step 2 (#1721):** the copy and logging behaviour comes
from `vault.py` at the range end. The research agent also ran the copy
locally.
- **Upgrading step 3 (#1707):** `compose.yml` changed from
`${…SOURCE_DIR:?…}` to `${…SOURCE_DIR:-./vault}`.
- **State, "the text index is not rebuilt":** `INDEX_SEMANTICS_VERSION`
is unchanged in the range (10).
- **Advisories:** urllib3 GHSA-8988-9cw3-xx77, GHSA-vxq7-64xx-v4gw and
GHSA-gh4c-6fx4-qh6g (#1687, #1688); pyjwt advisories fixed by #1674.
Nothing in `src/` imports urllib3 or requests. Bearer/OIDC verification
goes through fastmcp's `JWTVerifier` (joserfc), not pyjwt. The urllib3
path that remains is fastembed's model download.
- **`get_server_info` `protocol` block:** from [fastmcp-pvl-core
v10.2.0](https://github.com/pvliesdonk/fastmcp-pvl-core/releases/tag/v10.2.0)
and PR #420. It reaches this server through `wire_middleware_stack` and
`register_server_info_tool`.
- **Template v10.2.0 → v11.1.4:** the only part an operator sees is the
docs-site restructure, which the Documentation section covers.
Dockerfile and compose changes are comment paths only. SonarQube
replacing Codecov (#1657) is CI-only and left out.

## Breaking-change classification

No commit in the range carries `!`, and I agree.

- **Import surface:** `tests/public_import_surface.txt` is identical at
both refs.
- **Operator surface:**
- `.env.example` adds one variable, `REPORT_UNRESOLVED_LINKS`, off by
default.
- The `STATE_PATH` default moves, but the server migrates the file
itself and the format is unchanged.
  - The `EMBEDDINGS_PATH` default is new.
  - Compose `SOURCE_DIR` is now optional.
- None of these needs a step before an upgraded server starts, so none
earns `!`.
- #1731 changes cost and data flow for one configuration. It is the
first Upgrading step and is on the Security posture line.
- **Library:** `VaultSettings.effective_state_path` now returns `Path |
None` instead of `Path`, and it shipped in 4.2.0. `VaultSettings` is not
in the guarded root import surface, and #1721's PR body records the
change as non-breaking. Flagged here only so the maintainer can confirm.
- **MCP surface:** no tool, prompt or argument was renamed or removed.
The example `zettelkasten` prompt is now tagged `write`.

## Docs-staleness candidates (observations)

- `docs/upgrade/index.md`, "Where that state lives": says the state copy
means "nothing is indexed or embedded again". That is true for the state
file, but a deployment covered by Upgrading step 1 does embed on its
first start, and #1731 did not touch this page.
- `docs/use/para.md`, around line 178: lists "write, edit, append and
fetch" as carrying `conventions`, while #1723 names `write`, `edit`,
`fetch` and `get_context`. [unverified which list is current]
- `packaging/mcpb/manifest.json.in` and the plugin install-screen text
("Leave empty to disable embeddings") don't mention that, without an
index path, setting a provider now re-embeds at every launch. Tracked
under #1728 (blocked on template#781).
- No guide under `docs/use/` mentions `REPORT_UNRESOLVED_LINKS`.
`docs/use/zettelkasten.md` sends readers to `get_broken_links()`, and
`docs/index.md` lists link features without the new setting.
- `examples/bearer-auth.env`, `examples/oidc.env` and the commented
`SOURCE_DIR` line in `.env.example` still show the container path
`/data/vault` as a host path (template#767).
- Section anchors on moved pages may not resolve after the redirects.
[unverified]

## Left out, and why

- **fastmcp 4.0.11**
([release](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11),
via Renovate #1719):
-
[PrefectHQ/fastmcp#5415](PrefectHQ/fastmcp#5415)
makes app-tool calls by hashed name honour the visibility and auth
checks. This server hides tools with `mcp.disable` (`READ_ONLY`,
`TOOLS_ALLOW`/`TOOLS_DENY`) and uses hashed app-tool names.
- If a hidden tool was reachable by hash in 5.0.0, that is a Security
posture item. I could not confirm it was reachable here, and no local
issue tracks it, so the page leaves it out. The maintainer may want to
verify and add it.
- **Template and maintainer machinery:** roadmap PRs (#1670, #1686,
#1715), template adoptions (as machinery), Renovate and Dependabot bumps
other than those named above, and #1735 (an internal reference under
`docs/design/`, no manifest change).
- **Intermediate docs states:** the 15 PRs of the docs migration are
described as the site now stands, not PR by PR.
- **The 010 doc fixes:** they are listed as "wrong in 5.0, corrected",
without the order they landed in.

## Read in code, not run

These claims come from reading the code at the range end; nobody ran
them for this PR:
- The per-start billed re-embed when there is no index path.
- The one background keyword rebuild when embeddings first turn on.
- The bundle and plugin re-embedding at every launch.
- A read-only server hiding the `zettelkasten` example. This is read
from its `write` tag.

## Gates

- `vale docs/releases/`: 0 errors, 0 warnings.
- `uv run mkdocs build --strict`: exit 0.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Agent-authored: Claude Code

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant