Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yottahmd
Copy link
Collaborator

@yottahmd yottahmd commented Oct 16, 2025

Description

  • Fixed an issue with container initialization that occurred when the registryAuths field was present.
  • Updated dag.json.schema to include the missing registryAuths field.

Related Issue

#1327 and #1261

Checklist

Before submitting this PR, please ensure:

  • Tests pass (make test)
  • Linter passes (make lint)
  • New code includes tests
  • Documentation updated if applicable

Additional Notes

@Copilot Copilot AI review requested due to automatic review settings October 16, 2025 14:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a container initialization bug related to the registryAuths field and updates the JSON schema to include this missing field.

  • Adds comprehensive registryAuths field definition to the DAG schema
  • Fixes context key type definitions to use proper struct types instead of type aliases
  • Updates container client initialization to include the authManager field

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
schemas/dag.schema.json Adds complete registryAuths field schema with flexible authentication options
internal/runtime/builtin/ssh/ssh.go Fixes context key type definition for SSH client
internal/runtime/builtin/docker/executor.go Fixes context key types and renames function for consistency
internal/runtime/builtin/docker/client.go Adds missing authManager field to client initialization and clears entrypoint when command is set

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@yottahmd yottahmd changed the title Fix container initialization bug with registryAuths field fix(docker): container initialization bug with registryAuths field Oct 16, 2025
@yottahmd yottahmd merged commit a010632 into main Oct 16, 2025
4 checks passed
@yottahmd yottahmd deleted the 1327-registry-auth branch October 16, 2025 14:51
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.75%. Comparing base (9b8cdcc) to head (0b9a263).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/runtime/builtin/docker/client.go 0.00% 9 Missing ⚠️
internal/runtime/builtin/docker/executor.go 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1330      +/-   ##
==========================================
- Coverage   60.81%   60.75%   -0.07%     
==========================================
  Files         159      159              
  Lines       22814    22822       +8     
==========================================
- Hits        13874    13865       -9     
- Misses       7816     7833      +17     
  Partials     1124     1124              
Files with missing lines Coverage Δ
internal/runtime/builtin/ssh/ssh.go 32.00% <ø> (ø)
internal/runtime/builtin/docker/executor.go 2.27% <0.00%> (ø)
internal/runtime/builtin/docker/client.go 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b8cdcc...0b9a263. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant