Apache Foryの複数言語実装をプロファイルとベンチマークで分析し、シリアライズやデシリアライズの性能低下を特定して改善するスキルです。
- シリアライズの遅さを調べて改善したいとき
- 参照版からの性能低下を特定したいとき
- フレームグラフや性能CIの失敗を調べたいとき
Apache Foryのリリース候補を準備し、バージョン更新、RCタグ作成、JVM成果物の公開、ソース配布、投票メールの下書きまで進めるスキルです。
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email. Use when creating or rerunning a Fory release candidate.
実行スコア 未検証
インストール方法を見るApache Foryのリリース候補(RC)を作るため、クリーンなリリースブランチからバージョンを更新し、RCタグを作成してJVM成果物を公開します。続いてASF向けソースアーカイブを生成し、署名とチェックサムを確認したうえでSubversionへアップロードします。タグ起点のワークフローやMavenステージングの状態も確認し、必要な出力をそろえて投票メールの下書きを作成します。途中で失敗した場合は、同じ候補のまま再開できるか、内容変更を伴う新しいRCが必要かを切り分けます。
Foryの新しいリリース候補を準備するときや、中断したリリース作業を再開するときに使えます。成果物、タグ、公開先の状態を照合しながら手順を進めたいリリース担当者にも向いています。
Apacheリポジトリ、GitHub Actions、Mavenステージング、ASF Subversionなどへのアクセスが必要です。担当者名、Apacheメールアドレス、GPGフィンガープリント、Subversion作業コピーの設定も使います。投票メールは依頼がない限り送信しません。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use the repository release script for the release work. Do not manually reproduce its version-bump, JVM-publication, or source-build logic, and do not add unrelated test runs.
Collect these values before starting:
release_version: final version without v or an RC suffix, such as 1.7.0.rc: RC suffix, such as rc3.previous_version: previous release tag version, such as 1.6.1.Load release-manager details from .local/fory-release.env. If it does not exist, ask for the following values once, create the ignored local file, and continue. Never commit this file.
FORY_RELEASE_MANAGER_NAME="..."
FORY_RELEASE_APACHE_EMAIL="..."
FORY_RELEASE_GPG_FINGERPRINT="..."
FORY_DIST_DEV_WC="..."
Load the cached values and derive the release values:
repo_root="$(git rev-parse --show-toplevel)"
release_config="$repo_root/.local/fory-release.env"
test -f "$release_config"
. "$release_config"
release_branch="releases-${release_version}"
rc_tag="v${release_version}-${rc}"
dist_version="${release_version}"
release_manager_name="${FORY_RELEASE_MANAGER_NAME:?missing release manager name}"
apache_email="${FORY_RELEASE_APACHE_EMAIL:?missing Apache email}"
gpg_fingerprint="${FORY_RELEASE_GPG_FINGERPRINT:?missing GPG fingerprint}"
svn_wc="${FORY_DIST_DEV_WC:?missing ASF Subversion working-copy path}"
Use the same dist_version in Subversion and the vote email.
If the release discussion URL was not supplied, search the
Fory development-list archive
for the exact release version and a [DISCUSS] subject. Use the deterministic
helper, which accepts exactly one root discussion thread:
discussion_url="$(
python3 .agents/skills/fory-release/scripts/find_discussion.py \
"$release_version"
)"
Open the resulting URL and verify that its subject and body discuss the exact
release_version. If the automated search finds zero or multiple roots, use
the archive UI to search the same exact version and [DISCUSS]; ask the release
manager only if the result remains absent or ambiguous. When a URL is supplied,
open and verify it instead of assuming it matches this release.
Run from the repository root. Clean means no staged, modified, or untracked files.
test -z "$(git status --porcelain)"
test "$(git remote get-url apache)" = "git@github.com:apache/fory.git"
git fetch apache main --tags
git switch -c "$release_branch" apache/main
test -z "$(git status --porcelain)"
For a new release branch, stop if the branch already exists or either cleanliness check fails. To resume an existing candidate, follow Release retries instead of recreating its branch or tag. Do not remove or hide user files to make the check pass.
python3 ci/release.py bump_version -version "$release_version" -l all
git diff --check
git status --short
Review the version diff. Use this command directly; do not substitute another version-bump workflow.
git add -u
git commit -m "prepare release for ${release_version}"
test -z "$(git status --porcelain)"
release_commit="$(git rev-parse HEAD)"
Stage only the version changes produced by the release script.
Before creating a new RC tag, confirm that neither the local nor remote tag already exists. Never move, delete, or overwrite a published RC tag. Retrying a workflow for its existing tag does not create a new candidate; follow Release retries.
test -z "$(git tag --list "$rc_tag")"
test -z "$(git ls-remote --tags apache "refs/tags/${rc_tag}")"
test "$(git rev-parse HEAD)" = "$release_commit"
git tag "$rc_tag" && git push apache "$rc_tag"
test "$(git rev-parse "${rc_tag}^{commit}")" = "$release_commit"
The tag starts the ecosystem package-release workflows. Do not wait for them here: start JVM publication immediately so the remote workflows and JVM staging run in parallel. If a later step fails, diagnose it using Release retries before deciding whether the candidate needs to change.
python3 ci/release.py publish_jvm
The command publishes from a temporary worktree at the committed HEAD and
removes that worktree afterward. Record the distinct Java/Kotlin and Scala
Nexus staging repository IDs from the output:
java_kotlin_staging_id="orgapachefory-..."
scala_staging_id="orgapachefory-..."
test -n "$java_kotlin_staging_id"
test -n "$scala_staging_id"
test "$java_kotlin_staging_id" != "$scala_staging_id"
After recording both IDs, read and follow
Nexus staging closure. It contains the
credential rules, authenticated state checks, /bulk/close request, HTTP 201
gate, close polling, failure inspection, and anonymous artifact checks. Do not
close any repository ID that was not recorded from this publication. Keep both
repositories closed during the vote; do not promote them until the vote passes.
After JVM publication and Nexus closure, inspect the workflows that have been running since the tag was pushed. Filter by the tag rather than only by commit SHA so main-branch runs at the same commit are not mixed into the result. By default, wait for every tag-triggered run and require successful conclusions:
python3 .agents/skills/fory-release/scripts/check_tag_workflows.py \
--repo apache/fory \
--tag "$rc_tag" \
--commit "$release_commit" \
--watch
The helper re-queries by tag after waiting to catch later-created runs. A failed
run requires diagnosis, not an automatic RC increment. For a transient failure,
rerun only the failed jobs with gh run rerun <run-id> --repo apache/fory --failed,
then run the helper again for the same tag and commit.
If the release manager explicitly waives workflow monitoring for a particular RC, run
the same command with --allow-incomplete instead of --watch, and record the
snapshot IDs, states, and reason. Do not cancel the remote workflows or report
incomplete runs as successful.
Start from the clean release branch and build the exact RC tag. The build must
archive that tag without changing tracked files, creating commits, or moving Git
refs. Benchmark-specific attribution belongs in benchmarks/LICENSE, alongside
the benchmark sources excluded from the archive; do not rewrite the root
LICENSE during packaging.
test -z "$(git status --porcelain)"
before_build="$(git rev-parse HEAD)"
test "$(git rev-parse "${rc_tag}^{commit}")" = "$release_commit"
python3 ci/release.py build -v "$release_version" --rc-tag "$rc_tag"
test "$(git rev-parse HEAD)" = "$before_build"
test -z "$(git status --porcelain)"
test -f "dist/apache-fory-${release_version}-src.tar.gz"
test -f "dist/apache-fory-${release_version}-src.tar.gz.asc"
test -f "dist/apache-fory-${release_version}-src.tar.gz.sha512"
test "$(gzip -dc "dist/apache-fory-${release_version}-src.tar.gz" | git get-tar-commit-id)" = "$release_commit"
The build command verifies the generated PGP signature and SHA-512 checksum.
The archive must match a direct git archive of the RC tag, including its
embedded commit ID and unmodified root LICENSE.
Use a clean, updated working copy of the ASF development distribution repository.
test -d "$svn_wc/.svn" || svn checkout https://dist.apache.org/repos/dist/dev/fory "$svn_wc"
svn update "$svn_wc"
mkdir -p "$svn_wc/$dist_version"
cp dist/* "$svn_wc/$dist_version/"
svn add --force "$svn_wc/$dist_version"
svn status "$svn_wc/$dist_version"
svn commit "$svn_wc/$dist_version" -m "Prepare Apache Fory ${rc_tag}"
test -z "$(svn status "$svn_wc/$dist_version")"
svn log -l 1 "$svn_wc/$dist_version"
svn ls "https://dist.apache.org/repos/dist/dev/fory/${dist_version}/"
Inspect svn status before committing. The upload is complete only after svn commit returns a revision and the remote svn ls shows the three release files; local A status alone is not an upload.
Read the vote email template and produce a complete,
copyable email. Replace every placeholder from verified output, confirm that no
${...} placeholder remains, use an explicit UTC deadline at least 72 hours
after sending, and do not send the email unless requested.
Before sending, verify the tag and commit, all URLs, both closed Maven staging repositories, the remote Subversion files, PGP fingerprint, and UTC deadline against the actual release outputs.
An RC identifies the release content under review, not a CI attempt. Inspect the failed step and its logs before deciding how to recover. Network timeouts, dependency-download failures, runner failures, and interrupted status checks do not by themselves invalidate an unchanged candidate.
Without a substantive release change, keep the same release commit and RC tag
and resume only the failed or incomplete steps. Preserve verified Maven staging
repositories and source artifacts; do not rebuild or republish successful
artifacts merely because an unrelated CI job failed. Before retrying a push,
upload, Nexus action, or SVN commit, inspect remote state because an interrupted
request may already have succeeded. Use the Nexus reference's --verify-only
path for repositories that are already closed.
Create a higher RC only when a substantive fix changes the release content, such as source, dependencies, build inputs, or packaging. Commit the actual fix before tagging the replacement; do not create an empty commit or a second RC at the same unchanged release commit just to retry infrastructure. Keep the previous tag immutable and verify the replacement artifacts through the release workflow. An unresolved code or artifact defect still blocks the vote.
Before creating a new tag, stop if the Git tree is dirty, the tag already exists, or its target would differ from the release commit. A failed JVM publication, workflow, artifact check, or SVN operation pauses the dependent step until it is diagnosed and recovered under Release retries; failure alone does not require a higher RC. Before sending the vote, require both staging repositories to be closed and public, the Subversion commit to be remotely visible, and the tag workflows to be successful unless the release manager explicitly waived monitoring.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Apache Foryの複数言語実装をプロファイルとベンチマークで分析し、シリアライズやデシリアライズの性能低下を特定して改善するスキルです。
Apache Foryの各言語や文書にあるバージョン表記を、リリース版と次期開発版に分けて一括更新し、ずれや更新漏れを確認するスキルです。