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

Error: Failed to comment on pull request #67

Open
msche opened this issue Feb 14, 2025 · 2 comments
Open

Error: Failed to comment on pull request #67

msche opened this issue Feb 14, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@msche
Copy link

msche commented Feb 14, 2025

When I run the code analyze on our code base I get the following output:

Run brenoepics/vmd-action@v0.0.7
  with:
    github-token: ***
    entryPoint: ./apps/manager-vue3
    version: latest
    skipInstall: false
    skipBots: true
    commentsEnabled: true
    runArgs: --group=file
    srcDir: src/
    deleteOldComments: false
    relativeMode: true
Using entry point: ./apps/manager-vue3
Install Vue Mess Detector with npm
  Installing vue-mess-detector@latest with npm
Run Vue Mess Detector
  Running vue-mess-detector with npx
Upload Vue Mess Detector Report
  Comparing analysis results with base branch (main)...
  Artifact name is valid!
  Root directory input is valid!
  Beginning upload of artifact content to blob storage
  Uploaded bytes [2](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332765818/job/37240712842#step:6:2)12045
  Finished uploading artifact content to blob storage!
  SHA256 hash of uploaded artifact zip is 1ff0216fe[3](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332765818/job/37240712842#step:6:3)fbb48d304004d4bec5a5731[4](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332765818/job/37240712842#step:6:4)cff2aec1af1faf661788f25c62a458
  Finalizing artifact upload
  Artifact vmd-report-4969988[5](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332765818/job/37240712842#step:6:5)-1739548632518.zip successfully finalized. Artifact ID 2593554433
  Error: Failed to comment on pull request
Vue Mess Detector has finished running!
Error: $GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 1[8](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332765818/job/37240712842#step:6:8)02k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary

When I run the code analyzing on a single file it is successful

Run brenoepics/vmd-action@v0.0.7
  with:
    entryPoint: ./apps/manager-vue3
    srcDir: ./src/App.vue
    github-token: ***
    version: latest
    skipInstall: false
    skipBots: true
    commentsEnabled: true
    runArgs: --group=file
    deleteOldComments: false
    relativeMode: true
Using entry point: ./apps/manager-vue3
Install Vue Mess Detector with npm
  Installing vue-mess-detector@latest with npm
Run Vue Mess Detector
Upload Vue Mess Detector Report
  Comparing analysis results with base branch (main)...
  Artifact name is valid!
  Root directory input is valid!
  Beginning upload of artifact content to blob storage
  Uploaded bytes 1537
  Finished uploading artifact content to blob storage!
  SHA[2](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332923212/job/37241248814#step:6:2)56 hash of uploaded artifact zip is aebdcea[3](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332923212/job/37241248814#step:6:3)a7b35b8dcd292644781171d1c09c038ef9dd97e6c192f[4](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332923212/job/37241248814#step:6:4)dc7544df98
  Finalizing artifact upload
  Artifact vmd-report-[5](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332923212/job/37241248814#step:6:5)19595-1739549184651.zip successfully finalized. Artifact ID 2593[6](https://github.com/S1moneBV/S1moneApplication/actions/runs/13332923212/job/37241248814#step:6:6)09340
Vue Mess Detector has finished running!

In the pull request I'm testing with there are no vue code changes so that might be important.

Personally I have the hunch that the relativeMode is not. working and that due to that the number of comments become too big.

@brenoepics
Copy link
Owner

Hi, thanks for reporting, I'm aware that relative mode doesn't work in some cases and I'll take a look at the upload size.

@brenoepics brenoepics added the bug Something isn't working label Feb 14, 2025
@msche
Copy link
Author

msche commented Feb 15, 2025

Thanks, If you need any more information or help let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants