Skip to content

feat: spike - mounting custom libraries#3074

Open
mcmcgrath13 wants to merge 6 commits intomainfrom
mcm/spike-custom-py-lib
Open

feat: spike - mounting custom libraries#3074
mcmcgrath13 wants to merge 6 commits intomainfrom
mcm/spike-custom-py-lib

Conversation

@mcmcgrath13
Copy link
Contributor

@mcmcgrath13 mcmcgrath13 commented Mar 10, 2026

Description

This PR shows that we are able to mount a custom library into the expected location and run that library when the spec indicates that is_builtin: False

Notes:

  • Some of the docker/docker compose changes need to get spun out and merged to main as this PR isn't intended for merge
  • This is mounting one file, but a directory is also fine

Tickets

@mcmcgrath13 mcmcgrath13 requested a review from a team as a code owner March 10, 2026 15:05
@mcmcgrath13 mcmcgrath13 requested review from JordanGuinn and krista-skylight and removed request for a team March 10, 2026 15:05
Copy link

@krista-skylight krista-skylight left a comment

Choose a reason for hiding this comment

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

Left a non-blocking comment but something I think we should revisit down the line!

mcmcgrath13 added a commit that referenced this pull request Mar 12, 2026
## Description

In completing #3074 , I found some of the container set up wasn't
actually working fully. This PR fixes that:
* Add the mssql driver dependencies to the docker container
* Use host networking for the integration test container run so both the
tests directly and the repot-execution container can talk to the DB
using the same `localhost` connection string
* Add the `DATABASE_CONN_STRING` env var to the base compose and sample
env
* Set up the docker compose in integration tests to use the sample env
files
* Have the integration docker compose use the `--build` flag when
setting up containers
* Add an integration test to prove it works
@mcmcgrath13
Copy link
Contributor Author

Re-requesting review as now I'd like to merge this PR for real

result = json.loads(response.read())
assert (
result['description']
result['header']
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not specific to this changeset, but lingering bug from PR interaction effect already on main

@sonarqubecloud
Copy link

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.

3 participants