From 6ce5d234347b7148f9e05849102b747c105e77fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 17:12:38 +0000 Subject: [PATCH] docs(site): add codemod 0005 to file layout in codemods reference The 'Adding a codemod' file layout tree still listed only 0001-0004 even though 0005_drop_build_attachment_allowed_build_ids.rs was added to the source tree (and already appeared in the Registered codemods table). The contributor contract says the layout tree should mirror the actual directory, so a new contributor counting files would see a mismatch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- site/src/content/docs/reference/codemods.mdx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/site/src/content/docs/reference/codemods.mdx b/site/src/content/docs/reference/codemods.mdx index 9ca6356f..2add28f0 100644 --- a/site/src/content/docs/reference/codemods.mdx +++ b/site/src/content/docs/reference/codemods.mdx @@ -119,12 +119,13 @@ Codemods live in `src/compile/codemods/`: ```text src/compile/codemods/ -├── mod.rs # Framework + CODEMODS registry -├── helpers.rs # take_key, insert_no_overwrite, rename_key, ConflictPolicy -├── 0001_repos_unified.rs # repositories: + checkout: -> unified repos: -├── 0002_pool_object_form.rs # pool: -> pool object form (name/vmImage) -├── 0003_flatten_work_item_config.rs # safe-outputs.*.work-item: -> flat fields -└── 0004_legacy_path_markers.rs # {{ workspace }}/{{ working_directory }}/{{ trigger_repo_directory }} -> ADO path +├── mod.rs # Framework + CODEMODS registry +├── helpers.rs # take_key, insert_no_overwrite, rename_key, ConflictPolicy +├── 0001_repos_unified.rs # repositories: + checkout: -> unified repos: +├── 0002_pool_object_form.rs # pool: -> pool object form (name/vmImage) +├── 0003_flatten_work_item_config.rs # safe-outputs.*.work-item: -> flat fields +├── 0004_legacy_path_markers.rs # {{ workspace }}/{{ working_directory }}/{{ trigger_repo_directory }} -> ADO path +└── 0005_drop_build_attachment_allowed_build_ids.rs # safe-outputs.upload-build-attachment.allowed-build-ids: -> removed ``` The filename prefix is a zero-padded sequence number (``). It