# Pathfixing question

**URL:** <https://community.codecov.com/t/pathfixing-question/3127>\
**Category:** Support\
**Created:** [August 16, 2021, 11:50am UTC](https://community.codecov.com/t/pathfixing-question/3127 "2021-08-16T11:50:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![falkowich](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/falkowich/32/1974_2.png) [@falkowich](https://community.codecov.com/u/falkowich)\
**Post date:** [August 16, 2021, 11:50am UTC](https://community.codecov.com/t/pathfixing-question/3127/1 "2021-08-16T11:50:29Z")

</div>

Hi,

Sorry if I’m dense here 🙂

I am having trouble to see the reports and files linked to my github repo.

In my coverage.xml the path seems to be.

```auto
<sources>
	<source>/usr/src/app</source>
</sources>
<packages>
	<package name="app" line-rate="0.6226" branch-rate="0" complexity="0">
		<classes>
			<class name=" __init__.py" filename="app/ __init__.py" complexity="0" line-rate="1" branch-rate="1">
				<methods/>
				<lines/>
			</class>
			<class name="config.py" filename="app/config.py" complexity="0" line-rate="0.875" branch-rate="1">
				<methods/>
				<lines>

```

_etc_

But at github the root is:

```auto
project/<source>

```

I tried (a lot of different settings), but from the docs I thought that this was correct.

```auto
fixes:
- "project/::" # move path e.g., "before/path" => "after/path"

```

Is there any way to debug this and see what’s missing.

(the repo in question is [GitHub - falkowich/sorta-simple-fastapi-template: My try to create a working boilerplate for myself when learning FastAPI.](https://github.com/falkowich/sorta-simple-fastapi-template))

[edit]  
I run codecov manually for this tests  
[/edit]

–  
Regards Falk

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 18, 2021, 4:53am UTC](https://community.codecov.com/t/pathfixing-question/3127/2 "2021-08-18T04:53:33Z")

</div>

@falkowich, I don’t actually think you need to do path fixing. The issue with your latest reports is actually around expiration. Would you try adding

```auto
codecov:
  max_report_age: off

```

If you think path fixing is still the solution, what are you seeing that isn’t quite matching up?

---

<div class="post-metadata">

**Author:** ![falkowich](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/falkowich/32/1974_2.png) [@falkowich](https://community.codecov.com/u/falkowich)\
**Post date:** [August 18, 2021, 9:19am UTC](https://community.codecov.com/t/pathfixing-question/3127/3 "2021-08-18T09:19:58Z")

</div>

Hi,

I am absolutely not sure of this 🙂

But it seems that codecov and github isn’t really agreeing where the files are located.

Here is a gif to show what I mean.

![Peek 2021-08-18 11-16](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/a/a5a2e83d3fc1f5a84825b61b662cc069fda7b931.gif)

Does it make any sense?

–  
Regards Falk

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 18, 2021, 4:39pm UTC](https://community.codecov.com/t/pathfixing-question/3127/4 "2021-08-18T16:39:03Z")

</div>

@falkowich definitely, I saw that too. But it looks like things SHOULD be able to work without path fixing. And adding `project/::` is actually messing things up. Path fixing is complicated, so I could be totally wrong, but I would remove it first. Let me know if that still isn’t working for you.

---

<div class="post-metadata">

**Author:** ![falkowich](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/falkowich/32/1974_2.png) [@falkowich](https://community.codecov.com/u/falkowich)\
**Post date:** [August 18, 2021, 7:46pm UTC](https://community.codecov.com/t/pathfixing-question/3127/5 "2021-08-18T19:46:41Z")

</div>

@tom, I removed the “fixing” in codecov.yml.  
But sadly still the same problem for me.

Any ideas?

–  
Regards Falk

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 18, 2021, 8:12pm UTC](https://community.codecov.com/t/pathfixing-question/3127/6 "2021-08-18T20:12:26Z")

</div>

@falkowich, sorry you will also need to add

```auto
codecov:
  max_report_age: off

```

to the codecov.yml

---

<div class="post-metadata">

**Author:** ![falkowich](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/falkowich/32/1974_2.png) [@falkowich](https://community.codecov.com/u/falkowich)\
**Post date:** [August 19, 2021, 5:33pm UTC](https://community.codecov.com/t/pathfixing-question/3127/7 "2021-08-19T17:33:38Z")

</div>

@tom, That is now done.  
But no cigar 🙂

–  
Regards Falk

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 25, 2021, 4:11am UTC](https://community.codecov.com/t/pathfixing-question/3127/8 "2021-08-25T04:11:47Z")

</div>

@falkowich this is strange, I just tried on my side and it is working. I will say there is a bug in the dashboard on some folders that are being interpreted as files, but I can click into the majority of files. Can you show me another gif of this happening to you?

---

<div class="post-metadata">

**Author:** ![falkowich](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/falkowich/32/1974_2.png) [@falkowich](https://community.codecov.com/u/falkowich)\
**Post date:** [August 27, 2021, 5:34pm UTC](https://community.codecov.com/t/pathfixing-question/3127/9 "2021-08-27T17:34:37Z")

</div>

@tom

wh00t, suddenly everything seems to work! 😃  
Dunno what have changed, but I’m happy with this outcome 🙂

–  
Regards Falk
