Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Set up AppMap #16

Closed
wants to merge 8 commits into from
Closed

ci: Set up AppMap #16

wants to merge 8 commits into from

Conversation

kgilpin
Copy link
Contributor

@kgilpin kgilpin commented Oct 30, 2023

This pull request was created by the AppMap CI setup assistant.

For manual instructions, continue with https://getappmap.com/github/install_app

Steps to merge:

  • Review the automated commit which adds the AppMap language agent and appmap.yml.
  • Review the "AppMap configuration report" generated by the workflow run.

@github-actions
Copy link

AppMap configuration report

Success! Your project has been successfully configured to record AppMaps when
you run your tests.

Continue with AppMap Setup >>


View details

AppMap data sources

In GitHub Actions and other CI systems, AppMaps are created by recording
test cases. Here's how the AppMaps in this project were created:

Number of AppMaps Type of recording
85 minitest

Code profile

Your appmap.yml configuration file specifies all the code that you want AppMap to instrument and record.
By default, sub-modules of any requested code are recorded as well. In this project, the packages specified
in appmap.yml are:

- path: app
- path: lib

By applying this configuration to your ruby project, AppMap has recorded the
following packages and modules:

app app/helpers app/models

Web service API profile

When you record AppMaps that include HTTP server requests, AppMap automatically generates OpenAPI definitions
based on the observed data.

69% of the AppMaps in this project contain at least one HTTP server request.

36% of the AppMaps in this project contain more than one HTTP server request.

Here's a summary of the web service routes that are provided by this project:

/ /about /account_activations/{id} /contact /help /login /logout /microposts /microposts/{id} /password_resets /password_resets/new /password_resets/{id} /relationships /relationships/{id} /signup /users /users/{id}

And here are the different content types served by the API:

Response Content Type Number of Routes
text/html 39
text/vnd.turbo-stream.html 2

As you change your code and tests, AppMap will automatically update the OpenAPI definitions.
You'll see a summary of the REST API changes in each pull request.

SQL profile

When your code makes a SQL query, AppMap records the SQL query in detail. It even parses the queries
to figure out which tables your app is using, and how it's using them.

78% of the AppMaps in this project contain at least one SQL query.

75% of the AppMaps in this project contain more than one SQL query.

Here are the SQL tables that are present in the observed queries:

active_storage_attachments microposts relationships sqlite_master sqlite_temp_master users

Learn more

To learn more about AppMap, visit
appmap.io/docs.

@github-actions
Copy link

AppMap pull request analysis

Summary Status
Failed tests ✅ All tests passed
API changes 0️⃣ No API changes
Security flaws ✅ None detected
Performance problems ✅ None detected
Code anti-patterns ✅ None detected
New AppMaps 0️⃣ No new AppMaps

@kgilpin kgilpin closed this Oct 30, 2023
@kgilpin kgilpin deleted the appmap-ci-test-4 branch October 30, 2023 16:04
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