mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
* ci: add optional Graphify code-graph workflows Build a code knowledge graph with the open-source Graphify CLI in code-only mode (tree-sitter, no API key or secret) on a daily schedule, cache graphify-out/ between runs, and upload graph.json.gz, graph.html and GRAPH_REPORT.md as a workflow artifact. Attach the same bundle to published releases. graph.json is about 150 MiB, above GitHub's 100 MiB file limit, so the graph is not committed; graphify-out/ is ignored. * ci: keep the Graphify cache bounded and align the release build - Set GRAPHIFY_NO_BACKUP=1. Hub-named community labels make graphify treat the graph as curated and snapshot it into graphify-out/<date>/ before every overwrite, without pruning; the cache would grow by ~100 MiB a day. The cache path also excludes graphify-out/20*. - Cluster once on a cold build (extract --no-cluster, then cluster-only), and label the release graph the same way as the scheduled one instead of "Community N" placeholders. - Release builds restore the default branch's cache (restore only) and run an incremental update instead of a cold extract. - Add workflow_dispatch with a tag input to graph-release.yml for releases created with GITHUB_TOKEN, which do not trigger the release event. - Use actions/cache@v6 and actions/setup-python@v7 like the rest of the repository; drop setup-uv and the full-history checkout. - Bundle graph.html only when graphify generated it. * ci: graph: build from a full extraction on every run graphify update re-extracts only the files that changed since the cached build. Go function ids include the file stem, so after a function moves to another file, callers in unchanged files keep edges to the old id, and the cache chain never resets that drift. A cold code-only build takes about five minutes on a hosted runner, so drop the cache and always extract. GRAPHIFY_NO_BACKUP only mattered for the cached graphify-out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: graph: attach the release bundle from a separate write job graph-release.yml ran graphify and its dependencies with a contents: write token persisted in the checkout's git config. Build the release bundle in the read-only graph job and upload it from a job that only downloads the artifact. The release asset is now the same bundle as the daily artifact, graph-health.json included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: graph: do not persist the checkout token Nothing after the checkout talks to a git remote, so keep the token out of .git/config where graphify could read it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: graph: keep artifact and asset names valid for any tag A dispatched tag such as release/v4.0 made an artifact name with a slash, which upload-artifact rejects. Name the artifact after the commit again and replace slashes in the release asset name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: graph: never call an LLM cluster-only auto-detects a labeling backend from API-key variables and the claude CLI; locally it picked up the claude CLI. Set GRAPHIFY_BACKEND=none so the build stays code-only even if a runner image provides one; communities keep hub-node names. --------- Co-authored-by: Konstantin Lebedev <whitefox@mayflower.work> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
157 lines
3.0 KiB
Plaintext
157 lines
3.0 KiB
Plaintext
.goxc*
|
|
vendor
|
|
tags
|
|
*.swp
|
|
.claude/
|
|
### OSX template
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
# Icon must end with two \r
|
|
Icon
|
|
|
|
# Thumbnails
|
|
._*
|
|
|
|
# Files that might appear in the root of a volume
|
|
.DocumentRevisions-V100
|
|
.fseventsd
|
|
.Spotlight-V100
|
|
.TemporaryItems
|
|
.Trashes
|
|
.VolumeIcon.icns
|
|
|
|
# Directories potentially created on remote AFP share
|
|
.AppleDB
|
|
.AppleDesktop
|
|
Network Trash Folder
|
|
Temporary Items
|
|
.apdisk
|
|
### JetBrains template
|
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
|
|
|
|
*.iml
|
|
|
|
## Directory-based project format:
|
|
.idea/
|
|
# if you remove the above rule, at least ignore the following:
|
|
|
|
# User-specific stuff:
|
|
# .idea/workspace.xml
|
|
# .idea/tasks.xml
|
|
# .idea/dictionaries
|
|
|
|
# Sensitive or high-churn files:
|
|
# .idea/dataSources.ids
|
|
# .idea/dataSources.xml
|
|
# .idea/sqlDataSources.xml
|
|
# .idea/dynamic.xml
|
|
# .idea/uiDesigner.xml
|
|
|
|
# Gradle:
|
|
# .idea/gradle.xml
|
|
# .idea/libraries
|
|
|
|
# Mongo Explorer plugin:
|
|
# .idea/mongoSettings.xml
|
|
|
|
## vscode
|
|
.vscode
|
|
## File-based project format:
|
|
*.ipr
|
|
*.iws
|
|
|
|
## Plugin-specific files:
|
|
|
|
# IntelliJ
|
|
/out/
|
|
|
|
# mpeltonen/sbt-idea plugin
|
|
.idea_modules/
|
|
|
|
# JIRA plugin
|
|
atlassian-ide-plugin.xml
|
|
|
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
com_crashlytics_export_strings.xml
|
|
crashlytics.properties
|
|
crashlytics-build.properties
|
|
|
|
workspace/
|
|
|
|
test_data
|
|
build
|
|
target
|
|
*.class
|
|
other/java/hdfs/dependency-reduced-pom.xml
|
|
|
|
# binary file
|
|
weed/weed
|
|
docker/weed
|
|
|
|
# test generated files
|
|
weed/*/*.jpg
|
|
docker/weed_sub
|
|
docker/weed_pub
|
|
weed/mq/schema/example.parquet
|
|
docker/agent_sub_record
|
|
test/mq/bin/consumer
|
|
test/mq/bin/producer
|
|
test/producer
|
|
bin/weed
|
|
weed_binary
|
|
/test/s3/copying/filerldb2
|
|
/filerldb2
|
|
/test/s3/retention/test-volume-data
|
|
test/s3/cors/weed-test.log
|
|
test/s3/cors/weed-server.pid
|
|
/test/s3/cors/test-volume-data
|
|
test/s3/cors/cors.test
|
|
/test/s3/retention/filerldb2
|
|
test/s3/retention/weed-server.pid
|
|
test/s3/retention/weed-test.log
|
|
/test/s3/versioning/test-volume-data
|
|
test/s3/versioning/weed-test.log
|
|
/docker/admin_integration/data
|
|
docker/agent_pub_record
|
|
docker/admin_integration/weed-local
|
|
/test/s3/encryption/filerldb2
|
|
/test/s3/sse/filerldb2
|
|
test/s3/sse/weed-test.log
|
|
ADVANCED_IAM_DEVELOPMENT_PLAN.md
|
|
/test/s3/iam/test-volume-data
|
|
*.log
|
|
weed-iam
|
|
test/kafka/kafka-client-loadtest/weed-linux-arm64
|
|
/test/tus/filerldb2
|
|
coverage.out
|
|
/test/s3/remote_cache/test-primary-data
|
|
/test/s3/remote_cache/test-remote-data
|
|
test/s3/remote_cache/remote-server.pid
|
|
test/s3/remote_cache/primary-server.pid
|
|
/test/erasure_coding/filerldb2
|
|
/test/s3/cors/test-mini-data
|
|
/test/s3/filer_group/test-volume-data
|
|
|
|
# ID and PID files
|
|
*.id
|
|
*.pid
|
|
test/s3/iam/.test_env
|
|
/test/erasure_coding/admin_dockertest/tmp
|
|
/test/erasure_coding/admin_dockertest/task_logs
|
|
weed_bin
|
|
telemetry/server/telemetry-server
|
|
.aider*
|
|
/seaweed-volume/docs
|
|
__pycache__/
|
|
/test/s3vectors/weed
|
|
/test/s3vectors/weed-vector
|
|
/test/s3vectors/weed-vector-cli
|
|
/test/s3vectors/weed-worker
|
|
/test/s3vectors/weed-volume
|
|
.pytest_cache/
|
|
|
|
# Graphify code graph (generated by .github/workflows/graph.yml)
|
|
graphify-out/
|