Skip to content

[CHORE](ci) Remove legacy CodeArtifact publish step - #768

Merged
John McCall (lowlydba) merged 5 commits into
mainfrom
lowlydba-remove-legacy-codeartifact-publish
Oct 1, 2026
Merged

John McCall (lowlydba) merged 5 commits into
mainfrom
lowlydba-remove-legacy-codeartifact-publish

Conversation

@lowlydba

@lowlydba John McCall (lowlydba) commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Removes the legacy CodeArtifact publish leg from main-publish.yaml so internal builds publish to the MCD account only. The pypi consumer cutover (OvertureMaps/ops-team#520) is complete, so the dual-publish groundwork from OvertureMaps/ops-team#466 is no longer needed.

Beyond the publish-legacy job itself, ca-legacy's CodeArtifact credentials also fed the compute-version step's index lookup. Removing ca-legacy outright would have broken version computation, so this replaces it with an equivalent ca-mcd step: the existing dedicated MCD read-only role for the PR smoke test, and the existing MCD publish role for real pushes (same pattern already proven in #747).

Closes #767

Reference

  1. OvertureMaps/ops-team#562
  2. OvertureMaps/ops-team#520
  3. [CHORE](ci) Point version-check workflow at MCD CodeArtifact #747

Testing

main-publish.yaml also runs read-only on any PR that touches itself, as a smoke test for this exact wiring. On this PR, Detect affected packages (test), every per-package Build <package> (test) job, and Are we good? all passed, confirming compute-version resolves correctly against the new ca-mcd step.

Checklist

  1. Add relevant examples.
  2. Add relevant counterexamples.
  3. Update any counterexamples that became obsolete. For example, if a counterexample uses property A but is not intended to test property A's validity, and you made a schema change that invalidates property A in that counterexample, fix the counterexample to align it with your schema change.
  4. Update in-schema documentation using plain English written in complete sentences, if an update is required.
  5. Update Docusaurus documentation, if an update is required.
  6. Review change with Overture technical writer to ensure any advanced documentation needs will be taken care of, unless the change is trivial and would not affect the documentation.

Note

This is a CI-only workflow change with no schema content, so the checklist above doesn't apply.

Documentation website

Docs preview for this PR.

Consumers have cut over to MCD (OvertureMaps/ops-team#520), so the legacy
publish-legacy job and ca-legacy credentials step in main-publish.yaml are
no longer needed. The compute-version step now reads its index_url from a
new ca-mcd credentials step (MCD read-only role for PR smoke tests,
publish role for real pushes), and are-we-good's needs list drops
publish-legacy.

Closes #767

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Signed-off-by: John McCall <john@overturemaps.org>
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

🗺️ Schema reference docs preview is live!

🌍 Preview https://staging.overturemaps.org/schema/pr/768/schema/index.html
🕐 Updated Oct 01, 2026 14:31 UTC
📝 Commit b811b8c
🔧 env SCHEMA_PREVIEW true

Note

♻️ This preview updates automatically with each push to this PR.

@lowlydba
John McCall (lowlydba) marked this pull request as ready for review September 30, 2026 20:18
@lowlydba
John McCall (lowlydba) requested a review from a team as a code owner September 30, 2026 20:18
@lowlydba
John McCall (lowlydba) requested review from Alex Iannicelli (atiannicelli), Seth Fitzsimmons (sethfitz) and Victor Schappert (vcschapp) and a balanced review from Copilot and removed request for a team and Copilot September 30, 2026 20:18
Consumers have cut over to MCD (OvertureMaps/ops-team#520), so the legacy
publish-legacy job and ca-legacy credentials step in main-publish.yaml are
no longer needed. The compute-version step now reads its index_url from a
new ca-mcd credentials step (MCD read-only role for PR smoke tests,
publish role for real pushes), and are-we-good's needs list drops
publish-legacy.

Closes #767

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Signed-off-by: John McCall <john@overturemaps.org>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused workflow change matches the stated cutover and its MCD smoke-test jobs passed.

Review effort: Balanced
Findings: None

What changed in this PR

Removes legacy CodeArtifact publishing while preserving version computation against MCD.

Changes:

  • Replaces legacy credentials with MCD credentials.
  • Removes the legacy publishing job.
  • Updates the aggregate publish check dependency.
File Description
.github/​workflows/​main-publish.yaml Publishes internal builds exclusively to MCD.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread .github/workflows/main-publish.yaml Outdated
…-remove-legacy-codeartifact-publish

Signed-off-by: John McCall <john@overturemaps.org>
…y-codeartifact-publish

# Conflicts:
#	.github/workflows/main-publish.yaml

Signed-off-by: John McCall <john@overturemaps.org>
Drops the ops-team#520 cutover detail from the header comment per
review feedback -- this will be revisited again in Phase 4, so keep the
comment WIP-focused rather than documenting now-past state.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Signed-off-by: John McCall <john@overturemaps.org>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean

@lowlydba
John McCall (lowlydba) merged commit 05d6201 into main Oct 1, 2026
43 checks passed
@lowlydba
John McCall (lowlydba) deleted the lowlydba-remove-legacy-codeartifact-publish branch October 1, 2026 17:06
John McCall (lowlydba) added a commit to lowlysre/lowly-writing-framework that referenced this pull request Oct 1, 2026
…update (#27)

Merges the README's Install and Update sections under one `## Install
and update` heading (Contents and the `docs/tutorial.md` link point at
`#install-and-update`), and tightens the comment-convention rule in
`references/docs-and-comments.md`.

## Why
OvertureMaps/schema#768 had an agent rewrite a header comment that
already cited `ops-team#466`. It swapped in `ops-team#562` and added
"the legacy account's publish leg was removed once consumers cut over",
which a reviewer flagged as documenting previous state. The "match the
existing convention" bullet read as permission to copy the old comment's
pattern.

- The bullet now covers form only, and says a comment that breaks the
other rules isn't precedent
- A new bullet covers comments on removed or replaced code: describe the
new behavior, drop the old ref
- `evals/code-comment-removal-existing-ref.json` covers the
removal-with-existing-ref case, which `code-comment-present-tense.json`
doesn't

### Token trims
- `SKILL.md`'s five separate "trigger" bullets are merged into one list
with the same triggers and tool names
- A few clauses in `docs-and-comments.md` and `body-writing.md` are
shortened

## Testing
Ran `code-comment-removal-existing-ref.json` by hand against this
checkout with a fresh agent: it wrote `# Publishes to the registry.`,
which meets all four `expected_behavior` items. The other evals weren't
re-run; the trims move wording only and no rule text.

`npm run tokens`: activation ~2,770, on demand ~20,060.

<!--:robot:-->

---------

Signed-off-by: John McCall <john@overturemaps.org>

This branch was successfully deployed

1 active deployment
staging — b811b8cc Deployed Oct 1, 2026 by lowlydba via Deploy #589
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation 🦾 Change/enhance automation of a process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE] Remove legacy CodeArtifact publish step from schema

4 participants