Skip to content

Prefer source token for artifact selector resolution#45

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/publish-selector-source-token
May 28, 2026
Merged

Prefer source token for artifact selector resolution#45
shiny-code-bot merged 1 commit into
mainfrom
fix/publish-selector-source-token

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • Prefer the runtime/publish GITHUB_TOKEN for artifact selector GitHub ref resolution.
  • Avoid using GHCR_TOKEN as a source-repo credential when resolving private addon selectors.
  • Add regression coverage for source-token precedence over package-token fallback.

Verification

  • uv run python -m unittest tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_uses_environment_token_fallback tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_prefers_runtime_github_token tests.test_runtime.RuntimeCommandTests.test_native_runtime_publish_resolves_addon_selectors_from_artifact_inputs_manifest
  • uv run ruff check --diff odoo_devkit/local_runtime.py tests/test_runtime.py
  • uv run ruff check odoo_devkit/local_runtime.py tests/test_runtime.py

@shiny-code-bot shiny-code-bot merged commit d85d062 into main May 28, 2026
4 checks passed
@shiny-code-bot shiny-code-bot deleted the fix/publish-selector-source-token branch May 28, 2026 22:53
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.

2 participants